TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

J2ObjC: A Java to iOS Objective-C translator by Google

35 点作者 PierreMage超过 12 年前

4 条评论

Xuzz超过 12 年前
Previous submission (still on the front page right now, at least): <a href="http://news.ycombinator.com/item?id=4518588" rel="nofollow">http://news.ycombinator.com/item?id=4518588</a>
invalidname超过 12 年前
Its a joke. It translates Java to Objective-C code without GC support (uses reference counting which you need to annotate). It doesn't define any UI so effectively you need to work on a Mac just without all the wonderful tools for UI building that apple provides and without any of the WORA you get from Java. When something doesn't work you are still stuck debugging in Objective-C. And googling stack overflow trying to understand how to translate Objective-C code to your problem.<p>Codename One solves all of the above issues by giving "actual WORA" which is the true value of Java.
评论 #4521471 未加载
评论 #4520827 未加载
评论 #4520879 未加载
dhconnelly超过 12 年前
To save time for those who won't read the wiki:<p>This is not a tool to convert Java apps to iOS apps. This is a tool that helps you write <i>business logic</i> in one language so it can be shared without duplication between Android, web (via GWT), and iOS apps. Write your presentation logic with the native tools, ie. Interface Builder, etc. Cross-platform mobile UI support is explicitly avoided. Xcode is great--use it!
RealCasually超过 12 年前
This seems a lot like a rebrand of XMLVM (<a href="http://xmlvm.org/overview/" rel="nofollow">http://xmlvm.org/overview/</a> -- also a Google-employee-run project) with some missing UI features.
评论 #4521330 未加载