Compilers, perf, web platforms. Creator of the k1 programming language and ffc.h (fast float parsing in C)

Richmond, VA
Joined July 2009
Some reflections on naming.
4
15
10
183
63,442
Theres a peril in reading only the diffs that an agent produces. It's (nearly) a given that the change is going to be locally valid with itself. Your job is to gauge its coherence with the rest of the code that you are quickly losing touch with. Best to open those files up, read the surrounding and called code, and let it soak for a bit.
2
1
10
366
Percolate the essence of my feedback into the rest of the code please
1
80
Brady Haran: Terence, you use a lot of great analogies. Do you think of them on the spot, or do so many interviews these days you have them prepped? Terence Tao: Well, you see, in mathematics some people are foxes and some are hedgehogs... I am dying 😂 youtu.be/bAnwMdfcMVw?t=572
4
415
First minute of this video but replace 'proof' with 'code' and that's where we are right now. Proofs were scarce, now they're abundant. Working code was scarce, now it's abundant. And our job is to sculpt it, wade through it, learn to judge it, often discard it (after saying either thank you or good riddance), maybe learn from it, or maybe decide to learn nothing from it. youtu.be/bAnwMdfcMVw?is=cx_i…
1
7
214
Where was the borrow checker hole when I actually needed it
This soundness failure in rustc has been making the rounds for how basic an error it is. I looked into how the borrow checker works at a high level and computed by hand what I'm pretty sure is happening here, if anyone's interested.
124
Koleman Nix retweeted
Optimizing k1 28x faster than llvm via in-house SROA and mem2reg
1
4
331
Spotting fake resumes is a decent 'independent critical thinker' test
1
85
whats stopping you from compiling like this
1
1
82
A few weeks ago I posted about my programming language k1 typechecking 1 million lines per second. Tonight the same program clocks in at 1.7 million lines per second I'll never have to wait for typechecking again.
1
3
171
This is heavy code too; designed to stress the typechecker particularly in generic inference and instantiation load
36
Koleman Nix retweeted
Replying to @pikuma
making software is 100% art ART, n. “The disposition or modification of things by human skill, to answer the purpose intended. In this sense art stands opposed to nature.” Webster's 1828 (the best dictionary by the way) Because ’the programmer, like the poet, works only slightly removed from pure thought-stuff’ (Brooks, 1975) there is an incredible amount of discretion to apply when searching the space of possible designs. It is in this phase that our ideas and desires encounter the constraints of our medium; this is why so many interesting and high-leverage decisions do not occur until programming begins.
2
2
7
503
k1 typechecks your sql queries at compile-time against your actual schema. In under 100ms per check
3
293
hard limits? statically bounded memory usage? compile-time integers as parameters to types? In a simd-accelerated map that performs within a few % of hashbrown? Yes please
3
110
Me, temping my meatballs. "The heat is here, it's just not evenly distributed."
1
2
88
150 in the sauce and 190 in a bubbly spot for right beside it, bit surprising
27
datastar.js is literally just inside the binary in my little prototype k1 web framework here; truly single-file web platform running on libuv, sqlite, and datastar. As close to the platform as you can get! k1: thin corelib, then the OS, nothing in-between datastar: the web itself is the framework sqlite: directly manipulating files on disk; no separate server
2
182
Soon also k1, fastest feedback with equivalent strength of type system in existence!
The best language for LLMs is the one that provides fast feedback. The irony is that this quality makes it best for humans as well, yet somehow the entire software development industry has completely ignored it. Such languages have been available for years: CL and Clojure
3
237