top | item 6273304

(no title)

sidww2 | 12 years ago

What would be really killer is if it could have bindings to Java. Then one could take advantage of the JVM being present everywhere w/o having to do a separate compilation for every platform.

discuss

order

mmfZ4e4OqQ7RRwP|12 years ago

Note that nimrod compiles to C, and your JVM may be implemented in C or C++. So for the measly gain of not having to run a command on the destination platform (nimrod c name.nim) you are bringing in the runtime performance drawbacks of the whole JVM and requiring a further layer of abstraction.

Plus bytecode doesn't mean a program will run at all, look at all the java programs which run on android without modification, oh, wait...

sidww2|12 years ago

I'm in CompBio and the sense I get is that it's a lot easier to get someone to try your tool if all you have to do is provide them the jar which they just have to click on and it runs. Whereas with compilation, you first have to make sure you have all the platforms covered and then force the potential user to select the right executable for the platform.