top | item 44558097

(no title)

mollerhoj | 7 months ago

single threaded, memory requirements, function coloring

discuss

order

sesm|7 months ago

> 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.