Re: [Oberon] Oberon-1 or Oberon-2?
Date: Wed, 29 Oct 2014 08:07:36 +1030 From: "Chris Burrows" <chris@cfbsoftware.com>
If you are considering porting Oberon / Oberon-2 or Component Pascal to a new platform, investigate which languages are currently being used to develop the sort of applications that you want to implement, and the libraries that you want to use on that platform. If they are predominantly written in C then Oberon might well be adequate. If they are written in C++ and extensively using the O-O features of C++ then Oberon-2 would likely be more suitable. If they are written in C# then you will find that Component Pascal for .NET is the most compatible.
Chris: this is a very good comment. I know where it is coming from: you are looking from the software perspective. If I was planning to work with Rpi, Arduino, Netduino, or one of your ARM development boards, then your proposition would make perfect sense. My plans are different, though. I want to focus on the FPGA, using the Oberon System 2013 as the starting point. Here I can see that The System was deliberately chopped down. I can see Professor's Wirth point in doing so for the purpose of updating his book. He was documenting the state of affairs in a given point in time, which predated V4, System-3, and all the subsequent work. This is fine. But from my perspective it would be more practical to start from the later point in time. Just compare the Linz V4 with the original Oberon System and you will see how much useful software went into the V4 distribution. Ditto with System-3. So from purely practical perspective I prefer to start from the more mature point in the Oberon System history. In order for this to happen the more recent version of the compiler needs to emit the RISC5 code. This is my current question to the community. Is there any chance that OP2 is updated to RISC5, or perhaps the Wirth compiler, whichever is more practical. Another option would be to ditch the RICS5 and use some other processor core which is served by one of existing OP2 back ends. I am not sure if this is a practical option. FYI, designing the appropriate FPGA board is a piece of cake compared with porting the compiler. I can do the former, but not necessarily the latter. And frankly, why should I try to perform the task which others in this community can do much better than I can? Regards, Wojtek
Hello, On Wed, 29 Oct 2014 11:38:25 -0400, skulski@pas.rochester.edu wrote:
If I was planning to work with Rpi, Arduino, Netduino, or one of your ARM development boards, then your proposition would make perfect sense.
I am a software guy too, and seeing for example a Banana Pi for less than €40 I don't get it. Whats wrong with these boards? Where is the advantage of the FPGA approach.
My plans are different, though. I want to focus on the FPGA, using the Oberon System 2013 as the starting point.
Why? I really don't understand. From the recent discussion here I remember the FPGA board used is out of production. Replacement is not available with the same features. Ethernet or USB is not available and most likely never will. I understand for Professor Wirth's goals in education and research this is an impressive achievement to be in control of the whole machine but my interest is a usable "desktop" machine with a GUI of some sort. That means Screen, Mouse, Keyboard, Ethernet and most likely USB.
FYI, designing the appropriate FPGA board is a piece of cake compared with porting the compiler. I can do the former, but not necessarily the latter. And frankly, why should I try to perform the task which others in this community can do much better than I can?
Really? I would say it's the complete opposite ;-) Greetings and hoping not to tread on so.'s toes here Christian
Hi As we see in this discussion: There are HW guys where building and soldering a board is a piece of cake and there are the softies where writing code is rather like eating or breathing :-) The whole idea of the RISC5 project was to dismiss this HW/SW discussion and demonstrate how a complete computer system works from A to Z: It needs a programming language, it needs a compiler, it needs an operating system with its HW drivers and it needs HW. If you take existing programming languages, existing OSes, existing compilers and existing CPUs you cannot teach the students the basic concepts of these computer parts as you are distracted by too many details. Try writing a compiler for the latest Intel processor: you get nuts to really take benefits of all bells and whistles these powerful CPUs deliver. If you start writing a compiler for C or C++ language you get nuts by the thousands of exceptions you would have to handle. All can be done and actually has been done but this is not something you want to teach at university. Professor Wirth wanted always to make things as simple as possible to teach the basic concepts of computer science. So, he invented his own minimal OO language, built his own compiler for it generating his instruction set, and the built an OS around it. What was missing was a HW that really executed his instruction set. Having experimented with quiet a few existing CPUs, he always found the compiler gets too complex to teach how a compiler works. Finally, with the help of FPGA he was able to build his own CPU HW without going through an expensive ASIC production. Adapting an existing compiler to generate RISC5 code could be a nice semester work or so. But I fear that ETH is not interested in doing it as the current professors have other topics of interest. But I'm with Chris: Project Oberon is a great achievement for education. I would wish there is an active community taking care of this project and adding things to it (like Chris mentioned eg. Ethernet). In its current state it's too simplistic and I guess will not find a lot of friends :-( br Jörg -----Original Message----- From: skulski@pas.rochester.edu [mailto:skulski@pas.rochester.edu] Sent: Mittwoch, 29. Oktober 2014 16:38 To: oberon@lists.inf.ethz.ch Cc: skulski@pas.rochester.edu Subject: Re: [Oberon] Oberon-1 or Oberon-2?
Date: Wed, 29 Oct 2014 08:07:36 +1030 From: "Chris Burrows" <chris@cfbsoftware.com>
If you are considering porting Oberon / Oberon-2 or Component Pascal to a new platform, investigate which languages are currently being used to develop the sort of applications that you want to implement, and the libraries that you want to use on that platform. If they are predominantly written in C then Oberon might well be adequate. If they are written in C++ and extensively using the O-O features of C++ then Oberon-2 would likely be more suitable. If they are written in C# then you will find that Component Pascal for .NET is the most compatible.
Chris: this is a very good comment. I know where it is coming from: you are looking from the software perspective. If I was planning to work with Rpi, Arduino, Netduino, or one of your ARM development boards, then your proposition would make perfect sense. My plans are different, though. I want to focus on the FPGA, using the Oberon System 2013 as the starting point. Here I can see that The System was deliberately chopped down. I can see Professor's Wirth point in doing so for the purpose of updating his book. He was documenting the state of affairs in a given point in time, which predated V4, System-3, and all the subsequent work. This is fine. But from my perspective it would be more practical to start from the later point in time. Just compare the Linz V4 with the original Oberon System and you will see how much useful software went into the V4 distribution. Ditto with System-3. So from purely practical perspective I prefer to start from the more mature point in the Oberon System history. In order for this to happen the more recent version of the compiler needs to emit the RISC5 code. This is my current question to the community. Is there any chance that OP2 is updated to RISC5, or perhaps the Wirth compiler, whichever is more practical. Another option would be to ditch the RICS5 and use some other processor core which is served by one of existing OP2 back ends. I am not sure if this is a practical option. FYI, designing the appropriate FPGA board is a piece of cake compared with porting the compiler. I can do the former, but not necessarily the latter. And frankly, why should I try to perform the task which others in this community can do much better than I can? Regards, Wojtek -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (3)
-
chris -
Jörg -
skulski@pas.rochester.edu