For the last 15 years, I regularly code-read interesting projects and write my own notes about code & arch as I go. This time I'm reading @prisma's codebase.
In one word: clever.
Rarely I come across codebases that tick all the boxes and take all the right trade-offs.
with my commercial projects, I usually find "unfair" advantages; eat the cake and have it too.
* Userland API in a malleable programming language and infrastructure code in Rust, you pay no overhead.
* The extremely right tool for the job
* "Payment" with good interop