/Max Bernstein

A Simple Search Engine From Scratch tl;dr: A guide to building a simple search engine from scratch using word embeddings (word2vec). It explains embedding words into vectors, computing cosine similarity to rank results, and includes implementations of terminal and web-based interfaces, along with thoughts on evaluation and improvements.

featured in #618


Writing That Changed How I Think About Programming Languages tl;dr: “Every so often I come across a paper, blog post, or video that completely changes how I think about a topic in programming languages and compilers. For some of these posts, I can’t even remember how I thought about the idea before reading it — it was that impactful.” Max shares some of these posts. 

featured in #616


Compilers For Free With Weval tl;dr: “It’s all about taking an existing program, modifying it to hold some of its inputs as constants, and then letting the compiler / optimizer go hog wild on it. The result is still a program — not a value — and it’s usually faster than the original program.”

featured in #516