3 ms·
GC changes the performance profile of allocations, specifically. If your code is written to use static memory you won't experience GC pauses, but languages like
by crq-yml 3y ago
GC changes the performance profile of allocations, specifically. If your code is written to use static memory you won't experience GC pauses, but languages like JS that employ GC intentionally steer you towards allocating to do, e.g. string processing, so you have to go out of your way to make JS fast in this way.
WASM now has GC, since a goal is to support alternative scripting environments and e.g. run a mixture of Rust and Python code in the browser.