Better HN
topnewbestaskshowjobs
Log inSign up

kromych

5 karma · joined Mar 24, 2023 (3y ago) · 6 submissions

Submissions

1.

In which a traveling salesman digs π out of LLM temperature math(hexbites.dev ↗)

1 points · by kromych · 1d ago · discuss

comment 5mo ago · link · parent

It can (cross-)build Python 3.14 on 5 targets as well as sqllite3, other libraries, and passes their test suites. For extra fun, it can produce native/NT images and Windows drivers (EFI as well, didn't test though). I also stood up lots of validation in CI to make sure it works and gives enough perf to the compiled code despite being quite speedy to compile.

Some time ago I just needed to tweak what a compiler was emitting, and thought perhaps I should learn how to use the modern tools for producing code. And that really got out of hand as I love compiler and OS/hypervisor programming so decided to build a nimble compiler that would optimize but not too much, just enough not to be embarassing :D

I built it with Claude Opus 1M 4.6-4.8. Wasn't autonomous, I was directing it and helping with debugging. There were times when I was writing algorithms down with a pencil on a paper from the Dragon and the Dinasour books to make sure I understand, and I didn't have a computer, too, lol. So adjusting to the new brave world another time!

3.

Badc – optimizing cross-platform C compiler built with Claude(github.com ↗)

3 points · by kromych · 5mo ago · 2 comments

comment 3y ago · link · parent

Standards are much like religions imo: they promise to give the eternal life but the details are tbd. I chose to be practical.

comment 3y ago · link · parent

Here is with support for aarch64 and more: https://github.com/kromych/tls-curious/blob/master/lib.c