4 ms·
>There are many examples of system programming languages, used to implement OSes Yeah, but are there any examples of "system programming languages, used to imp
by coldtea 8y ago
>There are many examples of system programming languages, used to implement OSes
Yeah, but are there any examples of "system programming languages, used to implement OSes with GC at kernel level" where said OSes are fast, practical, and used by way more people and businesses than 100 researchers and hard core fans?
- pjmlp 8y agoYes, Oberon was one of them, used by the complete IT department at ETHZ, including normal employees. Were they more than 100, I don't know, never counted them. Or IoT deployments from Oberon Systems and Astrobe, with Astrobe still focused on selling Oberon compilers for embedded development. As mentioned, it is always a matter of money and business willingness. Joe Duffy mentions on his Rustconf talk how his team had to deal with lots of Luddites, even though they had Midori running in front of them. If the likes of Apple, Google and Microsoft were willing to spend the same money as they did/are making JavaScript JIT compiliers fast, we would already get something in mainstream. Instead they focus on the easy path, closing down the kernel access, and making the userspace available to GC only languages.
- srean 8y agoGiven your knowledge on the subject could comment on how Modula-2 compares with Go. Modula-2 had coroutines, did it have a notion of a channel ? I have feeling that Go is a Modula-2/Pascal with a garbage collector and may be with a better concurrency story. Would that be a fair assessment ?
- eterps 8y agohttps://books.google.nl/books?id=SJHvCgAAQBAJ&pg=PT572&dq=the+go+programming+language+oberon&hl=en&sa=X&ved=0ahUKEwinr9nK_5zdAhVBDuwKHaPoCeAQ6AEILjAB#v=onepage&q=the%20go%20programming%20language%20oberon&f=false https://books.google.nl/books?id=SJHvCgAAQBAJ&pg=PT572&dq=th...
- bewuethr 8y agoThat page doesn't show up in preview for me, but I'm guessing it's the diagram showing the origin of Go as a blend of Alef, Oberon and C. The authors also say that the package concept was inspired by Modula-2, the syntax for packages/imports/declarations by Oberon-2 and the syntax for method declarations my Object Oberon. As the influence for channels, though, they mention Alef. The diagram is on page xii of the publicly available preview: http://www.gopl.io/ch1.pdf http://www.gopl.io/ch1.pdf
- pjmlp 8y agoNo, Modula-2 did not had channels as such. However you should look into Active Oberon, where active objects are similar to co-routines. Messages are passed around active objects via message handlers. https://oberoncore.ru/_media/wiki/lang/reali_p.active_oberon_language_report.en.pdf https://oberoncore.ru/_media/wiki/lang/reali_p.active_oberon... http://www.ocp.inf.ethz.ch/wiki/Documentation/Front http://www.ocp.inf.ethz.ch/wiki/Documentation/Front
- coldtea 8y ago>Yes, Oberon was one of them, used by the complete IT department at ETHZ, including normal employees. Were they more than 100, I don't know, never counted them. Well, I think this falls in the "researchers and hard core fans" of my range.
- pjmlp 8y agoI doubt the people working on the secretariat were "researchers and hard core fans". Then again I am used to people not believing in a future with modern safe OSes.
- coldtea 8y ago>I doubt the people working on the secretariat were "researchers and hard core fans" No, they were just forced to use it for the researchers to prove a point. Nothing about this speaks to its practically and success. Is it still in use in that organization? If not, why not? Was it fast enough? Did it actually crash less or just under different conditions? Did it make it easy to connect and use the huge existing ecosystem of code available for other major OSes? Did it have hangups unique to it? >Then again I am used to people not believing in a future with modern safe OSes. Well, "belief" is not that scientific or pragmatic a criterion, is it?
- pjmlp 8y agoIt is up to each one that cares about safe computing to delve on our history. All those answers are available on relevant papers. A few decades ago a company believed JavaScript could be made into a fast language and here we are. Midori was a very real OS, not welcomed by management, that is hardly a scientific criterion.