Re: [dev] Project Oberon

From: Paul Onyschuk <blink_AT_bojary.koba.pl>
Date: Sat, 22 Mar 2014 10:39:44 +0100

On Fri, 21 Mar 2014 19:38:36 -0400
Aaron Burrow <burrows.labs_AT_gmail.com> wrote:

> What do you think of minix 3?
>
> > cd ~/code/minix
> > find . -name "*.c" -or -name "*.h" | xargs wc -l
> ...
> 342686 total

It would be comparing apples and oranges.

Excluding Verilog sources, whole Oberon system is under ten thousand
lines of source code. Compiler itself is about 3KLOC. Even when you
take into account that code is written in denser style than
idiomatic C, it is still small. As a side note: limited RISC platform
constructed by Wirth has only 16 opcodes. I think this is one of the
reasons why emulator for this platform could be written using less than
one thousand lines of C code.

You could read Project Oberon in your spare time e.g. on crapper
(this is place of enlightenment according to Breaking Bad) and
understand how exactly it works from top to bottom. In many ways
Oberon is primitive, yet I perceive that as strength for what it is.

-- 
Paul Onyschuk
Received on Sat Mar 22 2014 - 10:39:44 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 22 2014 - 10:48:06 CET