how does having less libraries makes it harder ?
not having to deal with memory leak and having a proper package manager makes it easier for a beginner
>Rust is harder than C++
This is a good thing. Rust keeps out the morons that can't get past the compiler. >it has less libraries available
Eh... I'd be willing to believe this, given the age of C++, but do you have a hard number on the amount of C++ libraries?
>This is a good thing. Rust keeps out the morons that can't get past the compiler.
Thats false. Rust is swarming with morons and its already such a dependencies cluster frick.
>and its already such a dependencies cluster frick.
You know if C++ supposedly has more libraries than Rust, you'd think they wouldn't be making these kinds of arguments. Because they'd actually be using those libraries.
Rust favors smaller libraries, which are arguably more of a clusterfrick.
Rust has no boost equivalent because it's easy to just use twenty individual libraries for all the little things you want.
This is unrelated to how much library code there is in total.
2 years ago
Anonymous
>which are arguably more of a clusterfrick
Eh... I honestly think smaller libraries are more worth it. In every library, there's functions that aren't part of the public API, which need to be used to implement that library. In a smaller library ecosystem, those functions could themselves be provided by a library and imported as subdependencies. And if you have multiple dependencies that share a subdependency, you don't have to link that function twice. So ultimately you save space.
The fact that a lot of Rust libraries also happen to be highly composable with one another is also pretty nice from a usability perspective.
2 years ago
Anonymous
that's exactly what I want out of a library. Do one thing and do it well. The type system allows you to easily glue disparate types together with minimal boiler-plate.
Well C++ is not like javascript I think
It doesn't have a million libraries for everything under the sun
It has like a few dozen of libraries that are massive
Stuff like boost, qt, opencv, etc...
And we'll the ecosystem for gaming is massive.
Rust seems to have some good cryptography libraries and is technically better for webdev which is why it's used in crypto I think. Bitcoin was written in C++ though.
>webdev
And that's an advantage? The web as it is in the current state is the worst thing that came out of computers. Not only because of the bloat in browsers, but also because how poorly the technology is designed. I'd rather stay as far away as I can from that because I don't want my code to be affected in any way by the moronic mess that is the web. In C++ I tell the computer what to do and it does it. What the frick is wrong with that? If you can't handle that then you can't handle a computer and you shouldn't be programming.
Jokes aside, I'm learning Rust because I can't make myself deal with building C+. The language seems fine but the absolute atrocity of building it has kept me out
The Rust learning curve is much less steep if you already know C++. Both languages require a fundamental understanding of ownership to use effectively. The difference is that Rust won't let you compile if you write certain types of incorrect code. You MUST fully understand ownership to even build code at all.
OH NO NO NO NO NO NO ADASISTERS.... Rust is eating our lunch gain...
IIRC, there are plans to implement something similar to a borrow checker in Ada Spark. Honestly, anyone seriously interested in Ada likely won't have too many objections to Rust. Both are systems programming languages with very strong type systems and an emphasis on safety. Ada has seen use in aviation and military applications, which are areas that Rust might be beneficial in once some standards can be drafted for it.
Im ok with the last line
>less libraries available.
Most code is shit anyway.
Most code and most (all) languages are shit anyway
how does having less libraries makes it harder ?
not having to deal with memory leak and having a proper package manager makes it easier for a beginner
You mean no legacy stuff from 1997?
>Rust is harder than C++
This is a good thing. Rust keeps out the morons that can't get past the compiler.
>it has less libraries available
Eh... I'd be willing to believe this, given the age of C++, but do you have a hard number on the amount of C++ libraries?
>This is a good thing. Rust keeps out the morons that can't get past the compiler.
Thats false. Rust is swarming with morons and its already such a dependencies cluster frick.
If you are a moron you cannot keep using Rust.
You need real brain power to be using it.
>and its already such a dependencies cluster frick.
You know if C++ supposedly has more libraries than Rust, you'd think they wouldn't be making these kinds of arguments. Because they'd actually be using those libraries.
Rust favors smaller libraries, which are arguably more of a clusterfrick.
Rust has no boost equivalent because it's easy to just use twenty individual libraries for all the little things you want.
This is unrelated to how much library code there is in total.
>which are arguably more of a clusterfrick
Eh... I honestly think smaller libraries are more worth it. In every library, there's functions that aren't part of the public API, which need to be used to implement that library. In a smaller library ecosystem, those functions could themselves be provided by a library and imported as subdependencies. And if you have multiple dependencies that share a subdependency, you don't have to link that function twice. So ultimately you save space.
The fact that a lot of Rust libraries also happen to be highly composable with one another is also pretty nice from a usability perspective.
that's exactly what I want out of a library. Do one thing and do it well. The type system allows you to easily glue disparate types together with minimal boiler-plate.
Well C++ is not like javascript I think
It doesn't have a million libraries for everything under the sun
It has like a few dozen of libraries that are massive
Stuff like boost, qt, opencv, etc...
And we'll the ecosystem for gaming is massive.
Rust seems to have some good cryptography libraries and is technically better for webdev which is why it's used in crypto I think. Bitcoin was written in C++ though.
>webdev
And that's an advantage? The web as it is in the current state is the worst thing that came out of computers. Not only because of the bloat in browsers, but also because how poorly the technology is designed. I'd rather stay as far away as I can from that because I don't want my code to be affected in any way by the moronic mess that is the web. In C++ I tell the computer what to do and it does it. What the frick is wrong with that? If you can't handle that then you can't handle a computer and you shouldn't be programming.
Still not learning Rust.
who ask
Learn c
no
Literally nobody
I asked
I car
who cars
come back after you delt with 10 years of c++ production code lmao
95% of moronation on IQfy is just unexperience speaking
There's not enough data points for 10 years of rust in production to make this argument.
I literally use Rust because C++ scares me.
I use Rust because I liked C++, and Rust is C++ with all of the annoying parts removed.
Jokes aside, I'm learning Rust because I can't make myself deal with building C+. The language seems fine but the absolute atrocity of building it has kept me out
Learn Ada, moron dirtburgler.
OH NO NO NO NO NO NO ADASISTERS.... Rust is eating our lunch gain...
Learn D the real successor to C/C++
Rust could have been GOAT but they fricked up catering to the Cepples crowd.
>and it has less libraries available
>https://handmade.network/
Just accept the "Hand Made" way you fricking piece of shit
I saw that gallery.
It's like 80% video games...
How about contributing to a renderer like ogre3d atleast.
Fricking zoomers.
I use Rust because 50% of the rust userbase is trans like me. Rust says trans rights :3
Not 50% of the userbase. Just 50% of the speakers at rustconf.
60% of the userbase.
King Terry said it best
6 months of IQfy break and still it's the same rust troll threads, see you in another 6 months chumps
steeper learning curve == worse
The Rust learning curve is much less steep if you already know C++. Both languages require a fundamental understanding of ownership to use effectively. The difference is that Rust won't let you compile if you write certain types of incorrect code. You MUST fully understand ownership to even build code at all.
IIRC, there are plans to implement something similar to a borrow checker in Ada Spark. Honestly, anyone seriously interested in Ada likely won't have too many objections to Rust. Both are systems programming languages with very strong type systems and an emphasis on safety. Ada has seen use in aviation and military applications, which are areas that Rust might be beneficial in once some standards can be drafted for it.
Using libraries isn't programming, it's coding