[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

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

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 37
Thread images: 7

File: index.png (3KB, 212x238px) Image search: [Google]
index.png
3KB, 212x238px
Why would anyone use Go or Rust over C++?
>>
>>60600394
Hobbyists.
>>
Why the fuck was Go even made?
>>
>>60600435
Because of "muh unix philosophy"
>>
File: the_best_language.png (72KB, 1016x98px) Image search: [Google]
the_best_language.png
72KB, 1016x98px
>>60600394
>>
c++ is a disgusting mess tbqhwyf
>>
>>60600473
Not like rust is any better when it comes to readability
>>
>>60600394
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.
>>
>>60600473
Is there really not a better way to write this, or is it really the languages fault?
>>
>>60600597
it is a bit better. not THAT much but still

>>60600644
using namespace std for starters
:^)
>>
>>60600473
Eventually C++ is just going to be nothing but special characters and parens.
>>
>>60600435
Go is comfy :)
>>
>>60600597
Yes rust is more readable
>>
>>60600627
>too stupid for makefiles
Yeah it's better if you stay away from C++
>>
>>60600435
CSP meme and locked it down so pajeets couldnt do crazy shit
>>
>>60600435
To make large distributed systems easier

Go does not replace c++
>>
>>60600627
I'm doing a hobby project for both windows / linux right now with CMake as the meta build system. It's pretty good.
>>
>>60600973
>To make large distributed systems easier
Ironic, since Go is only good for making microservices.
>>
>>60600473
what is this some STL code?
wtf I hate c++ now
>>
>>60600473
What does this do?
>>
>>60600999
returns a smart pointer to something
only scott meyers can decipher this
>>
>>60600981
>>60600944

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.
>>
File: 51fYzbYoXFL._UX250_.jpg (9KB, 250x241px) Image search: [Google]
51fYzbYoXFL._UX250_.jpg
9KB, 250x241px
>>60601034
you called?
>>
>>60600981
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.
>>
>>60600473
>>60600597
>>60600644
>>60600730
>>60600990
>>60600999

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 <typename Creator, typename Destructor, typename ...Arguments>
auto make_resource(Creator c, Destructor d, Arguments&&... args)
{
return std::unique_ptr(c(std::forward<Arguments>(args)...), d);
}
>>
>>60600982
Not really, considering large distributed systems generally consist of microservices to promote reliability
>>
>>60601066
>>60601119
Thanks Scott!
Are you gonna write another book?
>>
File: three.png (1MB, 1047x517px) Image search: [Google]
three.png
1MB, 1047x517px
>>60601119
Based Scott
>>
>>60601119
>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
>>
File: 1457289502400.jpg (204KB, 501x589px) Image search: [Google]
1457289502400.jpg
204KB, 501x589px
>scott meyers browses /g/ to defend c++
>>
>>60601119

C++ haters BTFO
>>
>>60601240
Scott is muh waifu.
>>
File: scottmeyers.jpg (22KB, 215x176px) Image search: [Google]
scottmeyers.jpg
22KB, 215x176px
>>60601240
>>60601263
>>
File: 1455471908602-0.png (145KB, 400x400px) Image search: [Google]
1455471908602-0.png
145KB, 400x400px
>>60601304
>>
>>60601365
YOBA ETO TY
>>
>>60601402
YOB TVOYU MAT
>>
>>60600760
I've really come to enjoy Go; I really don't want to learn Java or relearn C++ to do application development..
Thread posts: 37
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.