3 ms·
Doesn't seem very difficult to me actually if you look at it from a high level. There are two parts to this: 1. Translate Java to ObjectiveC: generate an abstr
by ma2rten 12y ago
Doesn't seem very difficult to me actually if you look at it from a high level. There are two parts to this:
1. Translate Java to ObjectiveC: generate an abstract syntax tree, transform the syntax tree, generate ObjectiveC.
2. Provide compatible APIs.
Don't get me wrong it's a lot of work, but shouldn't be more difficult than writing a compiler in general.
- sigmaml 12y agoI have worked on at least three very large projects that required cross-platform and cross-language compatibility. In all cases, the high-level view is similar to what you wrote above. In all cases, though, the devil was certainly in the details! APIs, in particular, can surprise and harass the developers.