Which new language would mostly fit for writing an OS

338 Views Asked by At

I want to start a small project about writing a new mini OS. There are a lot of new fancy languages nowadays gaining popularity for their safeness and almost c or c++ like performance. Which would be a good fit to write an OS with minimal or no drawbacks. I can imagine writing in a new language would drastically save lines of code, spare complexity and so on. What about other possible advantages?

I can think of

  • Rust
  • D
  • Go
  • Red
  • Dart (maybe)

and others

Do you know of any similar projects i might even join in? I know the answers are opinionated, but that's what im asking for. Opinions on why one language might be a better fit than the other.

1

There are 1 best solutions below

6
On

Of the alternative languages you listed, Rust and D are most likely the best choices. Except that Rust is still pre-1.0, and so you are pretty much guaranteed the language will have breaking changes before you finish. If you're looking to use Rust it may be better to wait until the language stabilizes at 1.0 (which is supposed to happen before the end of the year), and then start your project.