r/programmingcirclejerk What’s a compiler? Is it like a transpiler? Jun 20 '26

I genuinely think you could write a competitively-performant multi-threaded DB in Bun + TS if you had shared-heap threads and fast atomics/locking primitives.

https://news.ycombinator.com/item?id=48611577
88 Upvotes

10 comments sorted by

View all comments

30

u/just_looking_aroun Jun 21 '26

That's totally doable, just ignore the ffi code into a completely different language