Hacker News new | ask | show | jobs
by KeplerBoy 1068 days ago
Aren't file transfers done by the kernel via sys-calls?

All languages would be equally fast, given they don't do something stupid like reading and writing individual bytes.

1 comments

They both boiled down to a sendfile call, effectively. The differences came to runtime weight, and parallelism strategy/implementation. It turns out that not having to pay for object headers/stack allocation by default, helps a lot more than I anticipated. I did this to actually measure what the difference was.