6 ms·
This is just plain false. C++ in the 1990s had nothing like serde for example.
by howinteresting 4y ago
This is just plain false. C++ in the 1990s had nothing like serde for example.
- jerf 4y agoThe minimum bar for a language has moved up significantly since the 1990s. It isn't enough to just have a neat new idea, you need to ship with nearly-best-of-breed JSON serialization, a web server, a huge standard library with not just strings but things like compression and a lot of networking, and a laundry list of other things (give or take a few things) just to make it to the "barely viable alternate choice" point. Nice as a language consumer, but a bummer that building new languages and getting some attention is so much harder than it used to be.
- xani__ 4y ago
- marcosdumay 4y agoWell, Rust checks all of those boxes. Yes, it's a problem for that language you plan on creating (try specializing into a niche). But it's not something that should impact Rust's adoption.
- pjmlp 4y agoWith various levels of completeness.
- rastignack 4y agoWhere are the production grade and pure rust tls library ? Key-value store ? Ldap client ? SSH client ?
- jhgg 4y ago> production grade and pure rust tls library You mean rustls? https://github.com/rustls/rustls https://github.com/rustls/rustls
- rastignack 4y agoPure rust ? No.
- bogeholm 4y agoYou’re right, I see some *.md-files in the GitHub repo
- rastignack 4y ago“ ring exposes a Rust API and is written in a hybrid of Rust, C, and assembly language.”
- pitaj 4y agoAren't the most commonly used libraries for all of those written in C, not C++? Regardless, I'm surprised you haven't heard of rustls - https://github.com/rustls/rustls https://github.com/rustls/rustls
- rastignack 4y agoYou have great c++ libraries for those. Not in pure rust though.
- howinteresting 4y agoI haven't used them much, but sled, ldap3 and thrussh do exist. As Rust gains further in popularity I'd expect more of these to become production ready. Meanwhile there's always C and C++ interop.
- rastignack 4y agoSled and thrussh are not production grade. I don’t particularly want to delve into details as I think the effort is laudable. I can explain my position in private if need be.
- howinteresting 4y agoOK. I mean they're probably less mature, yeah. But high-quality Rust bindings to libssh2 and RocksDB do exist so shrug
- pjmlp 4y agoAnd? A drop in the ocean of libraries.
- howinteresting 4y agoAnd virtually no one should be starting new projects in C++ and everyone should switch to Rust.
- pjmlp 4y agoStart by removing C++ from Rust compiler. Then go around for Khronos, NVidia, Microsoft, Sony, Nintendo, Unreal, Godot,.... to support Rust on their SDKs.