News for hackers. Stuff that matters.
Re:Why Rust is a great choice for startups by ncmncm on Tuesday June 14, 2022 @06:25AM (#31736893)
Rust is a great choice for startups because most startups fold and so will not need to try to find people who know how to maintain it.
Re:Why Rust is a great choice for startups by jgilias on Tuesday June 14, 2022 @07:26AM (#31737483)
I recently was thinking about how smart/not-smart would it be to become a full-on 'Rust developer'. So I thought, OK, what happens if two decades from now I'm a grey-beard Rust programmer, and the only jobs I can find are maintaining some legacy Rust code...

And then it struck me, I'd be completely fine with it. As in, if there's a language in which dealing with legacy code doesn't seem daunting, then that's Rust. Because of the safety guarantees, the type system, and the 'compiler knows better', refactors are just so much easier. Like, hands down I'd rather maintain Rust code than Python, PHP, JavaScript, or C++.

Re:Why Rust is a great choice for startups by ncmncm on Tuesday June 14, 2022 @07:44AM (#31737686)
If Rust fizzles, which it still very much could, it will mean you are stuck using a 10-year-old compiler on an ancient OS release.
Re:Why Rust is a great choice for startups by jgilias on Tuesday June 14, 2022 @08:07AM (#31737927)
In principle, yes. But bear in mind that Rust doesn't depend on a runtime, and compiles to LLVM IR, so what it depends on to run on the target system is a lot less than something like PHP, Python, or JS. So to really end up in deep shit the LLVM project would also have to fizzle together with Rust.

And given how some 'big names' in tech are getting more and more involved in Rust and opting to write core low-level stuff in it, I'm not terribly worried about Rust and LLVM fizzling to the point where I have to worry about any of that. I mean, it is orders of magnitude less of an issue than depending on Node.

Re:Why Rust is a great choice for startups by sshine on Tuesday June 14, 2022 @06:54AM (#31737110)
I would argue that Rust is a great choice for startups exactly because you can find people who will either take a pay cut or work in a hectic environment, just so they can use Rust. Rust has been on top of everyone's "want to learn" list for half a decade, and it feels quite mature.
Re:Why Rust is a great choice for startups by lnxg33k1 on Tuesday June 14, 2022 @07:12AM (#31737290)
Definitely I would not take a pay cut for rust, also for any technology, it’s about solving problems and working on interesting things not really about a language. I’ve also been learning rust in my spare time, and am more and more realising that I spend time solving rust’s problems more than solving the problems of the side project I started
Re:Why Rust is a great choice for startups by sshine on Tuesday June 14, 2022 @07:44AM (#31737681)
Perhaps the pay cut statement is too hypothethical.

I have only experienced the opposite: That Rust jobs pay well. Also for startups.

Re:Why Rust is a great choice for startups by chungus on Tuesday June 14, 2022 @07:24AM (#31737448)
I'm surprised to see multiple people mentioning pay cuts. In the Stackoverflow Annual Developer survey[1] I see Rust developers consistently being among the highest paid in the industry.

[1] https://insights.stackoverflow.com/survey/2021#top-paying-te...

edit : adding link to all previous years https://insights.stackoverflow.com/survey

Re:Why Rust is a great choice for startups by sshine on Tuesday June 14, 2022 @07:42AM (#31737668)
Yes, Rust jobs pay really well.

I'm mentioning pay cuts because one of the side-effects of joining a startup is that they can be tight on money and will offer early employees shares instead.

I work for a startup and am coding Rust and my salary went up by taking this job.

So I'm only saying this as a general thing; I'm sure a lot of startups where Rust makes a difference (I'm sure a lot of startups would be just as well off with Python), they can probably afford a competitive wage. :-)

Re:Why Rust is a great choice for startups by nequo on Tuesday June 14, 2022 @07:59AM (#31737836)
Who knows how much they would earn had they not taken that pay cut!
Re:Why Rust is a great choice for startups by XorNot on Tuesday June 14, 2022 @07:07AM (#31737244)
It's at the top of my "want to learn" list because I want to learn it but I'm definitely not taking a pay cut to do so.
Re:Why Rust is a great choice for startups by mbrodersen on Tuesday June 14, 2022 @09:12PM (#31748021)
Nope not even close to being true. I am way more interested in more advanced languages (using dependent types).
Re:Why Rust is a great choice for startups by nicoburns on Tuesday June 14, 2022 @07:43AM (#31737673)
Maintenance is where Rust really shines and makes up for it's initial learning curve and slightly slower writing speed. In terms of hiring I can't imagine it being a problem either. There are lots of developers who would jump at the chance to work with Rust, and comparatively few Rust jobs (especially ones that don't involve working with cryptocurrency).
Re:Why Rust is a great choice for startups by ncmncm on Tuesday June 14, 2022 @07:47AM (#31737708)
There are lots of people curious about coding Rust in production, and most of them consider themselves competent to write it. But that is not what you look for when hiring. Or, it shouldn't be.
Re:Why Rust is a great choice for startups by stevepeg on Tuesday June 14, 2022 @07:55AM (#31737781)
I would say that curiosity about languages in general is one item that you should look for in candidates. Not the only one of course but curious people do tend to learn and adapt well.

For an analogy, I wouldn't hire a pilot that isn't interested in other planes than what's on their license. What if I want to operate some new models?

Unless I'm looking for someone for a truly specialised role, I would avoid people that stick to only one thing for their entire careers.

Re:Why Rust is a great choice for startups by ncmncm on Tuesday June 14, 2022 @08:35AM (#31738374)
Curiosity is a quality, but not a qualification.

For hiring, what you should look for, first and foremost, is competence. Curiosity is not a substitute.

Re:Why Rust is a great choice for startups by nicoburns on Tuesday June 14, 2022 @08:39AM (#31738427)
Curiosity is a decent indicator one of the many types of competence that you ought to be assessing: the ability to learn new skills and deal with problems that are outside of their current skill set. Which for most software jobs is rather key skill.
Re:Why Rust is a great choice for startups by nicoburns on Tuesday June 14, 2022 @08:12AM (#31738009)
As long as either:

- they’re senior level in another language and have at least one non-trivia project in Rust (need not be professional)

- Applying for a junior position and thus will have access to mentorship

I don’t see what the problem is. Rust isn’t Haskell: while there’s a few new things, most imperative programming experience will translate.

Re:Why Rust is a great choice for startups by kaba0 on Tuesday June 14, 2022 @09:58AM (#31739592)
I don’t believe Rust is that good at maintainability - refactors are safe, but they are very tedious, which is inherent to its low-level nature. In a managed language if a refactor causes different lifetimes/ownership model, the runtime will automatically handle it. In Rust you will have to fight the borrow checker for it.

Don’t get me wrong, Rust is a really great language, but if the domain doesn’t require low-level programming, don’t choose a low-level lang, in my opinion.

Re:Why Rust is a great choice for startups by rugina on Tuesday June 14, 2022 @10:00AM (#31739622)
Can anyone speculate why there's so much crypto using Rust as opposed to everybody else? I am afraid crypto will end up giving Rust a bad name.
Re:Why Rust is a great choice for startups by chungus on Tuesday June 14, 2022 @10:26AM (#31740022)
There seem to be a lot of long running Rust job openings in the cryptocurrency space. Maybe those positions are always open because nobody wants to work there? You asked for speculation :)
Re:Why Rust is a great choice for startups by EamonnMR on Tuesday June 14, 2022 @07:40AM (#31737639)
Conversely, anything else is a good choice for startups because most start-up fold and will never have to actually fix all of the memory leaks/security vulnerabilities/slow implementations.
Re:Why Rust is a great choice for startups by eventhorizonpl on Tuesday June 14, 2022 @06:30AM (#31736927)
If you build a startup around bad ideas realized in crappy languages, than it's a great recipe for a disaster.

If you have a good idea and you hire seasoned developers who can realize this idea you are at least on the good path.

Re:Why Rust is a great choice for startups by ncmncm on Tuesday June 14, 2022 @06:33AM (#31736962)
Necessary, but not sufficient. Almost all the startups with bad implementations will fold. Almost all the startups with good implementations will fold.
Re:Why Rust is a great choice for startups by quickthrower2 on Tuesday June 14, 2022 @06:51AM (#31737085)
I worked for a company that used some crappy 2000s 4GL nocode tool to get started. Didn’t hurt them financially at all.
Re:Why Rust is a great choice for startups by rwalle on Tuesday June 14, 2022 @06:49AM (#31737067)
Zuckerberg something...