LLVM and OpenC++

Hi OpenC++ developers,

  IMHO, the LLVM project (http://llvm.cs.uiuc.edu/) could give
  a second breath to OpenC++ project. Indeed, the implementations
  of reflection become quite restricted if the just-in-time (JIT)
  compiling is not available.

  Am i wrong?

Hi OpenC++ developers,

  IMHO, the LLVM project (http://llvm.cs.uiuc.edu/) could give
  a second breath to OpenC++ project. Indeed, the implementations
  of reflection become quite restricted if the just-in-time (JIT)
  compiling is not available.

  Am i wrong?

Hard to say. What is "second breath"? Are you proposing a solution that
integrates OpenC++ with LLVM? Please elaborate.

BR
Grzegorz

Hi Grzegorz,

Hard to say. What is "second breath"? Are you proposing a solution that
integrates OpenC++ with LLVM? Please elaborate.

let's separate "what" and "how".

I do not speak abot "how" right now, because it is rather
a second step (if any).

I do believe that reflections without interpreter or JITing
can't be any powerfull. When it is clear, we could speak
about "how".

It's a pity, but OpenC++ guys are not replying...

Hm, maybe you did not notice, Grzegorz is currently the main developer of
OpenC++ :slight_smile:

If you don't give more details about what you're thinking about, as
Grzegorz has asked already, you're unlinkely to get any feedback, as you're
probably still the only one knowing the details...

Regards,

Hi all,

Hm, maybe you did not notice, Grzegorz is currently the main developer of
OpenC++ :slight_smile:

oops, sorry, I thought OpenC++ originates from Japan team, but name
Grzegorz sounds like Polish for me :slight_smile:

If you don't give more details about what you're thinking about, as
Grzegorz has asked already, you're unlinkely to get any feedback, as you're
probably still the only one knowing the details...

Do you mean that we should not discuss why JITing is
important for Computational Reflection and OpenC++ in
particular? It would be quite logical first to get sure
that OpenC++ team is motivated to reach this goal
and only then discuss how to do it. I expected to have
this discussion in openc++ maillist.

Anyway, there are two general ways how to do it.

1. via C++:

   the OpenC++ sources are translated into C++
   (in run-time too) and then the C++ front-end
   compiler from LLVM team is involved to
   compile C++ code into LLVM assembler or a byte code.

2. via LLVM assembler or byte-code:

   the OpenC++ sources are translated into LLVM
   assembler. This work is expected to be quite
   similar to the job done by Chris team over gcc.

maybe there are other smart ways how to connect
Environment, Ptree and other OpenC++ entities to
LLVM, but at least two ways above seem to be
technically feasible.

any comments?

P.S. sorry if you receive draft of this mail as well.
     It was much more in details though :slight_smile: