Hacker News new | past | comments | ask | show | jobs | submit login

The bigger problem with GC and standard allocators on embedded system is heap fragmentation, in my experience.



Couldn't agree more! One way I was fighting it (in Static Typescript [0]) is by increasing frequency of scans and allocating as close as possible to one side of the heap. Next time I think I'll just try to compact the heap.

[0] https://www.microsoft.com/en-us/research/uploads/prod/2019/0...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: