No description
Find a file
2024-10-26 13:14:29 +03:00
.github initial 2024-09-27 14:53:08 +03:00
src fix refc, early destroy, some wasMoved impls 2024-10-26 13:14:29 +03:00
tests fix refc, early destroy, some wasMoved impls 2024-10-26 13:14:29 +03:00
.gitignore initial 2024-09-27 14:53:08 +03:00
manta.nimble add growablearray, cycle test, uncheckedindex, fix readme 2024-10-09 23:20:42 +03:00
README.md fix refc, early destroy, some wasMoved impls 2024-10-26 13:14:29 +03:00

manta

Arrays with constant runtime length in Nim, with destructors to support Nim's memory management, as well as a choice between value (Array[T]) or reference (RefArray[T]) semantics. Very basic examples in tests. Potential place for more user-managed collection types in the future.

Depends on the unsafeNew API from Nim to work which seems to have existed for a long time but may be unstable on the new memory management options.

Warning for security critical applications: Not vetted for leaks/UB/memory access issues, ideally would be done with CI.