Re: why teach about compilers, was Java compiler courses

Robert A Duff <bobduff@shell01.TheWorld.com>
29 Apr 2007 23:28:21 -0400

          From comp.compilers

Related articles
Java compiler courses wookiz@hotmail.com (wooks) (2007-04-20)
Re: Java compiler courses 148f3wg02@sneakemail.com (Karsten Nyblad) (2007-04-25)
Re: Java compiler courses gneuner2@comcast.net (George Neuner) (2007-04-26)
Re: why teach about compilers, was Java compiler courses 148f3wg02@sneakemail.com (Karsten Nyblad) (2007-04-29)
Re: why teach about compilers, was Java compiler courses gneuner2@comcast.net (George Neuner) (2007-04-29)
Re: why teach about compilers, was Java compiler courses bobduff@shell01.TheWorld.com (Robert A Duff) (2007-04-29)
Re: why teach about compilers, was Java compiler courses danwang74@gmail.com (Daniel C. Wang) (2007-05-04)
Re: why teach about compilers, was Java compiler courses cdsmith@twu.net (Chris Smith) (2007-05-04)
Re: why teach about compilers, was Java compiler courses gneuner2@comcast.net (George Neuner) (2007-05-04)
Re: why teach about compilers, was Java compiler courses torbenm@app-7.diku.dk (2007-05-07)
Re: why teach about compilers, was Java compiler courses torbenm@app-7.diku.dk (2007-05-07)
Re: why teach about compilers, was Java compiler courses stevem@ans.com.au (Steve Murray) (2007-05-09)
[1 later articles]
| List of all articles for this month |

From: Robert A Duff <bobduff@shell01.TheWorld.com>
Newsgroups: comp.compilers
Date: 29 Apr 2007 23:28:21 -0400
Organization: The World Public Access UNIX, Brookline, MA
References: 07-04-074 07-04-098 07-04-120 07-04-149 07-04-153
Keywords: courses
Posted-Date: 29 Apr 2007 23:28:21 EDT

George Neuner <gneuner2@comcast.net> writes:


> On 29 Apr 2007 09:18:24 -0400, Karsten Nyblad
> <148f3wg02@sneakemail.com> wrote:
>>or a curse in real time programming.
>
> No. Speaking from more than a decade of experience in commercial RT
> systems, RT does not belong being taught in any CS program.


There is an interesting article here:


http://www.stsc.hill.af.mil/crosstalk/2000/08/mccormick.html


about a course in real-time systems. The project was to build some
sort of software-controlled model railroad. The course was given for
many years, and they tried using C and they tried using Ada. None of
the students using C were able to implement the minimum project
requirements, despite the fact that the instructors kept giving them
more and more code to start with -- up to 60% of the project code.
Most of the students using Ada were able to do it, despite the fact
that the instructors gave them much less code to start with (less than
20%).


> And by the way - course is spelled C O U R S E.


In some cases, curse might be more accurate. ;-)


By the way, if I were teaching a compiler course, I would use OCaml or
Ada, neither of which is perfect. I would not use C or C++, and
probably not Java. As others have said, the goal is to teach general
principles about compilers, not to waste time fooling about with
low-level debugging.


- Bob


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.