Stefan
can you control the register manually without delegating to assembly
Stefan
not in the sense of "register int A;"
Anonymous
there is
Not that much as C++
Anonymous
not in the sense of "register int A;"
Lel that has nothing to do with delegating registers
Anonymous
I know.
Stefan
the only good point to me that why c is good is that its compiler is relatively easy to write compared with c++...
Stefan
beyond that, c is already obsoleted
Stefan
it can only drag you on productivity negatively
Anonymous
On bare metal my experiences are: Its hard to predict the generated code in C++, it can be hard to understand if someone adds abstraction cause you want your code as simple as possible and some debugging was also hard
Anonymous
If someone wants to use C++ there thats fine. Everyone can use what he wants.
Anonymous
I just read a core guide that without oo cpp is really not necessary as c exist
Stefan
i totally agree that STL generates crap code
Stefan
but in defense of C with Classes people
Stefan
it is the same to pseudo-oo c with much less mental burden
Anonymous
Well, whatever
BinaryByter
but in defense of C with Classes people
those are the biggest cringe
Stefan
those are the biggest cringe
nah, linux kernel could be better if they use c with classes
Stefan
but clearly linus would kill somebody
Stefan
C++
its actually this: https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b
Stefan
somewhat parallel to embedded c++
Anonymous
Do you think we should abandon virtual functions for oop but using bind and std::function instead?
Stefan
i mean, i also kind of confused at c++20 concepts and contracts
Stefan
std::function is based on virtual functions
Anonymous
what?
Stefan
you dont know it really
Anonymous
sry I don't know it and thx for tell me
Stefan
i mean these are c++ basics right?
Anonymous
IT should be
Anonymous
I use modern features of cpp not so often but I want to program in modern style😜ོ
Stefan
but ftsio
Anonymous
I just don't know how to...
Anonymous
get on the train
Stefan
get on the train
llvm nightly or gcc 9
Stefan
easy
Anonymous
👍
Anonymous
eee I don't think I could understand code from llvm and gcc 😂
Anonymous
Anybody learn from these advanced projects
Anonymous
eee I don't think I could understand code from llvm and gcc 😂
Lel, you should use this to compile code with C++20 features
Anonymous
Not understand the compiler codebase
Anonymous
😂😂😂
Anonymous
Anybody learn from these advanced projects
Yeah, you can contribute to llvm
Anonymous
For modern cpp I think cpp14 is enough
Anonymous
And gcc if you want
Anonymous
Haha
Anonymous
I really prefer llvm xD
Anonymous
Why not msvc
Anonymous
I don't use windows
Anonymous
they will not accept my codes haha
Anonymous
I am just a newbie on cpp
Stefan
For modern cpp I think cpp14 is enough
sad by true fact reflected by hackerrank
Stefan
Why not msvc
because i always got internal error
Anonymous
can I ask what you programming daily
Stefan
can I ask what you programming daily
uh, i used to write constexpr stuff all day
Anonymous
Msvc works good for me
Stefan
compiles like msvc with partial sfinae support is a real pain
Anonymous
Then you may be some plp so called advanced programmer
Anonymous
I use qt for creating windows ui and its just not necessary to use constexpr
Jesse.ess
Lost
Stefan
you dont know its significance in replacing those shitty macro
Stefan
very very valuable
Anonymous
I'm sure its cause you didn't used that much TMP hehe
Stefan
despite c++ is even more and more turing complete and context-sensitive
Anonymous
I use const variable instead macro
Anonymous
never
You don't need it, don't worry. But its fun
Anonymous
after several months qt programming ,I want to find some style I can hold for long time for ever ,and I want to know how to architect my project
Anonymous
to write good codes to be better programer
Anonymous
haha