4 ms·
One of the reasons for the confusion from those of us on system programming side is that Go inherited mostly from Oberon... https://blog.learngoprogramming.com
by nickpsecurity 9y ago
One of the reasons for the confusion from those of us on system programming side is that Go inherited mostly from Oberon...
https://blog.learngoprogramming.com/about-go-language-an-overview-f0bee143597c https://blog.learngoprogramming.com/about-go-language-an-ove...
...that was used to build OS's and other system stuff. Here's a brief history I just submitted and the official pages.
https://news.ycombinator.com/item?id=15704806 https://news.ycombinator.com/item?id=15704806
http://www.ethoberon.ethz.ch/ http://www.ethoberon.ethz.ch/
http://www.projectoberon.com/ http://www.projectoberon.com/
The Delphi product and the Oberon offshoot Component Pascal were used as C++ replacements. Here's an IDE for Component Pascal:
http://blackboxframework.org/index.php?cID=home,en-us http://blackboxframework.org/index.php?cID=home,en-us
So, the point is that it's a variant of a Wirth-style language for writing operating systems and low-level apps. With that, many of us figured it can also target the same thing. It might need some modification in its runtime or something if not originally aimed at it. I see no reason why a language stronger than Oberon couldn't be used for at least what Oberon was used for, though. As partial evidence, people are already writing prototypes for OS's in in.
https://news.ycombinator.com/item?id=14537691 https://news.ycombinator.com/item?id=14537691
https://www.phoronix.com/scan.php?px=MTY5OTQ&page=news_item https://www.phoronix.com/scan.php?px=MTY5OTQ&page=news_item
Throw in real-time or selective GC's as a modification to get it closer to taking over a lot of stuff that C would be doing. There's also nothing stopping the low-level code from being straight-up unsafe with checks added by programmer since that's already the baseline with C. One would get a more pleasant language that was at least memory-safe in other components that could take a GC. House OS is an example where the H Layer wraps the unsafe, lowest-level parts of the kernel of an OS mostly written in type-safe Haskell.