Live data from Hacker News

Show HN: Going into freshman year, figured I should build an interpreter

news.ycombinator.com

31–40 of 84 posts

Re: Show HN: Going into freshman year, figured I should build an interpreter

#31
post #14

Earlier quoted context omitted.

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.

_someone_ has to learn to build runtimes

_someone_ “else” :)

Re: Show HN: Going into freshman year, figured I should build an interpreter

#33

Since you're going into your freshman year I'll offer my college advice as a current senior. The moment that you feel a class will be covering something you already know, reach out to your advisor and the professor. I personally wasted far too much time in intro classes that could've been easily bypassed. While easy A's are great for the GPA, it's better to spend your time and money actually learning.

[deleted]

Re: Show HN: Going into freshman year, figured I should build an interpreter

#34
post #28

This is seriously impressive. I’m also just about to enter college for software engineering and projects like this make me concerned about how I’m even gonna compete with such skilled peers.

The skills of work are only partially overlapping with coding skills, so you’ll have new kinds of angst later.

Re: Show HN: Going into freshman year, figured I should build an interpreter

#35
post #28

This is seriously impressive. I’m also just about to enter college for software engineering and projects like this make me concerned about how I’m even gonna compete with such skilled peers.

If it helps I would absolutely struggle to do this as a dev with 9 years experience. You’ll never totally shake imposter syndrome in a field where you can easily see such excellent projects routinely.

Hasn’t hurt me from finding interesting jobs that pay well!

Re: Show HN: Going into freshman year, figured I should build an interpreter

#36

Nicely done. You'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.

Ya, but would you rather spend the summer enjoying summer or writing C

This assumes you don't enjoy writing C

Re: Show HN: Going into freshman year, figured I should build an interpreter

#38

Earlier 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.

Maybe it is on a PDP-11 . . .

Re: Show HN: Going into freshman year, figured I should build an interpreter

#39
Here's perhaps some unexpected and unsolicited advice... so pretty clearly you aren't going to have a hard time with the CS curriculum (assuming that's what you intend to study) so my $0.02 is - find a second or even third major to augment your skill set. If you are already able to get to this level on your own, you'll likely breeze right through a typical undergrad CS course of study. So consider other courses of study that might be a bit more of a challenge / might give you an even broader skill set four years from now when you enter the workforce or consider grad school.

Re: Show HN: Going into freshman year, figured I should build an interpreter

#40
post #11

[flagged]

This is bad advice.

> several better options these days

Every other option requires you to buy into some additional paradigm-of-the-day.

You can easily lose decades going down the wrong programming rabbit holes.

Post reply on HN