mratsim
- 14 skills
- 0 followers
- 6 hours ago last updated
- ▌ Debugging · mratsimDebugging techniques and tools for Constantine cryptographic code. Use debugEcho, toHex, debug: template, and stack trace flags when debugging Nim crypto implementations.
- ▌ Performance Investigation · mratsimProfile and identify performance bottlenecks in Constantine cryptographic code using metering and benchmarking tools. Use when optimizing cryptographic algorithms, analyzing hotspots, or comparing implementations against reference benchmarks.
- ▌ Serialization Hex Debugging · mratsimConstantine serialization and hex debugging conventions. Use when serializing cryptographic types, parsing bytes, debugging values with toHex, or working with BLS12-381, Banderwagon, or ECDSA codecs.
- ▌ Seq Arrays Openarrays Slicing Views · mratsimNim seq, arrays, openarray, slicing, and views best practices for zero-allocation cryptographic code. Use when working with buffers, slicing data, or managing memory in Constantine to avoid heap allocations and side-channels.
- ▌
- ▌ Regex · mratsimRegex functionality in Nim including std/re, std/nre wrappers around PCRE, and the pure Nim nim-regex alternative with linear-time matching guarantees
- ▌
- ▌ Testing · mratsimHow tests are written in this repo — fixture suites, analytic suites, the assert surface, the linters
- ▌
- ▌
- ▌ Writing Docs · mratsim bundleRepository documentation contract for the Tattletale monorepo: the house style for doc comments, module headers, inline comments, and any committed prose (what-over-how, contracts over narration, banned-vocabulary blocklist, format rules, eight canonical reference files). Use when writing or updating doc comments, module headers, inline comments, or any prose in this repo, or when de-sloping existing comments.
- ▌
- ▌ Python Interop · mratsimNim to Python interoperability including nimpy for calling Python from Nim and exporting Nim to Python, nimporter for packaging Nim modules as Python packages, and cffi/ctypes for calling Nim from Python
- ▌