Hacker News new | ask | show | jobs
by mollerhoj 333 days ago
single threaded, memory requirements, function coloring
1 comments

> single threaded

The entire language is single thread. But I/O uses a separate thread pool.

> memory usage

Are you talking about extra 120 bytes per Promise?

> function coloring

How does it manifest in JS? You can `await` non-async function without any issues, anything potentially async is awaited, if it doesn't end up doing async inside there is no problem.