Show HN: Going into freshman year, figured I should build an interpreter
11–20 of 84 posts
Re: Show HN: Going into freshman year, figured I should build an interpreter
#12Re: Show HN: Going into freshman year, figured I should build an interpreter
#13[flagged]
Re: Show HN: Going into freshman year, figured I should build an interpreter
#14[flagged]
Re: Show HN: Going into freshman year, figured I should build an interpreter
#15[flagged]
I'd say C is actually a pretty good choice for an educational project like this. Having to write out all of your data structures by hand and manage your memory manually is a good learning experience, and since you're not writing serious production code, you don't have to worry too much about making mistakes.
Re: Show HN: Going into freshman year, figured I should build an interpreter
#16[flagged]
It’s not usually a great idea for production code anymore, but for learning it’s fantastic.
Re: Show HN: Going into freshman year, figured I should build an interpreter
#17[flagged]
C is like a high level assembly language. It maps very closely to how the computer actually runs programs. That, and it’s simplicity, make it a great way to learn. It’s not usually a great idea for production code anymore, but for learning it’s fantastic.
Re: Show HN: Going into freshman year, figured I should build an interpreter
#18You're a freshman, picked up C over the summer, and have already built an interpreter for a language that you haven't officially been taught yet, and have a blog with a couple dozen posts.
I'll be honest, people with achievements like yours make me feel pretty worthless.
Re: Show HN: Going into freshman year, figured I should build an interpreter
#19Earlier quoted context omitted.
C is like a high level assembly language. It maps very closely to how the computer actually runs programs. That, and it’s simplicity, make it a great way to learn. It’s not usually a great idea for production code anymore, but for learning it’s fantastic.
That old chestnut. C is nothing remotely like an assembly language, of any kind. It is a low-level programming language, but only compared to most languages. Disassemble some compiled C code sometime -- it's another world entirely.
Re: Show HN: Going into freshman year, figured I should build an interpreter
#20Congratulations, this is great. Have you thought about spending some time writing down what you had to learn and how you went about figuring out what to learn in order to do this? I think it'd be even more interesting than the language itself.