3 ms·
Well, an allocator is something your system might just not need. Rust doesn't come with an allocator either, if I only have say 16384 bytes of RAM maybe I don't
by tialaramex 5y ago
Well, an allocator is something your system might just not need. Rust doesn't come with an allocator either, if I only have say 16384 bytes of RAM maybe I don't want an allocator, I can write down what I'm using each byte for.
But C doesn't come with functions like memcmp() and memcpy() or memmove() either and those are pretty fundamental even if you're on a tiny constrained system that can't aspire to stuff like "strings" and "allocation" you've probably heard of data structures and copying.