Hi, I was wondering what can go wrong (and how to fix/prevent it ofc) if i create a nim string out of my own buffer which I have preallocated using alloc()
The reason I do this is ofc copy prevention. And the way I create that string is exactly like system/strs_v2.nim i only set the pointer to my own buffer.
My own guess is the after free problem, but sample code I wrote for my self currently passes basic string tests...