logoalt Hacker News

jacknewstoday at 2:39 AM3 repliesview on HN

Only passingly related, some fun rust stack-allocation insanity by my 17yo son:

https://ogghostjelly.github.io/slog/alloca.html


Replies

matheusmoreiratoday at 6:13 AM

This is great. I'm learning Rust myself and your son's article contributed to my knowledge.

I'm also very impressed by part 2. I have my own lisp but I haven't managed to implement a compiler or code generation yet. Really enjoyed reading about the hashmap too. The textbook solution to collisions is probing and comparison. It never occurred to me that I could just resize the underlying array until the collisions disappear altogether.

anitiltoday at 5:16 AM

Very impressive for a 17yo!

jjicetoday at 3:27 AM

17? You should be very proud. This is good work for anyone, but especially at his age!