News for hackers. Stuff that matters.
Re:FreeOberon cross-platform Oberon language IDE by pjmlp on Sunday November 12, 2023 @10:17AM (#38240823)
Isn't this normal enough?

https://www.progtools.org/article.php?name=oberon&section=co...

Good enough when placed against many UNIX windows managers, or the developer beloved Plan 9 and Inferno GUIs.

It failed because like Xerox, it stayed mostly inside ETHZ walls, a few European universities and zero industry interest, too much focused on building UNIX clones.

Re:FreeOberon cross-platform Oberon language IDE by cyberax on Sunday November 12, 2023 @12:42PM (#38242365)
> Isn't this normal enough?

It definitely is not normal enough. It's a whole operating system, after all.

> It failed because like Xerox, it stayed mostly inside ETHZ walls, a few European universities and zero industry interest, too much focused on building UNIX clones.

Not really. It failed because Oberon was not a great language even in the 2000-s. Right now it's not even good enough for teaching purposes.

Re:FreeOberon cross-platform Oberon language IDE by pjmlp on Sunday November 12, 2023 @12:45PM (#38242385)
Apparently it was good enough to inspire Go authors, and everyone that enjoys its influences in Go, as the ultimate design in language simplicity.
Re:FreeOberon cross-platform Oberon language IDE by cyberax on Sunday November 12, 2023 @01:35PM (#38242852)
As an inspiration for some of the ideas? Maybe. As a language in itself, Oberon was crappy even at that time.

From the very start, Go was utterly practical, designed to be used for actual programming, and not PhD theses.

So compared to Oberon, Go had hash maps from the start. It didn't have the SCREAMING PROCEDURE/RECORD/VAR case-sensitive keywords, Go had multiple return values for error handling from the start, better namespacing support, variable declaration in-place, full support for UTF-8 for strings, etc.

And of course, Go has lightweight threads and channels, making it a great language for servers.

Re:FreeOberon cross-platform Oberon language IDE by pjmlp on Sunday November 12, 2023 @02:46PM (#38243466)
If you are stuck with a tunnel vision of the 1992's version of Oberon, yeah.

Except that Active Oberon from 1996, sorted out most of those cases.

Hash maps don't need to be built-ins, as proven in many languages.

Active Objects take care of lightweight threads and channels.

Oberon, the OS, was also good enough for Go's hero Rob Pike to implement ACME and RIO on the same UX principles, re-use Oberon-2 (yet another version you ignored) method syntax, and Oberon's SYSTEM package as unsafe.

Screaming keywords, only an issue when someone doesn't use an editor with automatic capitalization, only an issue for Notepad-like users.

Re:FreeOberon cross-platform Oberon language IDE by cyberax on Sunday November 12, 2023 @04:39PM (#38244343)
We're talking about Oberon here, not about its clones. And I based my reply on Oberon-2. It definitely sucked.

> Hash maps don't need to be built-ins, as proven in many languages.

Except Oberon doesn't have generics.

From the very beginning, Go included very practical "magic" generic functions: append, len, cap, delete. Along with slices, they allowed Go to flourish without generics.

Oberon only has LENGTH.

> re-use Oberon-2 (yet another version you ignored) method syntax

Here's Go: "func (c Type) DoSomething(hello, world string) (int, error)". Here's Oberon: "PROCEDURE (c: Type) DoSomething(hello, world: STRING): INTEGER;" (error handling is for wimps).

It is similar, but not the same. Go also has structural polymorphism, which Oberon lacks.

> Screaming keywords, only an issue when someone doesn't use an editor with automatic capitalization, only an issue for Notepad-like users.

IT LOOKS UGLY, AND IT MATTERS A LOT, WHEN YOU MOSTLY READ THE CODE.

So yep, I maintain that Oberon is a shitty language. It might be useful as a starting point for new language design, but that's it.

It has never been practical, and on its own it only ever "succeeded" in the ETH where professors just forced students to use it.

Re:FreeOberon cross-platform Oberon language IDE by jhgb on Sunday November 12, 2023 @08:43PM (#38245961)
> Except Oberon doesn't have generics.

...which could plausibly be fairly easily fixed by Zig's comptime feature, which would seem to fit the language very well.

Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Friday November 24, 2023 @05:53PM (#38409271)
Could you please give a link to the Zig's comptime feature for generics?
Re:FreeOberon cross-platform Oberon language IDE by pjmlp on Monday November 13, 2023 @03:03AM (#38248018)
So stuck in 1987, got it.

What allowed Go to florish was being sponsored by Google, and being pushed alongside Docker and Kubernetes, without them, it would have had the same fate as Plan 9, Inferno and Limbo.

All really widely successfull commercial projects from UNIX folks. /s

Turns out shitty languages only flourish with the right sponsors.

Re:FreeOberon cross-platform Oberon language IDE by cyberax on Monday November 13, 2023 @11:36AM (#38252100)
> So stuck in 1987, got it.

Oberon-2 was in 91.

> What allowed Go to florish was being sponsored by Google

No. What allowed Go to flourish was a purely practical approach to the language, instead of theoretical nonsense.

For example, Oberon does not have ANY error handling.

> and being pushed alongside Docker and Kubernetes, without them, it would have had the same fate as Plan 9, Inferno and Limbo.

Facepalm. Docker was developed completely separately from Google.

Re:FreeOberon cross-platform Oberon language IDE by pjmlp on Tuesday November 14, 2023 @04:43AM (#38261126)
1991 is hardly any better than 1987.

Error handling in Oberon is as good as in Go, if error boilerplate all over the place.

Docker was originally developed in Python, and pivoted to Go because of Google.

Likewise Kubernetes started in Java, and pivoted to Go when some Go folks joined the team.

Had it not been for it, Go would have been as sucessful as Inferno/Limbo, which are highly inspired by Oberon, including its market failure.

Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @09:14PM (#38272537)
"Screaming" keywords -- is not an issue even for those who use Notepad. Just hold SHIFT with your pinky lol :)
Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @09:15PM (#38272546)
Oberon does not have LENGTH
Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @09:12PM (#38272523)
Oberon also has multiple RETURN statements. Only the latest Oberon-07 version does not. So before 2007 Oberon always had multiple RETURNs.

And these keywords can be said to be "screaming" only by a person who does not understand what a "habbit" is. People get used to "screaming" keywords very quickly. And turns out, the uppercase keywords are more practical. Typing them does not take more time than typing curly braces all the time in other languges (you also need to press SHIFT for that, you know). The big keywords allow visual separation of syntax sections, that Go lacks so much. I.e. in Go, when you see a for-loop, it may not actually be a for-loop, but a while or a foreach loop -- to find out, you need to count the semicolons in the line.

Re:FreeOberon cross-platform Oberon language IDE by Rochus on Sunday November 12, 2023 @02:54PM (#38243533)
> It's a whole operating system, after all.

You can use that one which easily starts on all platforms without taking control of the PC: https://github.com/rochus-keller/oberonsystem3

Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @09:07PM (#38272497)
Oberon is perfect for teaching purposes. It is understandable from the first glance. On the first lesson, even 9-year-olds start writing graphical programs! I've been testing Free Oberon as an edutcational tool since 2016. Kids in a sport summer camp use it.
Re:FreeOberon cross-platform Oberon language IDE by WillAdams on Sunday November 12, 2023 @01:37PM (#38242864)
Maybe, but that's not what's being shown on the linked website.
Re:FreeOberon cross-platform Oberon language IDE by pjmlp on Sunday November 12, 2023 @02:41PM (#38243436)
Maybe because the linked Website is not the original Oberon, and derived OSes done at ETHZ.

The question of the parent naturally should be answered in regards to what was available during the 1990's.

Re:FreeOberon cross-platform Oberon language IDE by WillAdams on Sunday November 12, 2023 @03:41PM (#38243893)
Working from uncertain organic memory, but yes, the other screens look much better.

I've actually always been quite fond of the concept of Oberon --- wondering if this implementation might work well for a potential future pet/side project: making a graphical front-end for METAPOST/METAFONT.

Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @08:50PM (#38272393)
Why not? Use Free Oberon, I will help.
Re:FreeOberon cross-platform Oberon language IDE by pmontra on Sunday November 12, 2023 @04:50PM (#38244439)
I remember Oberon. My take is that it failed to become a mainstream language because we were using C to write system tools and browsers, Visual Basic and Visual C++ to write Windows apps and PHP and Java to write web apps. Those filled most niches.

Delphi and the Pascal languages were on a downward spiral of popularity. C was the incumbent. PHP was easy to install and solved a problem that most developers had: write a web app quickly. Java and the Visual languages were backed by big companies. Oberon was not. It was a curiosity at best. I remember other languages from back then: Eiffel and Modula 3. They resurface sometimes in HN posts.