@jarkko even though it looks like a straight port, what I’d like to see is an expert panel-reviewed library. Some functions need to be constant time, for example. The https://github.com/RustCrypto org claims to have at least a couple reviewed, but this is critical.
Frankly, I’m surprised that, unlike many other frameworks’ standard libraries, #rustlang - advertised as a secure language - has no crypto.
@pinkforest Like for instance. What would you possibly do with a re-allocating vector in any modern systems software? For small chunks, create large enough fixed arrays. For data that needs to scale dynamically however many gigabytes of addresses can be mapped with a total zero cost, and the #PF handler takes care of the rest. Finally there is an option to manually scale the space down with fallocate() (FALLOC_FL_PUNCH_HOLE).
This is standard stuff in modern C systems software. If this is over the top, then I tend to think that probably Java or Go would be better picks in the first place.I just use Python then because more than liking a tool, I like measurable value, which cannot be just my liking. Self-deception IMHO :-)