# How many kernel calls in NodeJS vs Bun vs Python vs native C Page: 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 Text version: 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 Podcast: [The Backend Engineering Show with Hussein Nasser](https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440) Published: 2024-09-20T21:05:00+00:00 Episode link: https://podcasters.spotify.com/pod/show/hnasr/episodes/How-many-kernel-calls-in-NodeJS-vs-Bun-vs-Python-vs-native-C-e2oedjm Audio file: https://anchor.fm/s/1eb6d14/podcast/play/91747382/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2024-8-15%2F3cf7c368-f220-45ac-79c8-fbc49216e13a.m4a Processing state: not_requested JSON: 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 Duration seconds: 1241 ## Resource 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 ## Actions - request_transcript: `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. - read_markdown: `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. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.