4 ms·
Sounds like the XMLVM hack which basically transplate Java bytecode into a stack machine emulator in C++ by using bytecode->XML and then XSLT stylesheets -> C++
by cromwellian 12y ago
Sounds like the XMLVM hack which basically transplate Java bytecode into a stack machine emulator in C++ by using bytecode->XML and then XSLT stylesheets -> C++. As expected, this is slow. This is not what j2objc does, and j2objc doesn't try to emulate garbage collection either, instead it generates ARC compatible code, and you use @Weak annotations in Java to fix cycles.
- anon4 12y agoYou seriously expect me to break cycles myself? Edit: Furthermore, you expect me to carefully read the source of every single third-party library I use and patch it to break any potential cycles? This is madness!
- cromwellian 12y agoInbox is a huge app and very very few cycles need to be broken. J2ObjC provides an automated tool for finding them (https://code.google.com/p/j2objc/wiki/CycleFinderTool https://code.google.com/p/j2objc/wiki/CycleFinderTool) It's really no different than programming in ObjC itself where you can run into cycles.