Why not simply announcing "X" in the title?
Why not simply announcing "X" in the title?
Written in Python - easy to understand, but lacks performance. Probably cant use more than 1 CPU core. Needs a lot of memory.
Written in Go - fast enough for most cases, all CPU cores, but possibly high mem usage becUse of GC. I need to plan for it.
Written in Rust - possibly new and maturing, uses memory effectively, likely to use all cores. Easy to deploy (single binary)
Written in JS - probably not for me - personal taste and hate of npm ecosystem.
Written in C - probably the best performing, but less robust, no memory safety.
So, “written in” helps in judging whether to care for that project or not to some extent.
This is more like "Carbon is faster than aluminum." Yeah, it's a generalization, but it's a useful one.
Yes, Python, we get that you wrote WhateverPy in Python.
Python/Go/JS/C -> runtime crashes due to type errors and/or data races
Rust -> no runtime crashes due to type errors/data races
Rust seems to have its merits but I find the parent post more level headed in that it tries to characterize language runtime, admittedly subjectively but not in a rust==good, rest==bad way.
Go's race detector is useful and we've caught bugs using it, but it's nicer when the compiler prevents you from having those bugs in the first place.
>quite good concurrency primitives
That's gonna be a "yikes" from me, dog: https://www.jtolio.com/2016/03/go-channels-are-bad-and-you-s...
I'm not a Rust fanboy, I simply like languages where it's more difficult to represent invalid state (Haskell, Ocaml, Rust, etc.) than in the mainstream languages I suffer with in my job on a daily basis. Rust happens to have great tooling and is the most likely to make inroads on these issues I care about (runtime stability + code correctness via good type system).
1) In the case of libraries (crates), it might be something I can make use of in the future.
2) I can look at how they solved the problem they are solving and compare that with how I'd do it and maybe learn something new that can be useful to me in my future projects.
3) I want Rust to thrive and I want people to be aware of projects using Rust because the more people that are aware of Rust the bigger is the probability that I can work for more companies in the future writing software for them in Rust.
My original comment was because as an old guy who saw hype around so many languages come and go, I am getting tired of those projects who try to sell themselves only because they are written in Rust.
(The original Rust project as designed by Graydon Hoare was even quite different from the Rust of today, e.g. the C/C++-like focus, with little ot no runtime, is something that only came about around the Rust 1.0 release.)
If you're just an end user, or the project isn't open source, then sure, language might not matter so much.
The biggest downside IMO is you have to get people past some conceptual hurdles before they can be productive with it. (e.g. the borrow checker) Despite how often you see it come up on HN, it doesn't have a powerful marketing force behind it. It also doesn't fit the trend of turning developers into commodities by being as easy as possible.
That said, I'm especially looking for software "written in Rust" because I know the build process is standardized. I may need some dependencies, but I know how the build will work (cargo build -> if at all, all build instructions are in build.rs). I compile all rust-based open projects myself, and I have yet to stumble over a non-binding-specific package that won't compile.
ES is the current free text search engine out there, and it's famously painful to manage. Resource consumption and GC pain can be really significant.
I see 'rust' and I know immediately that at least some pains I've experienced will be eliminated.
I am saying that because the programming language is not what defines a project. It could be a pile of junk even if it written in the greatest language ever made.
So many wonderful things were written in assembly or PHP (assuming you rate PHP and assembly on the other end of the spectrum of awesomeness.)
The patters is more like "X written in Y", which is totally fine imo.
In general I think the title of a project on a news aggregator should basically be a 80 character sales pitch, " in rust" is 8 characters that signal a lot more than most 8 characters could (to me).
The same developer also happens to have written a similar server in Python a while back: https://github.com/mosuka/cockatrice