Want to use modern C++ features like Modules? Nuh uh can't include "non-importable headers" from common librariesWhat's "non-importable"? IT'S IMPLEMENTATION DEPENDENT. No one knows.C++ keeps stapling shiny new abstractions onto a language whose foundation is still “whatever your compiler feels like today.” Every new feature “works unless it doesn’t.”It’s not a language design so much as cardboard layer cake. Why don't you use something else? MPI. The alternative would be Fortran.
isnt fortran a procedural mathfag language with 'some' OOP plastered on top as an afterthought on later versions? Idk c++ but I dont get why people who seemingly dont know shit likes to complain about it so much
>>107638778Yeah it sucks that we can't deprecate stuff. Too many boomer corps relying on old shit. Only hope is that eventually they adopt Rust enough that C++ can just go nuclear on all the legacy crap due to nobody using it.
>>107638967as a C++ programmer, the hatred is well deserved. the language is fucking terrible because it's a thousand and one conflicting visions crammed into a giant design-by-committee mess. everybody will say "well C++ isn't so bad, you just have to restrict your usage to 1% of the language" and not even blink like that's actually a sane thing to say.
>>107638778Doesn't matter. It's still fast. It still has good libraries. It can still do anything you want/need. It still has good compilers. It still has good tools. It still runs on anything.
>>107638778> Why don't you use something elseBecause every other language is a second class citizen. C is the lingua franca of computing, everything else is forced to use some grotesque FFI. Being mostly a superset of C is the only reason anyone uses C++. And people will continue to use C++, since not one person has attempted to create an alternative.
>>107639141>like that's actually a sane thing to saybut isn't it? it's better to have a single language with thousand extensions and standard libraries you can choose among then having to learn multiple different smaller languages with all different syntax, semantics and idioms, imo.
https://www.youtube.com/watch?v=7fGB-hjc2Gc
>>107639984>a single language with thousand extensions and standard libraries you can choose among then>multiple different smaller languages with all different syntax, semantics and idiomsthere is little distinction between the two in practicea c-style c++ codebase is practically unusable in a rust-style c++ codebase without so much code in between that it approximates a FFI
only problem with c++ i had was being unable to install third party libraries and frameworks
c++ is c + classes(raii) + templates + lambdas + overloads + namespaces. most of the compile time magic is for the standard library. the largest issue with c is the lack of generics and namespaces, and c++ provides this. the only thing i dislike about c++ is that types are implementation specific, which is also an issue with c. i have never found the header convention to be bad, so i dont get why retards want modules. a header is just a list of forward declarations, its not that complicated. also c++ 17 is all you need, and that is why g++/clang only fully support to up c++ 17.
>>107640031>there is little distinction between the two in practiceeven with completely different styles you have same or familiar idioms and syntax and such. I never worked in such codebase so I wouldnt know though.>there is little distinction between the two in practicea c-style c++ codebase is practically unusable in a rust-style c++ codebaseis this even c++ specific or a multiparadigm language "issue"? you get this with any language that is not totally pure I assume.
>>107640103do modules decrease compile times by avoiding compiling the same code in different TUs over and over? I remember if you included a header with method implementation that's what happens.though, methods inside headers are not idiomatic I guess, are they?
>>107639946objective-c is a thing and worked reasonably well for next/apple despite its stupid syntax
>>107638778Skill issue.
>>107638778Retard take.