News for hackers. Stuff that matters.
Re:I write type-safe generic data structures in C by brunker2 on Monday June 30, 2025 @07:06PM (#44428869)
Why would you write C++ if you can get the same result by jumping through a few hoops with C?
Re:I write type-safe generic data structures in C by zabzonk on Monday June 30, 2025 @07:22PM (#44428982)
Templates in C++ require language support - you can't simply implement them with "a few hoops" in C.
Re:I write type-safe generic data structures in C by ramon156 on Tuesday July 01, 2025 @03:06AM (#44431351)
Templates are a solution for a problem that c++ themselves created
Re:I write type-safe generic data structures in C by flqn on Tuesday July 01, 2025 @04:08AM (#44431705)
You mean the same problem that the article is trying to solve in C? Generic data structures?
Re:I write type-safe generic data structures in C by menaerus on Tuesday July 01, 2025 @03:58AM (#44431655)
What problem?