|
|
Log in / Subscribe / Register

Python cryptography, Rust, and Gentoo

Python cryptography, Rust, and Gentoo

Posted Feb 11, 2021 19:45 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
In reply to: Python cryptography, Rust, and Gentoo by ceplm
Parent article: Python cryptography, Rust, and Gentoo

Rust's stdlib is pretty much equal in features to glibc. It's not like glibc has anything apart from basic IO.


to post comments

Python cryptography, Rust, and Gentoo

Posted Feb 12, 2021 4:51 UTC (Fri) by zev (subscriber, #88455) [Link]

I dunno, glibc's got, say, strftime(), and a PRNG (or three). And sure, the latter's not cryptographically secure, but it's nice to be able to generate some quick-n-dirty test data without having to take a third-party dependency.

Python cryptography, Rust, and Gentoo

Posted Feb 12, 2021 12:22 UTC (Fri) by khim (subscriber, #9252) [Link]

Unfortunately glibc have lots of things besides basic IO. Internationalization and authorization, berkeley db and elliptic function.

If you try to look on glibc you'll find bazillion different things there. Most in half-useful state and not very useful at all.

While glibc does the best job it can it's really a pile of crazy things which are there just because Unix variants have grown all these warts there and GLibC needs to support it all.

I, for one, am very glad that Rust have nothing like glibc.

What I find most ironic is that some of the same people who condemned systemd “because it violates Unix philosophy” (specifically they claim it violates the principle: “do one thing well”) now condemn Rust because it refuses to provide huge pile of… things in it's standard library.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds