Could someone port this to TypeScript, please? 🙏
#opensou
Inspired by this talk, I built a linter to find the structure problems in the codebase.
It found 23 issues in bbtree (fixed!), and significantly reduced tokens/task because relevant contexts are much closer to each other.
Try it out: github.com/deterministic-mac…
7
Bun AoT se equipara ao Go
Com IA, na web só faz sentido Bun e Rust
Como fica o futuro das outras langs? IA tende a monopolizar em 2 langs tudo?
27
Meu CI:
Intala deps, +1000 pacotes (sem cache)
Roda lint, fmt e knip (tenho mais 250 regras configuradas) em todos os arquivos
Roda check (bun e astro check) em +300 arquivos
Roda +1500 testes não mock, cada um com db real e isolado (surrealdb embedded)
Roda tudo em 35sec 😎
Our full CI pipeline is now sub 1 min. Here is what I did:
- Vitest -> bun test
- tsc -> bun check
- oxlint -> bun lint
- oxfmt -> bun fmt
- shards filled by recorded test time
- PRs run only the tests the diff can reach
- backend builds the app once per process
- lint, typecheck, build and tests all in parallel
200+ hours of waiting saved every week
CARALHO
statement mais foda de desenvolvimento
CACHE É COISA DE PREGUIÇOSO
APAGUE TODO O CACHE
FAÇA O APP SER RAPIDO.
some things I often say to claude when doing perf optimization work:
> how do we rewrite this to better leverage data-oriented design principles
> can you replace those hash tables with a flat array? can we make the pointers an index into the array? can we pack the most commonly used data into upper bits of the index?
> caching is cope for a slow design. do not add caches and delete all existing caches. instead, redesign it to be faster
> should this be a structure of arrays instead of an array of structures?
Guilherme retweeted
É O META
- Opus 5.5 como orquestrador/planejador
- DSv4.1 Flash 1017 como executor/implementador
Replying to @ChristoPy_
Não faz mais sentido dev não ser o cara de produto, já que o código agora é fácil
"Instead of you rewriting in Rust, we rewrote JavaScript's compiler to emit native code ahead of time"
Merging Bun AOT next week, then testing on Claude Code
Expecting 2-3x less memory + CPU & a slightly smaller binary
This is the future of server-side JavaScript
Instead of you rewriting in Rust, we rewrote JavaScript's compiler to emit native code ahead of time
45














