Live data from Hacker News

Why Rust is a great choice for startups

dailyedit.com

31–40 of 294 posts

Re: Why Rust is a great choice for startups

#31
post #2

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.

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

#33
post #5

>(...) despite my experience and best intentions, I was in fact making mistakes with C. Subtle leaks, use-after-free,(...) Rust made it very clear that I was not the programmer I thought I was. This really resonated with me. I feel a lot more confident writing code in Rust than say in C or Java. However, in my opinion, it also comes with a downside: These days, whenever I use a 'more forgiving' programming language I…

This kinda counter-resonates with me. I'm not a superb programmer by any means, but C's memory management rarely caused me bad problems. I find it much easier to deal with than the complexity of languages like C++ and Rust.

Re: Why Rust is a great choice for startups

#35
post #5

>(...) despite my experience and best intentions, I was in fact making mistakes with C. Subtle leaks, use-after-free,(...) Rust made it very clear that I was not the programmer I thought I was. This really resonated with me. I feel a lot more confident writing code in Rust than say in C or Java. However, in my opinion, it also comes with a downside: These days, whenever I use a 'more forgiving' programming language I…

Do you pine for the nice days of C/C++, when men were men and spend hours on debugging segmentation faults?

It has been many years since I spent "hours debugging" a segfault. But I use C++, not C.

(That said, I coded C from 2008 to 2012, and spent no hours on segfaults then, either.)

Re: Why Rust is a great choice for startups

#36

> it’s still orders of magnitude faster than Python, Ruby, Javascript and Java. Unsubstantiated claims like this, just makes me stop reading.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Re: Why Rust is a great choice for startups

#37

> it’s still orders of magnitude faster than Python, Ruby, Javascript and Java. Unsubstantiated claims like this, just makes me stop reading.

And also false claims of "orders of magnitude", esp wrt Java https://deepu.tech/concurrency-in-modern-languages-final/

Re: Why Rust is a great choice for startups

#38

> it’s still orders of magnitude faster than Python, Ruby, Javascript and Java. Unsubstantiated claims like this, just makes me stop reading.

https://www.techempower.com/benchmarks/

In these benchmarks Java is not that far from Rust's performance. In fact, it hits #1 in some tests.

Re: Why Rust is a great choice for startups

#39
post #30

>>Why Rust is a great choice for startups No mention of the type of problem the startup is trying to solve. A performance hungry desktop app? A web based SAS? Not all language choices are equal.

Author here: didn't expect this to get on the front page, some kind of life goal achieved I guess.

Here's a link to our Show HN from a week ago: https://news.ycombinator.com/item?id=31630604

Post reply on HN