← Back to all articles

Eli Bendersky

Engineer at Google. Writes detailed technical posts on compilers, Go, Python, and computer science fundamentals.

https://eli.thegreenplace.net

Articles

Notes on Lagrange Interpolating Polynomials

Polynomial interpolation is a method of finding a polynomial function that fits a given set of data perfectly. More concretely, suppose we have a set of n+1 distinct points [1]: \[(x_0,y_0), (x_1, y_1

Notes on Linear Algebra for Polynomials

We’ll be working with the set P_n(\mathbb{R}), real polynomials of degree \leq n. Such polynomials can be expressed using n+1 scalar coefficients a_i as follows: \[p(x)=a_0+a_1 x + a_2 x^2 + \cdots +

Rewriting pycparser with the help of an LLM

pycparser is my most widely used open source project (with ~20M daily downloads from PyPI [1]). It's a pure-Python parser for the C programming language, producing ASTs inspired by Python's own. Until

Compiling Scheme to WebAssembly

Author added a WebAssembly compiler to Bob, their 15-year-old Scheme implementation project, which already includes Python and C++ VMs.

Plugins case study: mdBook preprocessors

mdBook's preprocessor plugin system lets external programs modify book content before rendering, supporting any language to transform Markdown files.

Notes on the WASM Basic C ABI

WebAssembly's Basic C ABI defines how C programs are represented in WASM, used by Clang and Rust for interoperability between compilation tools.