News for hackers. Stuff that matters.
Re:Learn C in Y Minutes by heinrichhartman on Tuesday April 13, 2021 @07:28AM (#26790789)
Writing correct C is REALLY hard and slow (strings, manual memory management, concurrency pitfalls). So the investment is not paying off unless you are writing highly performance critical backend services.

What can pay-off is learning to read C. Node.js, Firefox, Postgres, Linux are all written in C/C++ so if you ever want to really understand what's going on or have to debug a nasty bug, then you will need to be able to find your way around these code-bases.

Re:Learn C in Y Minutes by roryrjb on Tuesday April 13, 2021 @07:42AM (#26790890)
Also beyond the codebases themselves, interactions with the running code via GDB or tracing frameworks like dtrace, bpftrace, where you often reference C data structures. As well as being able to more fully understand the output of strace and other tools.
[dead]
Re:Learn C in Y Minutes by jcelerier on Tuesday April 13, 2021 @09:09AM (#26791663)
Most people do that on Arduino which is as c++ as it gets, with templates, etc...
Re:Learn C in Y Minutes by Yoofie on Tuesday April 13, 2021 @11:57AM (#26794152)
If you mean hobbyists, then probably yes. But there are whole industries who use embedded C as the defacto standard, such as automotive.
Re:Learn C in Y Minutes by jcelerier on Wednesday April 14, 2021 @07:48AM (#26805759)
I've worked on automotive and that was definitely C++, to a very deep level