by pjmlp · 5y ago · 0 comments
Nor C++ or Ada, so what? Linux isn't some kind of golden rule for all OSes on the galaxy.
I am more than happy to do bare metal coding in C# (Meadow) and Go (TinyGo) without having to deal with Linux.
Volumes could be written as a reply.
>Linux isn't some kind of golden rule for all OSes on the galaxy.
Just about every operating system or major piece of system software is written in C, or limited C++ that is defacto C. Rust has a universe more of a likelihood to supplant those than Go or C#. And in fact is the only modern language making any headway in those cases. We're about two decades past people deploying the trite "Oh well that's just legacy inertia..." argument.
Google didn't write Fuchsia in Go, and hasn't used an iota of it in ChromeOS or Android. Microsoft uses somewhere approximating 0% .NET/C# code in the Windows core. Microsoft research made a toy .NET OS once that, unsurprisingly, went nowhere, just as you can find irrelevant toy example projects pushing the same premise, but they're dead ends.
This is of course meaningless for the vast majority of projects that the residents of HN are working on, where the compromises of Go, C#/.NET, GCs, etc, are massively outweighed by the benefits they bring to those sorts of projects.
>I am more than happy to do bare metal coding in C# (Meadow) and Go (TinyGo) without having to deal with Linux.
Okay?
My friends writing safety critical bare metal industrial control software using Ada would, I suspect, feel this was a somewhat limited perspective.
If you ever do consider writing such volumes, I would recommend getting co-authors to cover the areas you're less familiar with.
It's a big industry. There are loads of exceptions and they still comprise a tiny minority.
As for the rest it would be a waste of my time on Earth to prove you wrong and change your mind.
Okay?
Since IBM i, IBM z, Unisys ClearPath exist, and power the world of insurances and finance, this sentence is obviously false.
> Google didn't write Fuchsia in Go
Indeed, only the TCP/IP stack and volume management tooling, should be easy for you to find out about them.
Then there is this thing called gVisor, it is powering parts of the world that run on top of Google Kubernetes Engine.
Maybe something there for you to learn as well.
> Microsoft uses somewhere approximating 0% .NET/C# code in the Windows core
On the NT kernel, yes, yet good luck using Windows only with the kernel, without the remaining layers, many of which developed in a mix of COM and .NET.
A basic proof how much Windows systems programming experience you have.
Ah then there is this thing called IoT Edge runtime for intelligent devices, written in a mix of Rust and C#.
And before I forget, NVIDIA DRIVE AGX firmware is written in Ada/SPARK.
Bye and learn to grow beyond the Linux bubble.
It's weird to crown Go as better when it is nicer simply by ignoring very low-level work then pretend that the argument of OS development is irrelevant.
A bit of an exaggeration, but its like saying HTML is a better "programming" language than javascript when creating documents, then ignore the fact HTML isn't actually programmable.
Discord switched from Go to Rust because of slowness issues, I promise if its too slow for an app its too slow for OS.
If Go wants to be a very low level "systems everywhere" then get rid of the GC. Or alternatively stop ranking it above Rust and C++, when its apples to oranges.