From: Sal <sv...@gm...> - 2011-02-12 07:40:00
|
I'm really enjoying learning about xmlvm and I think it's a fascinating project! I had a few questions for the experts here about it. - How is performance compared to original Java code? If slower by a factor of how much? Are there any benchmarks done yet? Can intensive things be done i.e. - realtime physics engines for video games - Is boehm gc being used on the iPhone target(s)? If not how does xmlvm get around using reference counting in the new C target Ive read about? - what major tasks are left for the 'C' output target to be a usable one instead of the Obj-c++ one, in case anyone is interested to help =) - The idea of byte code to XML to ' XYZ' programming language via xsl is great and very flexible. But has anyone considered taking something like JavaML (http://www.badros.com/greg/JavaML/) which generates XML version of the Java program's AST (abstract syntax tree). XSL could then be used to convert this to a 'high level' target, such as C++, which is very similar to java already. Use the same GC techniques and libraries xmlvm already has - and you have maximal performance via C++ compilation of high level code rather than VM opcodes as xmlvm does today. I would imagine several orders better performance with just as much flexibility - say write c# code for win7, and JavaScript target would be more performant as well. Java byte code is also easily reversed by libraries like JAD to generate 'high level' Java from that byte code, so .class files are still processible if code is not available. Looking forward to thoughts!!! thanks much in advance, - Sal |