Re: Robo VM

2013-08-02 Thread Niklas Therning
I'm not very familiar with how RubyMotion works but I guess it's similar. RoboVM takes Java bytecode and compiles it into machine code ahead of time. For each .class file an object file is produced. The object files are linked together with a runtime library into an executable. RoboVM uses the Boeh

Re: Robo VM

2013-07-31 Thread PublicFarley
Niklas, RoboVM looks incredibly cool. I'm definitely going to fool around with it to see if I can get some Clojure code up and running on iOS. This could become RubyMotion for JVM language devs! Have you looked at RubyMotion? Is your approach conceptually similar? How do you handle GC? Via an A

Re: Robo VM

2013-07-29 Thread Colin Fleming
One option for people looking for an alternative VM is Avian (previous thread here), which runs Clojure and supports native continuations and TCO. The maintainer, Joel Dice, is an all around great guy and does a fantastic job on the

Re: Robo VM

2013-07-29 Thread Niklas Therning
Never I'm afraid. This is by design. RoboVM targets iOS which doesn't allow executable memory which means JITing is impossible. So for speed RoboVM compiles Java bytecode AOT to machine code. We could have mixed AOT compiled code with interpreted but that would have complicated things considera

Re: Robo VM

2013-07-29 Thread Cedric Greevey
That would only allow AOT-compiled Clojure to be used -- no dynamic stuff, no REPL, no development directly on that VM, and no code that uses eval. That's something of a problem. Any timeline on when the VM will have fully mature JVM classloader capabilities? On Mon, Jul 29, 2013 at 4:06 AM, N

Re: Robo VM

2013-07-29 Thread Niklas Therning
Hi, I'm the founder of the RoboVM project. RoboVM supports reflection but not custom classloaders and not runtime bytecode manipulation. If clojure can be compiled ahead of time to bytecode .class files than there's a possibility that it could work on RoboVM and iOS. Just let me know what you

Re: Robo VM

2013-07-22 Thread Gary Trakhman
Seems like it would need reflection and classloaders for loading ASM bytecode, and the run-time would thus need its compiler, I can't tell from the site whether that's the case. If there's no reflection, then it would be a pain to make clojure work. But, I see it says: 'The standard classes (java

Robo VM

2013-07-22 Thread Jacob Goodson
I wanted to see if people know/knew about this. According to the website it states that the VM converts JVM bytecode to native... could clojure take advantage of this(I assume it can but I would like to hear from people with a true understanding if I should be excited or not =P)? -- -- You r