Episode
How many kernel calls in NodeJS vs Bun vs Python vs native C
- Published
- Sep 20, 2024
- Duration seconds
- 1241
- Processing state
not_requested
Actions
POST https://stenobird.com/v1/public/podcasts/the-backend-engineering-show-with-hussein-nasser-847440/episodes/how-many-kernel-calls-in-nodejs-vs-bun-vs-python-vs-native-c/transcription-requests
Idempotently request low-priority transcript generation for this episode.GET https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/how-many-kernel-calls-in-nodejs-vs-bun-vs-python-vs-native-c.md
Read the agent-friendly Markdown representation of this episode resource.
Summary
Fundamentals of Operating Systems Course https://oscourse.win In this video I use strace a performance tool that measures how many system calls does a process makes. We compare a simple task of reading from a file, and we run the program in different runtimes, namely nodejs, buns , python and native C. We discuss the cost of kernel mode switches, system calls and pe 0:00 Intro 5:00 Code Explanation 6:30 Python 9:30 NodeJS 12:30 BunJS 13:12 C 16:00 Summary