2 ms·
But these are stdlib features, not language features. "Proper" strings, arrays, slices, tagged unions, etc... would need to be integrated into the language (un
by flohofwoe 4y ago
But these are stdlib features, not language features.
"Proper" strings, arrays, slices, tagged unions, etc... would need to be integrated into the language (unless you want to end up with a mess like C++).
- uecker 4y agoI am exploring way on how to implement this in C (with some extensions) as a library: https://github.com/uecker/noplate https://github.com/uecker/noplate Certainly not production ready.
- pjmlp 4y agoNot really, something like sds for strings would be doable. For arrays you may be right, possibly a fat pointer like suggested by Denis himself.