News for hackers. Stuff that matters.
Re:Object-Oriented Programming in Oberon-2 [pdf] by pjmlp on Monday November 20, 2023 @02:41PM (#38353382)
Imagine being in the mid-1990s, Windows 3.x is what most people use on the PC, Windows 95 is around the corner.

Here is a full workstation graphical OS, programmed in a memory safe systems programming language, with automatic memory management.

The language is compiled to native code, originally, eventually the system will evolve to a mixed AOT/JIT workflow.

The OS is heavily based on the ideas from Xerox PARC, primarly in Mesa/Cedar[0][1], and brings them into the normal PCs, specially with Native Oberon.

A mix of dynamic loading, REPL and mouse commands, gives an experience similar to Lisp Machines/Smalltalk (like in Cedar).

Basically any public symbol from a module, can be called from the shell, or via the mouse, and act upon selected text, selected window, widget or take additional input.

When modules are changed and reloaded this affects the whole OS, similar to those Xerox environments.

Rob Pike actually became quite a fan, hence with Rio and ACME in Plan 9 are heavily influenced by how Oberon (the OS works), and also carried into Inferno/Limbo afterwards.

All of this when outside Xerox PARC and ETHZ, almost everyone was discussing about writing OSes in C (with exception of Apple and Object Pascal, later C++).

The closest you would get to it today, is how Powershell alongside .NET and COM permeate Windows, and even that fails short as that is only userspace.

This is why many of us relate so much to Oberon, even if it doesn't make sense in 2023, an alternative universe of systems programming in GC based languages, coupled with a Lisp Machines/Smalltalk like experience.

[0] - https://www.computerhistory.org/revolution/input-output/14/3...

[1] - https://www.youtube.com/watch?v=z_dt7NG38V4

Re:Object-Oriented Programming in Oberon-2 [pdf] by zozbot234 on Monday November 20, 2023 @02:57PM (#38353642)
> Imagine being in the mid-1990s, Windows 3.x is what most people use on the PC, Windows 95 is around the corner.

Anyone recalls how slow and clunky Java applets were back then? I think we all know why Oberon was ultimately less than successful. Of course, the missing ingredient back in the 1990s was memory safety without relying on GC, what Cyclone gives you and what was further developed by Rust.

Re:Object-Oriented Programming in Oberon-2 [pdf] by pjmlp on Monday November 20, 2023 @03:19PM (#38354031)
Those Java applets were interpreted, and had nothing to do with Oberon.

If you never used it, don't assume.