News for hackers. Stuff that matters.
Re:Oberon-2, a hi-performance alternative to C++ (1997) by rurban on Tuesday January 24, 2023 @03:35PM (#34509918)
That's why you would use o2c, which can use gcc-13 or clang-14.

Though I'm convinced that this ship has sailed, with go replacing oberon

Re:Oberon-2, a hi-performance alternative to C++ (1997) by Rochus on Tuesday January 24, 2023 @04:47PM (#34510961)
There is even a better alternative; just use the Oberon+ toolchain (compatible with Oberon 87, Oberon-2 and Oberon-07), so you can benefit of a decent IDE with a source-level debugger and a C99 transpiler.
Re:Oberon-2, a hi-performance alternative to C++ (1997) by kristianp on Tuesday January 24, 2023 @10:06PM (#34513889)
Or use Modula-2, which was recently added to gcc (https://www.phoronix.com/news/Module-2-GCC-Merged).
Re:Oberon-2, a hi-performance alternative to C++ (1997) by rurban on Wednesday January 25, 2023 @03:43AM (#34515927)
When we can use Oberon, there is no need for Modula-2. Oberon is by far simpler and superior. Just enum and records might be missing from the default Oberon.
Re:Oberon-2, a hi-performance alternative to C++ (1997) by mannschott on Thursday January 26, 2023 @02:59AM (#34528966)
Enumerations and subranges (in style of Modula-2 and Pascal) are missing from Oberon, but Records are present subject to type extension in the style of structs in Go. In Oberon(-1), we used (pointers to) procedures in record fields as methods when programming in an object-oriented style. Oberon-2 added methods which dispatch dynamically based on type of receiver. These were "type bound procedures". You'll find this idea echoed in Go as well.
Re:Oberon-2, a hi-performance alternative to C++ (1997) by MarcusE1W on Wednesday January 25, 2023 @08:04AM (#34517763)
As a bit more comfortable alternative to Oberon I would suggest Modula-3.

https://github.com/modula3/cm3

It even comes with a GUI library, which even though developed in the 90th Stil, works on x11. I find that quite fascinating :-)