Why would anyone use Go or Rust over C++?

Why would anyone use Go or Rust over C++?

Hobbyists.

Why the fuck was Go even made?

Because of "muh unix philosophy"

...

c++ is a disgusting mess tbqhwyf

Not like rust is any better when it comes to readability

The worst thing about C and C++ is trying to compile it on both Linux and windows.
I can't be bothered to write makefile shit or mess around with msys2.

It's my biggest reason for not using it.

Rust has Crates. Which just werks.

Is there really not a better way to write this, or is it really the languages fault?

it is a bit better. not THAT much but still

using namespace std for starters
:^)

Eventually C++ is just going to be nothing but special characters and parens.

Go is comfy :)

Yes rust is more readable

>too stupid for makefiles
Yeah it's better if you stay away from C++

CSP meme and locked it down so pajeets couldnt do crazy shit

To make large distributed systems easier

Go does not replace c++

I'm doing a hobby project for both windows / linux right now with CMake as the meta build system. It's pretty good.

>To make large distributed systems easier
Ironic, since Go is only good for making microservices.

what is this some STL code?
wtf I hate c++ now

What does this do?

returns a smart pointer to something
only scott meyers can decipher this

It's not that makefiles are hard. They're just such a fucking bother.
I just wanna write my code. Build systems kill my vibe, makes me not wanna write code.

For smaller projects I just include everything -including source files- into one file, and write single line .sh or .bat file for it
Don't even need to write headers anymore.

you called?

Cmake is great. Literally like 20 lines of cmake and I can generate any type of IDE project I want or just make it generate makefiles that are better than any I'd write.

Just pasting my reply from yesterday:

Your attempt at trolling fails horribly. You can leave out the trailing return type in C++14. You can leave out the template parameters in C++17 (they will be deduced automatically). Your piece of code becomes:

template
auto make_resource(Creator c, Destructor d, Arguments&&... args)
{
return std::unique_ptr(c(std::forward(args)...), d);
}

Not really, considering large distributed systems generally consist of microservices to promote reliability

Thanks Scott!
Are you gonna write another book?

Based Scott

>template
>Arguments&&
>std::forward
tfw you spot a universal reference because of based scott and brainlets in here don't even know how to make a raw pointer

>scott meyers browses Sup Forums to defend c++

C++ haters BTFO

Scott is muh waifu.

...

...

YOBA ETO TY

YOB TVOYU MAT

I've really come to enjoy Go; I really don't want to learn Java or relearn C++ to do application development..