from/prod
← All companies

THE COMPANY INDEX TRACKED BLOG

Jeremy Kun

Ideas, decisions, and lessons from the team.

jeremykun.com (opens on the source site)
7Posts tracked
5 days agoLatest publication
0.6Posts / month over the last 12 months

Latest writing

7 of 7 posts

Daring theory to care about the real world (opens on the source site)

I’m far removed from CS theory conferences these days, but one 2026 paper inspired me: “Beyond Smoothed Analysis: Analyzing the Simplex Method By-The-Book.” A stark relief to the drama of AI slop overtaking mathematics, this paper by Eleon Bach, Alexander E. Black, Sophie Huiberts, and Sean Kafer dares algorithm analysis to care about the real world in a way that I’ve become very sympathetic to over the years. The context is simple: since its inception, computer science has failed to explain why the simplex algorithm, that workhorse of modern operations research, performs well in practice.

Read at the source

After 20 years I finally learned what 'double buffering' is (opens on the source site)

After 20 years, I finally learned what ‘double buffering’ means. In 2006, I took Java programming in high school, and we made games. The book we were learning from had us learn from experience how displayed graphics jitter and tear if you write to a buffer as it’s being displayed. The solution, double-buffering, maintains two buffers: one you write to and one that is displayed and is read-only. Once you finish writing to the first buffer, you switch which one is being displayed and which one you write to, and you write the next frame.

Read at the source

CKKS — Rescaling (opens on the source site)

Table of Contents This is part of a tutorial series on the CKKS homomorphic encryption scheme. In the last article, we described the key switching and relinearization algorithms. Relinearization allowed us to restore the natural “two tuple” ciphertext structure after a homomorphic multiplication, but we did not address two more problems produced by multiplication. The first is that, because CKKS uses fixed-point arithmetic on its underlying plaintexts, multiplication produces a ciphertext encoded with a squared scaling factor $\Delta^2$ relative to the operands which have scale $\Delta$.

Read at the source

CKKS — Key Switching and Relinearization (opens on the source site)

Table of Contents This is part of a tutorial series on the CKKS homomorphic encryption scheme. In the last article, we described the ciphertext-ciphertext addition and multiplication operations. We ended with two challenges, one to restore the squared scaling factor $\Delta^2$ back to $\Delta$, and the other to convert a three-tuple ciphertext (decrypting under $(1, s, s^2)$) back to a two-tuple ciphertext (decrypting under $(1, s)$). This article covers the latter challenge, which is called relinearization.

Read at the source

CKKS — Addition and Multiplication (opens on the source site)

Table of Contents This is part of a tutorial series on the CKKS homomorphic encryption scheme. In the last article, we introduced symmetric and public-key encryption and decryption routines, and implemented modular polynomial arithmetic (using NTTs as a black box). This article covers the addition and multiplication operations performed on ciphertexts (without relinearization). Again, if you already know about CKKS, we are still avoiding the RNS form of the scheme and using a 64-bit modulus $Q$, which means that we’re momentarily ignoring cryptographic security.

Read at the source

Hotword detection in FHE on GPU in 350ms (opens on the source site)

A quick update on our homomorphic encryption compiler HEIR: our partners at Belfort have a hotword detector in FHE that runs in 350ms. More specifically, they launched a live demo at hotword.belfortlabs.com, that has a little game inspired by the NY Times Connections puzzle. Instead of typing in your guess for the word that connects a group of clues, you say it out loud. Your audio is encrypted under FHE, transitted to their server, and a hotword detector runs on it to determine which word you said (still encrypted).

Read at the source

CKKS — Encryption and Decryption (opens on the source site)

Table of Contents This is part of a tutorial series on the CKKS homomorphic encryption scheme. In the last article, we covered some groundwork about polynomials and the CKKS encoding method. This article covers the encryption and decryption routines. Notably, if you already know about CKKS, we will deviate from a usual treatment for explanatory purposes. In particular, we will first define CKKS encryption, decryption, and basic operations without using the residue number system (RNS).

Read at the source

Privacy choices

Reading never requires analytics. These choices last 90 days on this browser.

Essential sign-in and security storage always stays on. Read the privacy notice.