4
votes

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?

3
I guess you're really asking "are there any other OO languages that have existing compilers to raw machine code?", as pretty much all languages could be compiled thus...Oliver Charlesworth
Yes, if you want to be persnickety. :-) I'll update the question.JasonFruit

3 Answers

3
votes

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.

1
votes

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...

1
votes

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.