2 ms·
>You have more control here than you have even in C: To allocate bytes, you have to call alloc() on a specific kind of allocator You can write your own allocat
by intalentive 10mo ago
>You have more control here than you have even in C: To allocate bytes, you have to call alloc() on a specific kind of allocator
You can write your own allocator in C. You don't have to use malloc.
- bnolsen 10mo agoyou could fully redesign libc to be modern and toss out the null terminated string concept and use fat pointers and slices. But at that point why not consider moving onto a more modern language with things like explicit type conversions, modern PEG type grammar, etc.