General > General Technical Chat
How many people code in C these days, and if so, why?
maginnovision:
For C++ gui stuff I usually run fltk and opengl. Typically good cross platform code even though you need to manually scale for dpi. I really don't want my code attached to a library and it's difficult to disconnect running QT.
nfmax:
--- Quote from: dmills on May 04, 2020, 09:47:18 am ---Probably a certain truth to that, frigging language would not keep still for long enough for you to actually finish anything....
C++ has some good bits, but it is such a vast sprawling mess these days that every engineer knows a DIFFERENT 20% of the language, for me it suffers from not being high level enough to be really efficient for GUI and suchlike work (Where you really want OO), while being just too big and with far too many footguns to make it attractive for small things.
That and the fact that on most platforms there is ONE C ABI, while C++ seems to have many depending in subtly ways on compiler options... Makes library things harder then they need to be.
C for low level or where speed matters, something MUCH higher level for GUI and suchlike bullshit.
--- End quote ---
C++ is a language that tries to do too much, and succeeds
bd139:
Only because there’s a language feature and chapter on redefining success in Stroustrop’s book. :-DD
0db:
--- Quote from: nctnico on May 06, 2020, 06:58:43 pm ---Well, there is also something like the 'right person for the job' who can handle the right tool for the job.
--- End quote ---
Agree, and it's also context-dependent.
0db:
--- Quote from: maginnovision on May 07, 2020, 05:38:50 am ---For C++ gui stuff I usually run fltk and opengl.
--- End quote ---
Even deep machine Learning is usually C++ stuff. A good choice, in both cases.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version