Live data from Hacker News

Why Rust is a great choice for startups

dailyedit.com

71–80 of 294 posts

Re: Why Rust is a great choice for startups

#71

Earlier quoted context omitted.

It's not that big issue https://www.zdnet.com/article/microsoft-70-percent-of-all-se...

This is why we need a professional organization to hold software developers accountable to the same standard as other fields of engineering.

The problem with this idea has been the same for 40 years: unlike in other fields of engineering in Software there is no bedrock of empirical science from which we can derive objective, reasonable standards. It is all opinion in CS and no doubt the most obnoxious, useless methodologists would be the ones with the strongest opinions about how others should build things.

Re: Why Rust is a great choice for startups

#72
Rust is the one ring to rule them all. Embedded? Got it. Huge web app? No problem… straight to wasm.

It’s hard to imagine a problem outside of machine learning (where library support is all that matters) where I’d ever feel a desire to use anything else.

Other languages feel primitive, slow and/or unreliable after using rust for a while.

Re: Why Rust is a great choice for startups

#73

What does Rust offer over modern C++ with smart pointers and RAII?

Rustian Safety Rustian Garbage collection

> Rustian Garbage collection

Genuinely curious here: the Java GC (still in 2022) is often a major headache in production wrt latency when system is under load.

How's the Rust GC in that regard?

Re: Why Rust is a great choice for startups

#74
Startups are about cost, time to market, and a high level of efficiency to deliver on a promises ( product ) to sell or get to market. A language selection should consider two things, talent pool and maturity of the tools.

When you go hire developers, I want a strong pool to be able to be selective in finding attitude with the right aptitude, and I want them to be productive ASAP, so that means that we might bring in GNU protects that we are extending, tooling from other sources and high level knowledge of the code… this is where maturity comes in, not the language that matters, it’s the package you get on the product you are developing.

I love rust, it will get there, but in a startup environment, it could end up been “not the best fit” all things considered.

Re: Why Rust is a great choice for startups

#75

Author here: lots of usual language-war type comments here. Just thought I'd add my own little bit of water (hopefully). In my post notice that aside from my personal background with programming I didn't go into detail about memory safety, which seems to be what many are debating. Frankly, it's not even one of my top reasons for praising the language. If I had to pick three these are what I'd choose: 1. Strong featur…

So, F# with NuGet/Fake, Scala or Kotlin with Maven/Gradle, OCaml with OPAM.

Those points are hardly Rust specific and apply to any compiled language with ML influences.

Re: Why Rust is a great choice for startups

#76
> Once I started working on more complex systems such as a distributed job queue with asynchronous behavior or an embedded system interfacing with an FPGA, the gains started to come.

This makes me take the advice with a grain of salt because it's not very representative of the kind of software development most startups will require. I'd be more interested to hear about startups using Rust for CRUD apps for example.

Re: Why Rust is a great choice for startups

#78
I have also used Rust in a startup. With one major exception, it has been a huge win.

Rust makes it incredibly easy to write fast CLI tools and special purpose servers. They're solid and pleasant to maintain. Refactoring is easy, and if code compiles, it's normally correct.

The biggest drawback we encountered was when we used Rust for business logic. Business logic tends to be high level and change frequently, and many different people need to touch it.

So we ended up with a split: Most of our business logic is written in popular high-level languages. But for those things which aren't specific to our business, we write lots of open source Rust.

Re: Why Rust is a great choice for startups

#79
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?

Well, because geniuses who were too smart for their own good turned every problem into an academic exercise, writing "elegant" code using the darkest corners of the vast language that is C++. And then we hate the language and not these characters.

Scala has the same problem. Stop writing your own DSLs!

Post reply on HN