3 ms·
This alternative (by me) covers char, int, etc with a compiletime inlined generic api much the same way SDS does strings https://tse.gratis/aArray/ https://tse
by tsegratis 7y ago
This alternative (by me) covers char, int, etc with a compiletime inlined generic api much the same way SDS does strings
https://tse.gratis/aArray/ https://tse.gratis/aArray/
aStr("string"); then aMap aFold aConcat, etc, but aAppend(&array,'\0') needs to be done manually if passing to standard str functions. This is so long* or whatever arrays can have the same interface
- cmrdporcupine 7y agoNice. I wrote myself up a quick C++ wrapper just now. Will play with this. Intend to use on embedded/bare-metal systems with no C stdlib, so will have to rip out the printfs and the like.
- tsegratis 7y agoWow, sounds neat! Look forward to seeing what you create