Episode

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

Podcast
The Backend Engineering Show with Hussein Nasser
Published
Sep 20, 2024
Duration seconds
1241
Processing state
not_requested
Canonical source
https://podcasters.spotify.com/pod/show/hnasr/episodes/How-many-kernel-calls-in-NodeJS-vs-Bun-vs-Python-vs-native-C-e2oedjm
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
JSON
/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
Markdown
/podcast/the-backend-engineering-show-with-hussein-nasser-847440/how-many-kernel-calls-in-nodejs-vs-bun-vs-python-vs-native-c.md

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