It’s the second time i see this language mentioned on HN. Reading about it made me feel it was coming straight from the 80s, and i must say i didn’t find anything special in its feature set (but i didn’t spend a lot of time). Could anyone provide more info on what makes this language interesting ?
The language in itself is just a member of the Pascal/Modula family stripped to the minimum while still supporting modules and some form of polymorphic objects. What is interesting is what Wirth et al does with it in the Oberon book (http://www.projectoberon.com): building a complete computing environment (including a kernel, compiler and GUI) running on their own CPU. All in 9000 lines of Oberon code, no C or anything else.
Active Oberon is one of the final evolution paths that started with Mesa/Cedar at Xerox PARC and influenced Wirth's work on Oberon.
A full workstation OS, written in a strong type safe GC enabled systems language, providing UI interactions similar to Lisp and Smalltalk workstations from Xerox and Lisp Machines.
All of this in the mid-90s, where most PC users where still running Windows 3.x on their computers and Amiga was mostly coded in Assembly.
Active Oberon is a small but powerful language with a lot of good ideas within the language.
One of the interesting additions over plain Oberon is the concept and support for active cells. Active Cells provide an abstract mechanism to define systems composed of computing elements that exchange information over message channels. Not new to anyone familiar with Go Channels etc buts its one of the nice things in Active oberon and provides support for both Actor models, concurrency and parallel programming.
(Only tangentially related to the OP, but what the hell.)
Does anyone here have an experience programming in Oberon-07? One of
the most interesting features of the language for me is the fact that it
doesn't have a BREAK statement. Which means that one must use a form of
WHILE for linear searches. Probably to force people to think in terms
of structured programming instead of the logic of “hidden GOTOs”. Does
it ever bother you? Did you ever had a thought like “Sheesh, this would
be so much better with a FOR and a BREAK.”?
On a tangent to your tangent: the `while` and `for` loops in Ocaml also do not have a `break` statement. Early exits are typically achieved by raising and catching an exception (which fortunately is quite efficient in Ocaml).
Whereas usually loops have 2 tests for checking if the while loop should end (end-of-data-reached? or break-condition-is-true?) you only need to check for the latter.
This is a very Oberonesque programming optimization.
Compared to the Oberon in http://www.projectoberon.com this is like Oberon++. I mean, it's still a pretty bare bones language, but it has added quite a few fancy features.
Right. The whole point of Oberon is being as simple as possible. If you need all the fancy stuff introduced with Oberon-2 or Active Oberon (which are not the same lange as the one designed by Wirth) then there are better alternatives, e.g. https://en.wikipedia.org/wiki/Object_Pascal, or Java, or C#.
No. It's not designed for that. It was designed as a minimal lanuage focussing at the bare essentials required to implement a minimal operating system with graphical user interface.
I posted the link to the overview page, because it provides more information about the PDF not being yet final and where to discuss further the issues until it gets the final seal of approval.
[+] [-] bsaul|6 years ago|reply
[+] [-] kryptiskt|6 years ago|reply
[+] [-] pjmlp|6 years ago|reply
A full workstation OS, written in a strong type safe GC enabled systems language, providing UI interactions similar to Lisp and Smalltalk workstations from Xerox and Lisp Machines.
All of this in the mid-90s, where most PC users where still running Windows 3.x on their computers and Amiga was mostly coded in Assembly.
If you want some screenshots and overview of how it used to look like, https://www.progtools.org/article.php?name=oberon§ion=co...
[+] [-] ptrott2017|6 years ago|reply
One of the interesting additions over plain Oberon is the concept and support for active cells. Active Cells provide an abstract mechanism to define systems composed of computing elements that exchange information over message channels. Not new to anyone familiar with Go Channels etc buts its one of the nice things in Active oberon and provides support for both Actor models, concurrency and parallel programming.
How this applies to scalable systems and custom FPGA hardware is described in an older paper - see https://inf.ethz.ch/personal/felixf/pdfs/2012_ActiveCells.pd...
In addition to cells there is math support for tensors (via Math Array) and matlab like array processing as well.
From a language implementation perspective it provides quite a lot in a relatively small, clean and easy to follow code base.
[+] [-] wbl|6 years ago|reply
[+] [-] ainar-g|6 years ago|reply
Does anyone here have an experience programming in Oberon-07? One of the most interesting features of the language for me is the fact that it doesn't have a BREAK statement. Which means that one must use a form of WHILE for linear searches. Probably to force people to think in terms of structured programming instead of the logic of “hidden GOTOs”. Does it ever bother you? Did you ever had a thought like “Sheesh, this would be so much better with a FOR and a BREAK.”?
[+] [-] vbezhenar|6 years ago|reply
[+] [-] gmfawcett|6 years ago|reply
[+] [-] olaf|6 years ago|reply
For me, it was so easy to think about loops that way, with an EXIT/condition in the middle of the loop body.
[+] [-] bhaak|6 years ago|reply
https://en.m.wikipedia.org/wiki/Sentinel_value
Whereas usually loops have 2 tests for checking if the while loop should end (end-of-data-reached? or break-condition-is-true?) you only need to check for the latter.
This is a very Oberonesque programming optimization.
[+] [-] kryptiskt|6 years ago|reply
[+] [-] Rochus|6 years ago|reply
[+] [-] carapace|6 years ago|reply
https://github.com/schierlm/OberonEmulator
[+] [-] unknown|6 years ago|reply
[deleted]
[+] [-] dteiml|6 years ago|reply
[+] [-] pjmlp|6 years ago|reply
This company is still in business, selling Oberon compilers for embedded development.
https://www.astrobe.com/
[+] [-] gtirloni|6 years ago|reply
[+] [-] Rochus|6 years ago|reply
[+] [-] rsmckinney|6 years ago|reply
[+] [-] justin66|6 years ago|reply
[+] [-] saagarjha|6 years ago|reply
[+] [-] pjmlp|6 years ago|reply