3 ms·
> However, it doesn't have any library calls that I'm aware of that are equivalent to C's malloc() and free(). You'd have to supply your own. The malloc/free e
by arc776 7y ago
> However, it doesn't have any library calls that I'm aware of that are equivalent to C's malloc() and free(). You'd have to supply your own.
The malloc/free equivilents are in the system module: https://nim-lang.org/docs/system.html#alloc%2CNatural https://nim-lang.org/docs/system.html#alloc%2CNatural