Lec 1 | MIT 6.035 Computer Language Engineering, Fall 2005
Top Comments
All Comments (26)
-
OCW is one great initiative. Thanks, MIT.
-
@all028 Last semester I took a compiler class in my universaty. The assignment was to build a bc-alike calculator. But I asked the professor to write something more challenging, then I wrote a LLVM based C-alike compiler, that I am currentlly planning to extend it to include untyped lambda expressions.
It is not that hard, just grab FLEX and Bison, and in a week or so you might end up with something you might call a compiler
-
@TheUberphil My linear algebra teacher used to come into the room and ask "So how are you fuckers doing today?" College is a great place sometimes. :)
-
@vaf88 expensive; dry but worth it (Y)
-
this last sheet.........
-
But of course, a robust compiler won't have that kind of intuition
-
You can further optimize his code by using Faulhaber's formula (sum of pyramidal squares) to replace t*t in the loop.
-
Instructor is Saman Amarasinghe
/people.csail.mit.edu/saman/
-
@tradingpilot - What did you take instead? I found computer science to be hard at the time but now, in retrospect, I actually like programming!



Ignore first 17 minutes.
darijo203 2 years ago 33
One thing I've always wanted to learn is how to write a compiler. It was one regret that I have for not learning it in school. (I was a lazy student). Now that I'm working, I never have time.
Thank you for posting this...
all028 2 years ago 13