Comment

Comment by pjmlp

The "stop the world" also affects C code in games, when malloc() is used in a loop, and the C standard library has to do a syscall into kernel space to get a fresh memory block.

https://sourceware.org/glibc/wiki/MallocInternals

Especially relevant anything describing how mmap() and sbrk() are being called.

The matter is not if the language has a GC or not, regardless of the GC algorithm(s) being used, rather what language primitives and standard library features are available to be taken advantage of, when required to do some low level coding.

Here is another set of examples, TinyGo, TamaGo or Oberon for tiny computers.

https://www.astrobe.com

https://tinygo.org/docs/reference/microcontrollers/boards

https://reversec.com/usb-armory

parent pjmlp 11 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton