3 ms·
I agree - the C++ compilers are pretty good, and if the OS is written in C and C++, working with the OS will be simpler if you use C++ than pascal. One thing I
by tfinniga 13y ago
I agree - the C++ compilers are pretty good, and if the OS is written in C and C++, working with the OS will be simpler if you use C++ than pascal.
One thing I've noticed is that the dominant languages for resource-constrained programs all seem to envelop the previous generation. You can embed assembly in C. You can embed C in C++. C++ has yet to be embedded in another language, at least if you want to keep the same memory layout of objects.
I'm curious to see if D or some other language can buck the trend.
- pjmlp 13y agoI am quite active in D forums, and also follow Rust closely, given my interest in the ML language family. If you look at the history of systems languages, the only ones that won market share, had the sponsorship of an OS vendor as their official language. Specially because many people hate to write FFI bindings for their favourite language and it doesn't scale to map the full OS API. So the question is which OS vendors would pick the wannabe replacements.