哪些编程语言针对 J2ME?
我最近收到了一部诺基亚 5000 手机。现在我想为它编写软件。问题是我不懂Java。
现在我听说了其他语言,据说可以在不依赖 Java 的情况下进行开发,例如 CellularBASIC(看起来有点像QBASIC)和Hecl(似乎是基于Tcl)。
这些是唯一的吗?求链接!
I recently received a Nokia 5000 phone. Now I want to write software for it. Trouble is, I don't know Java.
Now I've heard of other languages which supposedly make possible development without recourse to Java, languages like CellularBASIC (which looks a bit like QBASIC) and Hecl (which seems to be based on Tcl).
Are these the only ones? Links, please!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
(顺便说一句,我写了 Hecl,所以如果你有任何疑问,请直接询问)
我认为有一个 Forth 版本正在流传,也许是 Lua 的一个尝试。
不过,J2ME 仍然是一个相当有限的环境,因此您不会获得“厨房水槽”语言,除非它们编译为 Java 字节码。 Symbian 手机支持某种Python,但那不是J2ME。
(I wrote Hecl, by the way, so ask away if you have questions about it)
I think there is a version of Forth floating around, and maybe an attempt at Lua.
J2ME is still a fairly limited environment though, so you're not going to get 'kitchen sink' languages unless they compile down to Java bytecodes. Symbian phones support some sort of Python, but that's not J2ME.
如果您无论如何都要努力学习一门新语言,那么您绝对应该考虑 Java。它不仅可以帮助您实现当前的目标,而且在当今的市场上,它是一项宝贵的技能。
如果该语言的浩瀚让您感到害怕,那么您可以考虑学习 ActionScript,它是 JavaScript 的近亲。它很简单,具有类似 C 的语法,附带功能强大的库,而且无需任何成本。用 ActionScript 制作东西很有趣。
但我的第一选择仍然是学习 Java。
If you are going to make an effort to learn a new language anyways, you should definitely consider Java. Not only will it help you in your current goal, but in today's market, it is a valuable skill to have.
If the vastness of the language intimidates you then you can consider learning ActionScript which is a close cousin of JavaScript. It's simple and has a C-like syntax, ships with a powerful library and costs nothing to begin with. Making stuff in ActionScript is fun.
But my first preference would still be learning Java.
Nokia 5000 支持 J2ME 和 Flash Lite。所有其他语言都应该在这些语言之上实现(主要是在 J2ME 上)。这些实现肯定会很慢,而且可能会受到很大的限制,因为 J2ME 本身很慢,而且是完整 Java 的精简版本。
然而,您不应该被 Java 吓倒。从诺基亚下载 Netbeans 以及可选的 SDK 以帮助您入门。如果您有任何其他面向对象语言的经验,您应该能够快速编写您的第一个应用程序。
The Nokia 5000 supports applications in J2ME and Flash Lite. All other languages should be implemented on top of these (mainly on J2ME). These implementations will definitely be slow and probably very restricted, as J2ME is itself slow and a cut-down version of full Java.
However you shouldn't be intimidating by Java. Download Netbeans and optionally the SDK from Nokia to get you started. If you have experience in any other object-oriented language, you should be able to code your first application quickly.