裸机上的面向对象语言
我知道 C++ 和 Object Pascal,但是还有其他面向对象语言的编译器目前可以将它们编译为在没有操作系统的机器上运行吗?如果有,他们是否拥有相当大的社区和可接受的良好文档?
I'm aware of C++ and Object Pascal, but are there any other object-oriented languages whose compilers currently can compile them to run on a machine with no operating system? If there are, do they have a sizeable community and acceptably good documentation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Ada 通常用于嵌入式环境。我不知道现在它的社区有多大,但它有优秀文档的传统,而且(以我的拙见)它的设计者犯了与 C 家族不同的错误,这令人耳目一新。
Ada is often used in embedded environments. I don't know how much of a community it has nowadays, but it's got a tradition of excellent documentation, and (in my humble opinion) its designers made different mistakes from the mistakes of the C family, which is refreshing.
大多数开发套件都使用 GCC。所以你可以选择 GCC 支持的任何语言。当然,也有困难,例如调用/链接用C编写的库函数,或者缺乏标准(非C/C++)语言库......
Most of devkits use GCC. So you can choose any language which GCC supports. Of course, there are difficulties, e.g. calling/linking library functions written in C, or lack of standard (non-C/C++) language libraries...
Tcl 用于嵌入式应用程序。它有面向对象的扩展,并且我相信有计划在本地添加一些功能。
Tcl is used in embedded applications. There are OO extensions to it, and I believe there are plans to bake in some of that functionality natively.