4 ms·
C++ is the default for natively running software. There have been competitors, but many of them have failed for a variety of reasons. Even if you are writing i
by constantcrying 3y ago
C++ is the default for natively running software. There have been competitors, but many of them have failed for a variety of reasons.
Even if you are writing in a completely different language, at some point native software will have to run, maybe you need a compiler or an interpreter, but chances are C++ will be involved with that.
- pjmlp 3y agoUnfortunately not for UNIX clones and most embedded stuff.
- constantcrying 3y agoEmbedded is nowadays a wild world, where you can run stuff like python. But the fact that the ancestor to C++ is still so popular there shows how difficult it is for other languages.
- pjmlp 3y agoMost modern embedded microcontroller are more powerful than any home computer and early PCs until the Pentium generation. So lots of power to run most programming languages. The biggest problem is cultural.
- throwbadubadu 3y agoNot true, sure there is "embedded" growing computationally more and more (but since 20 years already at least, what is nowadays??), but there will also always be the embedded size of few kb flash and ram that won't allow you any OS like on the system but require you at most running one of those tiny schedulers without memory protection, because key optimization factors there will always be cost, size and power consumption.
- pjmlp 3y agoEnglish lesson, "most modern" doesn't mean all of them. Secondly, "CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17” https://www.youtube.com/watch?v=zBkNBP00wJE https://www.youtube.com/watch?v=zBkNBP00wJE "C++20 For The Commodore 64" https://www.youtube.com/watch?v=EIKAqcLxtT0 https://www.youtube.com/watch?v=EIKAqcLxtT0
- throwbadubadu 3y agoThanks (:
- dkersten 3y agoRunning Python and such is still, largely, done by hobbyists while the majority of software used in commercial embedded projects is still primarily C or C++. Maybe it’s been slowly changing but, slowly.