Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are entire languages built upon this model! Anything using the BEAM is a great example. Erlang, Elixir, Gleam, etc.

The runtime acts as an event loop and if a specific program is hogging too much time on the CPU, it will get paused and thrown to the back of the execution stack. This is all transparent (relatively) for the developer.

Here’s a video if you want to see an example: https://youtu.be/JvBT4XBdoUE




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: