manta

runtime array types with destructors

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.2
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:26

Authors

  • metagn

Installation

nimble install manta
choosenim install manta
git clone https://github.com/metagn/manta

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
manta - - - - - - -

Dependencies

Package Version Optional
nim >= 1.6.0 No

Source

Repository https://github.com/metagn/manta
Homepage https://github.com/metagn/manta
Registry Source nimble_official

README

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: Not vetted for leaks/UB/memory access issues, ideally would be done with CI.