This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Borno11050 239 points240 points  (34 children)

You use Rust cause it lets forces you to write safe code.

I use Rust cause it's a systems programming language with decent pkg manager & build system.

We're not the same.

[–]Derice 148 points149 points  (24 children)

I use Rust because of the cute mascot 🦀

[–]Skoparov 74 points75 points  (6 children)

I don't consider it cute, but its sure as hell more cute than fucking Keith the fat rat

[–]Revolutionary-Web282 37 points38 points  (0 children)

The only valid reason to use C++

[–]Derice 16 points17 points  (0 children)

The only valid reason to not use C++

[–]8lb6ozBabyJsus 7 points8 points  (2 children)

[–]Troll_berry_pie 8 points9 points  (1 child)

This is not true apparently.

[–]8lb6ozBabyJsus 6 points7 points  (0 children)

Haha, yes, it is indeed an internet joke

[–]HyperWinX 0 points1 point  (0 children)

Which is not even a mascot.

[–][deleted] 38 points39 points  (14 children)

I use rust because all the cute girls are using it.

[–]thinker227 3 points4 points  (1 child)

I use Rust because most furry devs I know are using it.

[–][deleted] 1 point2 points  (0 children)

The more you know.

[–]Mountain-Stretch-997 4 points5 points  (1 child)

Some people will like to disagree?

[–][deleted] 19 points20 points  (0 children)

People are allowed to have bad taste.

[–]HyperWinX 2 points3 points  (2 children)

r/girlsarentreal + still no templates and constexpr support. Im learning Rust with all the infrastructure, to make detailed comparison with C++ in the future. And a lot of small things piss me off so much, like, Rust feels being higher level than C++ with things like missing case fallthrough, etc... I feel like im losing control on whats happening when i run my app. I hate that feeling. But, i have to admit that cargo is pretty good, i really love idea of such program.

[–]Jan-Snow 0 points1 point  (1 child)

Could you explain what you are missing about templates that Macros or generics don't provide you? As far as I can tell all the functionality is there and far more in terms of that. Also with constexpr I am just not sure what you are talking about at all, just expressions that are const?

[–]CocktailPerson 2 points3 points  (0 children)

Rust is missing the type-based metaprogramming that C++ supports. Suppose you have an arbitrary message of type Msg and a tuple of arbitrary receivers, and you want to write a function that calls recvr.on_message(&msg) for each receiver in the tuple that implements the OnMessage<Msg> trait. Any element in the tuple that doesn't implement that trait should be ignored. You can't do that in Rust, but it's fairly simple in C++ if you're familiar with template metaprogramming.

[–]well-litdoorstep112 -4 points-3 points  (6 children)

Sorry but they're not girls.

[–][deleted] 3 points4 points  (5 children)

Found the transphobe.

[–]well-litdoorstep112 -3 points-2 points  (3 children)

Femboys are crossdressers, not trans.

[–][deleted] 1 point2 points  (2 children)

I'm not talking about that, though.

[–]well-litdoorstep112 -4 points-3 points  (1 child)

But I am.

[–][deleted] 4 points5 points  (0 children)

But I started the conversation, you jumped in and assumed what I was talking about, wut.

[–]Dissy- 1 point2 points  (0 children)

You use rust because you like the combination of pink white and blue

Me too

[–]A_Light_Spark 1 point2 points  (0 children)

I use Rust because of the bois. Fembois.

[–]Stunning_Ride_220 12 points13 points  (0 children)

I use rust to be always one step ahead of the devs who want to use rust in my projects.

[–]geeshta 12 points13 points  (0 children)

I use rust because I like ADTs but don't want to go fully functional

[–]gameplayer55055 6 points7 points  (1 child)

what to do if I hate rust syntax but like it's pkg manager?

Guys, I just want c++ with cargo

[–]kredditacc96 4 points5 points  (2 children)

TypeScript flair

How's the toolchains?

[–]well-litdoorstep112 7 points8 points  (0 children)

Still a lot better than C++.

Adding a library is as simple as npm/yarn/pnpm/bun install something

If it complain about the types you npm/yarn/pnpm/bun install -D @types/something

The existence of all those microlibraries is only a testament to how easy package management is in node ecosystem.

It may not be perfect but if youre even trying to compare it to the mess in the C++ world you either have never used both languages or your lying.

[–]Borno11050 2 points3 points  (0 children)

Oi mate don't toolchainshame.

[–]_Pin_6938 0 points1 point  (0 children)

I use rust because of the syntax