Hacker News new | ask | show | jobs
by yurymik 1365 days ago
You don't need to avoid _all_ system calls. Just call sbrk/VirtualAlloc/vm_allocate once and then dole out smaller chunks yourself.

That way if you need to add new platform, it's only one place; you're shielded against weird platform bugs (Apple goes one way, Microsoft the other), so the app behaves the same; you can tweak system to your particular use.