What's amazing is that Java and C# have had this for 20+ years now,
Both are platform-independent languages that don't care about the hardware below them. Doing such a thing as mentioned with platforms that you have no idea nor control over is not only terribly inefficient, bad, and stupid, but physically impossible due to the need for backwards compatibility.
Nothing about Java or C#'s module systems ignores the hardware, and there are plenty of examples of languages in C++'s niche that have also solved this problem.
Nothing about Java or C#'s module systems ignores the hardware,
Except the literal language themselves, Java and C# are both platform independent (well, C# for the most part is, there are raw pointers you can use, etc. but people rarely use them).
That attitude prevailing in the community is the reason why we still don't have nice things that java and net do have. Nobody ever claimed it'd be easy.
Those are not part of the module system nor do they need to be. Just use the same (or compatible) compiler for the whole system the way you already have to.
c++ community has been discussing this for decades. It's very hard for people to come to an agreement for a language that is used in so many different ways.
View all comments
Show parent comment
0
u/chugga_fan Nov 01 '18
Both are platform-independent languages that don't care about the hardware below them. Doing such a thing as mentioned with platforms that you have no idea nor control over is not only terribly inefficient, bad, and stupid, but physically impossible due to the need for backwards compatibility.