Re:Deno vs. Bun performance is rigged
by simpsond on Sunday October 16, 2022 @12:43PM
(#33225014)
Copy on write fork mitigates some of that.
[ Parent
| on HN ]
Re:Deno vs. Bun performance is rigged
by squeaky-clean on Sunday October 16, 2022 @01:30PM
(#33225430)
There was a recent post about a new Ruby server implementation. The author pointed out that for interpreted languages, forking quickly deviates and gains very little benefit from copy-on-write. However! Pre-warming the first instance and then forking afterwards brought the memory savings back down to compiled levels. No real point to my comment except that it was new knowledge to me, and that efficiency of forking really depends on the implementation of what/when you're forking.