Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oncewas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
oncewas
4y ago
This argument that rust is complicated is really tiring and laughable in the face of c++'s complexity. Rust has the biggest concession to newcomers I have ever seen offered, it will not let you compile code that contains many commonly
2.
▲
by
oncewas
4y ago
Yes there are several third party package managers, which is a pretty good smell that the situation is sticky at best. Out of the three my favorite is NuGET. Unfortunately the ecosystem last I checked anyway was weaker than say rusts'
3.
▲
by
oncewas
4y ago
I think what's hard for people to realize is, people who like rust usually aren't saying "is rust going to replace it"? Like cheesey blogs by hype artists say crap like that, but really having both is obviously beneficia
4.
▲
by
oncewas
4y ago
Depending on what that business software is doing I wouldn't be surprised in a few hundred thousand lines were written in something else. Microsoft ( https://medium.com/@tinocaer/how-microsoft-is-adopting-rust-... )
5.
▲
by
oncewas
4y ago
In a lot of cases I would consider a staged rewrite. Ie, I would turn what I could into dylibs going either from rust to c++ or c++ to rust. Assuming the code has structure and isn't infinite singletons and free standing functions this
6.
▲
by
oncewas
4y ago
Extremely doubtful on of this claim... Again, really recommend learning the language...
7.
▲
by
oncewas
4y ago
You are right it does not gaurantee correctness. Libraries can also provide unsafe or incorrect code. C++ lacks a package manager and a community mindset. So I trust c++ library's less than many modern programming languages... Rust mak
8.
▲
by
oncewas
4y ago
That's actually a motivating reason for why people and companys tend to like Rust . many people transition to rust because c++ has become very bloated, complex, and the rules for what happens in the language can be more complicated tha
9.
▲
by
oncewas
4y ago
Rust requires you to write correct code. And no, lots of people using modern C++ do struggle with safety, and specifically memory safety. That's why these new languages exist, and exactly why they are gaining users every single day. No
10.
▲
by
oncewas
4y ago
You really can become productive in safe languages. It does take some practice, but it makes you a better programmer. Someone might turn the table and claim they are more productive in memory safe languages because when they hit production
11.
▲
by
oncewas
4y ago
I've talked with people in the rust community about modern c++ being similar to rust. They all agreed and honestly thought it was cool. Maybe 1 out of 50 rust programmers language bash and are ignorant, those people tend to be junior a
12.
▲
by
oncewas
4y ago
People language hop all the time. I 've seen people rewrite apis from python to Go, java to go, python to scala, Go to rust, etc etc etc.
13.
▲
by
oncewas
4y ago
That's pretty silly, lots of c++ projects have changed languages over the years. We get that you like c++ but let's not be myopic.
14.
▲
by
oncewas
4y ago
Outside of the happy path doesn't mean, inaccessible or uncommonly used. C++ is on track to be a composition of ten languages by 2030. I'm not against that in general, it's kind of liberating, but at some point in time I hope
15.
▲
by
oncewas
4y ago
I mean I get what you are saying about how old stuff doesn't have adoption issues. But, rust is a pretty unique paradigm. The safety guarantees it offers aren't found in other languages without garbage collectors. Rust is boring a
16.
▲
by
oncewas
4y ago
No joke. I used C++98 for a job a while back and got comfortable with it, I asked "hey why don't we use c++14"(this was years ago). The answer was basically, modern c++ is too complex to keep code bases sane without spending
17.
▲
by
oncewas
4y ago
Not attacking you, your heart is in the right place. If COVID-19 has taught us anything, learning to make businesses more efficient doesn't actually result in a better outcome for consumers. Take Nabisco for example, churned out recor
18.
▲
by
oncewas
4y ago
It's not surprising, but it is embarrassing. It'll be interesting to see if there are any consequences for this.