[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: images (1).png (4 KB, 212x238)
4 KB
4 KB PNG
Unusable because of compile times
>>
encourages one to reason about their code rather than guess at problems with shotgun programming
>>
>>107853449
And yet it's used
>>
>>107853449
The biggest problem with C++ is the community. They stuck in the 90s. They are not willing to write readable, well organized code. And the new language features are half baked and overcomplicated.
>>
The biggest problem with C++ is the standards committee. They keep trying to copy bad features from lesser languages.
>>
Rust and Java are infinitely better than C++
>>
>>107853523
The try to copy good features but only copy 30% of it and add complicated boilerplate to it. Backwards compatibility is their ultimate argument for every bad decision even when the feature has nothing to do with compatibility related problems.
>>
>>107854223
Everything has to do with compatibility, retard.
>>
>>107853472
I like to use shotcum programming. Spray my load on my monitor and let it rip
>>
>>107853449
if it works for everyone else but you then you're the problem my guy...
C++ is perfectly fine
>>
>>107854244
Nah. You are just stupid. They add new features what dont change old things but they botch them and use compatibility as a justification.
>>
File: gcc modules.png (33 KB, 1608x402)
33 KB
33 KB PNG
That's what modules are for, re-
Oh that's right. They're STILL not implemented.
>>
All I want is better compile time metaprogramming support so I can do things like this:

struct Stuff {
int x;
float y;
std::string s;
};

int main() {
Stuff stuff = getStuff();
for comptime (auto &r : stuff) {
std::cout << nameof(deref(r)) << " = " << r << "\n":
}
}

// prints something like:
// Stuff.x = 123
// Stuff.y = 1.234
// Stuff.s = C++ needs better reflection

you get the idea
>>
>>107853449
Why aren't you using AI to fix these problems???
>>
Indians use C, C++, C#
White men use Python
It really is that simple
>>
>>107854524
Indians use AI. AI is good.
>>
>>107854369
I use it I just can't stand the compilation times. I think that's actually one of the big reasons Linus Torvalds hates it compared to C and it makes sense
>>
>>107854814
>I use it I just can't stand the compilation times
if you recompile big chunk of code every time you're doing something wrong.
also use concept/contract, they reduce compile time.
>I think that's actually one of the big reasons Linus Torvalds hates it compared to C and it makes sense
you should not give a fuck about linus opinions on things outside his area of expertise ie the linux kernel. There is no such thing as expert in everything.
also he uses C++ for his diving software, his 20yo rant is outdated and even the man himself moved on.
>>
>>107854524
>White men use Python
Python is for children.
>>
>>107853523
>The biggest problem with C++ is the standards committee. They keep trying to copy features
they succeed on that field,
but if you don't agree - then just fucking do not use the new features, you moron/shill
>>
>>107854814
Nice cope, Linux takes like 500% longer to build if I use default distro config instead of custom one.
Complex software has long build times no matter the lanfuage, if it is unbearably long for your scope, you are retarded.
>>
Modules solved it
>>
>>107853472
It's funny to me how people can make up the most extreme copes humanly possible for any real problem.
>>
>>107853449
Just don't use retarded libraries, simple as.
>>
File: 1759445655061272.jpg (347 KB, 2212x1640)
347 KB
347 KB JPG
>>107855086
What are smart libraries, anon.
>>
>>107855096
Libraries that, for a $5 monthly fee and a perpetual transferable license to store, consult, use, transfer and sell your personal data, allow you to call functions on someone else's computer.
>>
>>107855078
what about
>useless abstraction for C
>>
>>107855168
C is the only useless abstraction here, C++ does its best to fix it within constraints of not outright replacing it.
>>
>>107855190
>literally has more features
C++ is the one that abstracts things from C
now kill yourself, stop polluting C
>>
>>107855207
Yes, C++ is literally better than C.
>>
>>107853449
>C
>popular and good
>C++
>popular but shit



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.