Let me ask you a question since you’re still in the game. If I were to write an operating system for today’s world, what language should I use?
OS is generally written in the lowest-level language you can (because higher-level language can introduce a lot of ‘fluff’ and opportunities for errors), however, I’d start by modeling it in a higher-level language. My language of choice is C#, and that might translate well to C++.
Sign.
C would be the obvious answer. It might be old, but it’s still the one that most directly translates to the assembly language that your code is going to get compiled to. I know lots of super high performance games at Nintendo are written in C++, but there’s still a lot of overhead there. It really depends on your target device. If you want to run on multicore x86 beasts, you could just about get away with anything. But if you want to run in resource constrained devices (Atmel chips, small ARM chips, etc.) then C is your friend.
If I were to write an operating system for today’s world, what language should I use?
—
Mandarin? Arabic?
Is it intended for personal, business, scientific or educational use?
Will you release it commercially or open source?
back to assembler.
thanx for takin care of us.
I have fifty years into developing embedded systems, communications protocols, device drivers, special purpose compilers, and data acquisition/control systems. This includes originating customs circuits using various microprocessors, sensors, and actuators. Although retired, I still have three corporate clients for whom I am actively designing electronics and software. I do everything but Windows and web stuff. I've done Windows; but, it did trigger my gag reflex.
I'm a bare metal guy. Most of my work now uses ARMs, AVRs, and PICs. I have worked with a lot of uPs, a list as long as your arm, and many that people of today have never encountered. Shucks, I cut my teeth on mini-computers: DEC PDP-11, CA LSI-4 & LSI-2 just to name a couple.
Now I program mostly in C because I work very close to the metal. C++ is good for some things. I must lapse into assembler from time to time when writing low latency interrupt handlers.
C and assembler.
“If I were to write an operating system for today’s world, what language should I use?”
Marine DI.
C for a particular hardware
Java for general use
yw