On Friday, July 25, 2025 at 06:00:07 AM EDT, <oberon-request@lists.inf.ethz.ch> wrote:
Send Oberon mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Oberon digest..."
Today's Topics:
1. Re: [SPAM] [SPAM | WERBUNG] Re: Is there an Oberon System 3
or 4 version known to work on modern Linux kernels? (Michael Schierl)
2. Re: Is there an Oberon System3 or 4 version known to work on
modern Linux kernels? (Rochus Keller)
----------------------------------------------------------------------
Message: 1
Date: Thu, 24 Jul 2025 23:28:02 +0200
Subject: Re: [Oberon] [SPAM] [SPAM | WERBUNG] Re: Is there an Oberon
System 3 or 4 version known to work on modern Linux kernels?
Content-Type: text/plain; charset=UTF-8; format=flowed
Hello Rochus,
Am 24.07.2025 um 02:19 schrieb Rochus Keller:
>
> In case anyone is interested, I migrated a subset of the Are-we-fast-yet benchmark suite to Oberon 90
> and run it on the Oberon System V4 release 1.7 x86 on two different machines and Linux versions.
>
> The summary can be found at github.com/rochus-keller/Are-we-fast-yet/blob/main/Oberon90/Results/Summary.md
> It compares the Oberon with the C performance with different optimization levels.
That does not surprise me at all. More interesting would be using a
"period correct" gcc version (i.e. something created at the same time as
the Oberon compiler, more like gcc2 than gcc12).
Or at least limit it to the instruction set emitted by the Oberon
compiler (I assume it is equivalent to -march=i386). Modern gcc versions
usually either target MMX or even AVX and this makes a huge difference
when unrolling loops with maths in them.
And on the other hand, when you want to see what an optimizing compiler
can do on your machine, use "-march=native -mtune=native" to generate
code that uses the exact instruction set of the machine you are
compiling on (Spoiler: Probably not much difference. However, it will
*decrease* the gap between 32-bit and 64-bit as the default 32-bit
target is something like Pentium2 and the default 64-bit target is quite
a bit newer).
Regards,
Michael
------------------------------
Message: 2
Date: Fri, 25 Jul 2025 02:21:38 +0200
Subject: Re: [Oberon] Is there an Oberon System3 or 4 version known to
work on modern Linux kernels?
Content-Type: text/plain; charset=utf-8
@ Michael Schierl
Thanks for the feedback. I didn't look at the details of the OP2 code generator, just at the
modification history. The version included with the Oberon System V4 in use is not younger
than 1997, and the modification date of the source files is 2004. The Pentium Pro (i686)
appeared in 1995. Both GCC versions I used default to i686, so I left the architecture as is.
Unfortunately I don't have "period correct" GCC versions, but I think it is fair to assume that at
least the -O0 version could be expected to have generated code with similar performance as
todays versions.
To be on the safe side, I re-run the benchmarks on the EliteBook with GCC 4.8.2 with explicit
"-march=i486 -mno-mmx" options. The comments in the Oberon source code state
"code generator for Intel i386, i387/ i486", so I assume that -march=i486 is a fair choice
(-mno-mmx is redundant when using -march=i486).
I added the results to a new sheet in the file "Results Mint Rebecca HP EliteBook 2530p.ods".
As you can see, the results are pretty much the same. Maybe NBody would have rendered a
bigger difference, but it doesn't work so far, and I didn't use it.
Best regards
R.K.
------------------------------
Subject: Digest Footer
--
------------------------------
End of Oberon Digest, Vol 253, Issue 8
**************************************