News for hackers. Stuff that matters.
Re:Moving the Linux Kernel to Modern C by midjji on Friday February 25, 2022 @03:27PM (#30471964)
Not wrong, but its a feature, rather than a problem.

C++(17+) template based metaprogramming far more powerful and generic than what you can do in eg rust. Converting eg a rust or go or python, or julia, etc library into c++ is pretty straightforward, just use appropriate overloads, and a few template tricks, and you can mostly copy the code directly. But copying between these, or from c++ is much harder.

The solution is to learn one approach suitable for the problem you have right now, then widen over time. The many languages of c++ as you describe is less of a problem, the problem is that some approaches are deeply and fundamentally flawed, but still in common use.

There are no comments on this comment yet.