Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #3755
| From | ram@zedat.fu-berlin.de |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: A tiny self-hosting compiler used for teaching |
| Date | 2026-09-05 07:02 +0000 |
| Organization | Compilers Central |
| Message-ID | <26-09-003@comp.compilers> (permalink) |
| References | <26-08-007@comp.compilers> |
Michael Lehn <michael.lehn@uni-ulm.de> wrote or quoted: >In practice, we have seen the opposite. Since introducing ABC, students who >come to the course without previous programming experience have had a >noticeably easier time. They can first learn the programming concepts without >having to deal with some of C's syntactic peculiarities, and the later >transition to C or C++ has not been a problem. Writing a compiler requires implementing complex data structures (like symbol tables) and managing memory. If students have no prior programming experience, they must learn basic control flow, data structures, memory management and compiler theory simultaneously. This creates a steep learning curve, even with a simplified language. The claim that transitioning to C or C++ later "has not been a problem" is the most debatable point. While learning concepts first is beneficial, C requires a deep understanding of hardware interaction, manual memory management, and pointers - areas where students taught via idealized languages frequently struggle. [What language to teach first is an old and insoluble problem. When I was in school most places started with Pascal while MIT started with Lisp. That meant they were dealing with interesting data structures and introspection while we were still explaining how big to make an array. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: A tiny self-hosting compiler used for teaching Michael Lehn <michael.lehn@uni-ulm.de> - 2026-08-25 08:05 +0200
Re: A tiny self-hosting compiler used for teaching Cóilín Nioclásín Glostéir <thanks-to@Taf.com> - 2026-09-04 21:12 +0000
Re: A tiny self-hosting compiler used for teaching ram@zedat.fu-berlin.de - 2026-09-05 07:02 +0000
Re: A tiny self-hosting compiler used for teaching Michael Lehn <michael.lehn@uni-ulm.de> - 2026-09-05 19:47 -0700
Re: A tiny self-hosting compiler used for teaching George Neuner <gneuner2@comcast.net> - 2026-09-05 14:02 -0400
Re: A tiny self-hosting compiler used for teaching Michael Lehn <michael.lehn@uni-ulm.de> - 2026-09-05 19:50 -0700
Re: A tiny self-hosting compiler used for teaching ram@zedat.fu-berlin.de - 2026-09-05 07:02 +0000
Re: A tiny self-hosting compiler used for teaching George Neuner <gneuner2@comcast.net> - 2026-09-05 14:02 -0400
Re: A tiny self-hosting compiler used for teaching George Neuner <gneuner2@comcast.net> - 2026-09-07 15:23 -0400
Re: A tiny self-hosting compiler used for teaching Michael Lehn <michael.lehn@me.com> - 2026-09-05 22:58 -0700
csiph-web