Enjoy your bloated language.
>>61595454
Thanks, I do.
I understand why Java would be called bloated, but why C++?
It's pretty much C improved, taking into account that C is a portable assembler.
>>61595692
>what is STL
>>61595692
it's C covered in a mile deep layer of dogshit
there's still no decent alternatives to C++
>in b4 muhh Rust
>>61595733
why do you need anything like C++ in the first place?
>>61595733
The only people saying Rust will replace C++ are trolls
Anyone who has written a line of C++ knows that it can't be replaced by a garage collection language
>>61595704
>>61595707
Why is C++ used over C for all performance critical programs, notably in research and finance?
>>61595485
this.
>>61595871
Just because people use it for performance-critical stuff doesn't mean it isn't bloated
>>61595924
it isnt bloated, show me one example of bloat in c++
>>61595871
It's absolutely not used in performance critical programs
>>61595924
What does bloated mean? Too many features?
>>61595988
Just look at STL or boost
>>61595989
C++ is the most widely used language in quantitative finance and is very popular in research. What the fuck are you talking about?
>>61596006
stl or boost isnt c++, thats just libraries like any other, i was asking about c++ you retard
>>61596030
STL is part of the standard retard
sage
>>61596014
>C++ is the most widely used language in quantitative finance and is very popular in research.
if you're using C++ data structures for that kind of stuff you should be shot
>>61595759
if you want to write fast code, have access to huge amount of libraries and tools; and don't care about GC or dumb safety features that get in the way (Rust) then c/c++ are the only choices really.
>>61595992
Features he has no use for.
Like his dick.
>>61596048
ok, what exactly is so bloat about stl?
>>61595485
>>61596057
/thread
>>61596050
>GC or dumb safety features
You don't have to use those in Rust. You just don't know what you're talking about.
>>61596068
what isn't?
>>61596049
fucking hell this board is delusional as fuck. Surely you know better than hundreds of CS and math PhDs who decided that using C++ was the best way to maximize profits, right?
>muh oop
>>61596101
it isnt, you were the one who claim something is, whats wrong you dont have an answer for such simple question? i though you knew what you were talking about?
>>61596105
>C++ was the best way to maximize profits,
book selling profits? consulting services profits?
you have no idea how much C++ fucks performance, kid
>>61596141
>you were the one who claim something isn't
>>61596049
Vectors are fast as a motherfucker you retard.
>>61596178
so you literally have no answer what bloated in c++, good to know that i was responding to retard, i will not fall for your bait anymore
>>61596157
Please tell us how C++ fucks performance through your internet browser that is likely written in C++.
>>61596223
at everything, you literally cant make a better vector implementation in pure c, i dare you
>>61596157
>calling me kid in an attempt to seem mature and experienced
Nobody's falling for it.
https://www.quantnet.com/threads/why-is-c-good-for-quantitative-finance-top-3-reasons.1116/
Stop using terms you don't understand just to be contrarian.
>>61596157
>you have no idea how much C++ fucks performance, kid
Citation needed
>>61596223
Storage, retrieval, iteration? Think?
>>61596223
Iterating, copying, and moving. They're blazingly fast at almost anything you would use one for.
>>61595692
C sucks though. It was invented before memory protection was a thing, and therefore it is "buffer overflow: the language".
>>61596271
temple os uses ring 0
>>61596258
if you're an adult ignorant moron that just makes it worse for you
>>61596265
>Grasping at straws
>>61596271
>>61596157
Do you people just try believe anything that sounds slightly antagonistic?
>>61596325
thats because its windows update is written in c#
>>61596360
>>61596325
What's your point? Windows is a clusterfuck that is still cobbled together with Perl scripts from 1986. It's not the fault of C++, but of poor architecture built on top of poor architecture for the past 25 years.
>>61596360
>no arguments
Cool, you can fuck off now.
>>61596259
I refer you to basic knowledge of programming
this is not daycare
>>61596388
Yeah and I could quote Stroustrup about how there are only two types of languages. Appeals to authority are retarded and so are you.
>>61596414
>asked to provide proof
>"just find it yourself"
So you don't know shit. Got it.
>>61596388
>linus
>authority on anything
linux is a mess
>>61596473
both are linux things, both are retarded
>>61596473
i don't know what systemd has to do with the fact that the linux kernel is a disgusting mess written by amateurs
>>61596388
Torvalds is a substandard programmer. That's why everyone considers Stallman the real genius behind GNU/Linux.
>>61596554
which is written in c
>Autists argue C
Just use Rust
>>61596601
>forced meme
C > C++
Perl > C
>>61596235
yeah, through internet browsers, usually the most inefficient, memory hogging, piece of software in a computer
well the JVM has gotten quite good at performance and has a more promising concurrency future
>>61596582
Because it predates C++.
How is the LLVM Rust rewrite going, guys?
>>61596722
dead, switch to c++ before its too late
>>61595692
java has fewer keywords, fewer different ways of doing one thing and the userbase isn't fragmented between different language versions.
of course it's less bloated and more orderly than c++
>>61595790
what does garage collection have to do with rust?
>>61595989
except for HFT, DAWs, all them AAA gaymen and lots of other shit
>>61596627
Chrome runs fine on my 4gb.
>>61596859
>what does garage collection have to do with rust?
It collects Rust.
ITT: C hacker syndrome.
>>61596869
Enjoy your botnet.
>>61596886
Thanks, I do.
>>61595704
>le "using C++ automatically means using STL" meme
if you don't roll your own template classes then you shouldn't be using C++
>>61597410
This.
Also, if you don't roll your own stdlib, you shouldn't be using C.
Especially concerning string handling, memory management and I/O functions. The C standard library ones really suck.
>>61597410
STL implementations are more efficient than anything you can write.
>>61597551
*more efficient for general use, not in all cases
blindly using a standard implementation just because it's standard shows a strong lack of understanding towards building efficient software
>>61597676
In all cases, the STL implementation will be faster than anything you personally can write.
>>61596874
ebin. I would upboat twice if I could
>>61597726
While I do love C++, this isn't true. There was recently an HN article of how the STL's complex class was a lot slower.
Of course, this was due to exception handling, but the point remains that there are cases in which STL isn't the fastest (but it is a really good tradeoff between safety and speed)
>>61597726
you just proved my point
software libraries that are built to be used for general purpose tasks will never be as fast or clean as a library that is optimized for a smaller set of tasks
i'm not saying you shouldn't ever use it, but i'm saying you should know when to use it and when not to use it. a skill that is sorely lacking in many developers these days
>>61597816
>i'm saying you should know when to use it and when not to use it.
And I'm saying you don't and cannot write more efficient implementations of any STL functions or containers in any use-case.
>>61597875
since you're so keen on not providing any insight into your argument, i'll help you out a bit.
why don't you tell me which implementations you hold to that standard and why?
don't tell me all of them because that just further shows how little you understand about your claims.
>>61595692
>it's C improved
It's C ruined.
>>61598023
He's trying to tell you every STL implementation is more efficient and ambiguous than anything your stupid ass can cobble together. Was that so hard?
>>61596088
Does the standard library still require using garbage collection?
>>61598023
You're misunderstanding: I'm not saying it's not possible, I'm saying you're stupid and cannot do it.
>>61595454
What is the point of this stupid fucking thread.
Obvious shitposters everywhere spouting bullshit, and then triggered retards who know shit but get baited like a 5 year old child.
>>61598073
when you put it like a guy who didn't graduate from a university in the street shitting capital of the world, no it wasn't
>>61598153
and what is your profession?
>>61598153
No, the issue stems from the retards getting triggered because they realize they don't truly know anything. Notice how no one successfully defended C++ as a memory hogging language, or problems with STL. These are topics that only post-grad students could answer, not Chinese cartoon enthusiasts.
>>61597410
Except for very specific cases, if you roll your own containers, you shouldn't be programming.
>>61595704
The issue with the STL isn't that it is bloated. It is that it frankly has too few useful utility methods, and their implementation is often horrendously unsafe to the point that the function is nigh-unusuable.
>>61596874
So Rust is a car?
Sounds like something I would download.
>>61597410
I only roll my own STL if I need to. Stop reinventing the wheel, you faggot.
>>61598287
What if I'm a post grad student AND a chinese cartoon enthusiast?
Bloated but still faster than a lot of programming languages.
You don't pay for what you don't use. Have you written an interrupt handler, OP? How about a compiler? Come back when you graduate from high school and stop sucking mommy's tit.
>>61595485
Good
>>61595704
a feature rust doesn't have
>>61596014
>doesn't realize that the banking system still relies on COBOL
>doesn't realize that most data analysis happens in FORTRAN, Stata, Python/R/Matlab
C++ is popular, but definitely not the most popular.
If you want to specialize in high frequency trading, yes.
Most of the financial world where you want to make profit off of something that isn't pure luck? No.
FORTRAN is the masterrace language for physics, finance, data analysis, and economics.
Python is probably second as a new competitor.
>>61595454
I do, thanks.
>>61595790
>The only people saying Rust will replace C++ are trollsfn reply(You) {
Ok("faggot");
}
>>61600347
>data analysis
>not SAS and SPSS
anon pls
>>61601207
>Rustlets can't even write a correct 3 line function in their own language
>tfw C++ sucks but it's the best we've got
>>61600347
Not true. C++ is heavily used in quant finance in general, not just HFT.
COBOL is only used to maintain legacy systems, it has nothing to do with quantitative finance.
FORTRAN isn't even used in finance, generally speaking.
Python/R/Matlab are only used for prototyping but are too slow for any actual performance work.
>>61595871
C++ may be used for high performance programs but that doesn't change the fact that it looks like shit, code written in it tends to be not scalar and it's not so easy to understand from a mathematical point of view.
>>61603159
t. Braiblet unable to comprehend cobol
>>61603635
>Braiblet
wew
>>61603159
You don't need speed for data analytics/big data. Hence C++ is not the goto in anything outside HFT
There are probably other areas where performance may be important, but it is definitely centered in HFT
>>61603909
>C++ is not the goto in anything outside HFT
But it is.
Java and C# are popular as well, but C++ IS the go to in finance
>>61603990
Nope, just because you say so doesn't make it so.
>>61604021
Sure, whatever you want to believe.
The true question is: Rust or Nim?
>>61595454
Using C instead of C++ is like using dos instead of windows.
>all these brainlets complaining about C++