I get the point of wanting to use safer languages but I feel this list somewhat misses the point and looks more like some misguided worship to a single language. For example a lot of complaints that can be made about C and C++ don’t apply to Haskell yet this list parades a Rust counterpart to Shellcheck as if it’s automatically better just by the fact it’s written in Rust (frankly, I’d rather trust the more mature Sh…
Replacements for existing software written in Rust
91–100 of 229 posts
Re: Replacements for existing software written in Rust
#92Re: Replacements for existing software written in Rust
#93Earlier quoted context omitted.
Uh, is this a common question? I've never been asked anything remotely close.
I get it pretty often. I am assuming they want to use this as a means to see code that I have written in collaboration with others.
Re: Replacements for existing software written in Rust
#94Earlier quoted context omitted.
You're probably not the only one. However, I will always prefer CLI tools written in C/Go/Rust/anything native because Python dependency management is a shitshow and its startup time is way too slow.
But you're bringing up a good argument for preferring a binary over a script there - portability, external dependencies, performance are important factors. I don't believe performance will be significantly different if you're comparing a C vs a Rust tool though.
Rust and Go thus occupy a sweet spot for CLI tools, because they have the advantage of high-level maintainable code AND being fast, easily installable binary executables.
Re: Replacements for existing software written in Rust
#95Earlier quoted context omitted.
I get it pretty often. I am assuming they want to use this as a means to see code that I have written in collaboration with others.
I get it pretty often too. Having said that, I haven't typically had much to show and I've usually been offered the job anyway so I'm not sure it's typically given that much weight.
Re: Replacements for existing software written in Rust
#96Am I the only one who doesn't care what a tool / software package is written in, provided it does the job? If a Rust port is superior then sure, I'll use it, but I won't use it because it was written in Rust.
Re: Replacements for existing software written in Rust
#97I know people here are a bit touchy about Rust, and writing everything in Rust. But here is one advantage I have found with Rust programs: The installation just works. Cargo, as a package manager, is just wonderful. I have lost counts of how many times my "brew" or "pacman" failed to install something. It's much worse if it's Python; and things that work in macOS are not guaranteed to compile in Linux, and vice-versa…
But I never, ever had it just fail to install a package, and I don't remember much fuss with dependency resolution taking manual fiddling, either.
I'd love to hear your pacman horror stories; gimme the hot package manager gossip :D
Re: Replacements for existing software written in Rust
#98Earlier quoted context omitted.
Caveat: Saying “Just write it in rust” won’t change the fact that writing secure software is hard. The only thing that will actually prevent security holes is attentive software engineers deliberately choosing to learn tools and practice habits to avoid security holes by design. The professional judgement of a lot of those engineers is leading them to choose to learn rust right now.
> Caveat: Saying “Just write it in rust” won’t change the fact that writing secure software is hard. No. But it will make sure there are no issues of the type buffer overflow and such. The rest, we can judge when the software is delivered.
https://www.cvedetails.com/vulnerability-list/vendor_id-1902...
I'm not so sure....
And those are bugs from from people writing core stuff, like you know, the people who should know Rust better than you and me. People writing foundational code that your program will run on top of.
Of special danger is the last CVE, that was rushed and backported into the last release. But nobody talks about it. I can imagine why.
I can bet that the "but the bug happened within unsafe code" excuse will be the next Rust meme.
Re: Replacements for existing software written in Rust
#99Re: Replacements for existing software written in Rust
#100Earlier quoted context omitted.
Would you feel better about this is if the badge was "Written in a memory-safe language"?
Is a memory-safe language a safe language ? Is it not possible to exploit rust ?
Point however is, if you have a SaaS which uses Rust, the chances for triggering a buffer underflow / overflow exploit are zero.
As for other aspects of security, Rust makes no special effort there. The main win for using Rust is to eliminate the most widespread bugs (the memory safety ones) from the get go. Everything else is still fair game and has to be paid proper attention to.