this was my 3rd attempt at Bun AOT.
the first two were before bun check, and performed worse than the JIT.
it used bytecode instead of typescript types. binaries were sometimes 1 GB lol
trying attempt 4 now. doesn’t work yet
JJarred SumnerXView on Xbig draft pr
0
2 comments
The main mistake in the draft PR is the internals are not good enough.
Too many string lookups for things the AST already knows.
Why are only 38% of Claude Code’s types known?
Why are instruction counts for typed operations often higher than untyped?
Why are there like six parsing passes?
Why does the trimmer think Bun.Archive is in use when you have a property named “Archive” somewhere?
The results are exciting, but these questions sound like a bug farm.