by potatochup · 5y ago · 0 comments
Is that just an analogy between Kernel and userspace from operating systems? Or is it an actual term used for programming languages, when abstract from an operating system?
If I was running zig on a bare-metal embedded device, and wrote my own heap allocator, is it appropriate to call that a "userspace" heap allocator?
At a language level, zig does not have a "new" or a "malloc" or anything of the sort.