4 ms·
I think this is a silly idea. There are still loads of questions surrounding Rust. Especially about it's practicality... There are articles denigrating the like
by dynamite-ready 4y ago
I think this is a silly idea. There are still loads of questions surrounding Rust. Especially about it's practicality... There are articles denigrating the likes of the trait and async systems on HN almost every day. And even ignoring that argument, any language is viable, so long as it can be used to build what you want to build.
- the__alchemist 4y agoThe nice thing about the trait and async problems are you can ignore them if you minimize and/or are selective with dependencies.
- pornel 4y agoThere's very little overlap between HN commenters lamenting about colors of async functions, and actual Rust programmers writing async software. Rust's crates.io has over 15000 packages using async. Cloudflare has just replaced their nginx with a Rust proxy that uses Rust's async. Apple has hired Rust programmers for their storage and networking teams. Rust has been out for 7 years now, and detractors on HN still treat it as an unproven novelty that's going to collapse any day now.
- scoutt 4y agoBut don’t you think if Rust meant to be so popular and successful wouldn’t be it already, in this time and age? Like other languages since 2000? (Rails, typescript comes to my mind) Rust has given all its arguments. Has proven its goodness. What do you think it is stopping the world from adopting it? Another year is passing. The biggest news is that it might be included in the kernel. But it just requires a bad Linus Torvalds morning to become “Rust, the language that wanted but couldn’t“.
- pornel 4y agoI think Rust is already incredibly successful for what it is. Rust isn't aiming to replace Ruby or TypeScript. Rust is focused on being a high-performance systems programming language. It makes big sacrifices to avoid having a garbage collector, VM, or other significant runtime dependency. For maybe 99% of programs having a GC or VM is perfectly fine, and you have lots of nice languages to choose from there. But Rust focuses specifically on areas where Ruby and TypeScript are poor choices or even entirely impossible to use. Rust's popularity has already surpassed other C/C++ alternatives like Ada, D, Nim, Pascal, Cyclone, Checked-C, Zig, and depending how you measure, even Objective-C. It is already confirmed to be in the next Linux release. None of the previous C killers got even close.
- scoutt 4y agoI know the direction Rust is targeting. I wasn’t implying that it means to replace ruby or typescript. I was just pointing out the massive adoption of those (or other) languages in what it seems the same time span. I also know there are differences and that the C/C++ crowd is more difficult to convince.
- ugh123 4y agoI think you're forgetting the security issues surrounding C. Also, I could build a lot of stuff in PHP. But in 2022, is that wise?
- dynamite-ready 4y agoThat's not quite equivalent, but I will indulge you. The truth is, there are many tools and libraries written in CPP, with many years of accumulated knowledge implicitly embedded in their codebases, that will take a very long time to replace, if some of them can be replaced at all. It's fitting that you mention PHP, because while the ecosystem isn't quite the same, for all it's problems (especially security), WordPress is still viable for a bunch new projects, and things may remain that way for many years to come.