# How many kernel calls in NodeJS vs Bun vs Python vs native C

> Episode of [The Backend Engineering Show with Hussein Nasser](https://podistic.com/podcast/the-backend-engineering-show-with-hussein-nasser.md) · Published September 20, 2024 · Duration 20:41

- **Listen on Podistic:** https://podistic.com/episode/how-many-kernel-calls-in-nodejs-vs-bun-vs-python-vs-native-c
- **Audio:** https://anchor.fm/s/1eb6d14/podcast/play/91747382/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2024-8-15%2F3cf7c368-f220-45ac-79c8-fbc49216e13a.m4a (audio/x-m4a)

## About this episode

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
