News for hackers. Stuff that matters.
Re:Neverflow: Set of C macros that guard against buffer over... by uecker on Friday June 02, 2023 @11:44AM (#36166686)
These are dependent types which C++ does not have at all. The C support is fairly weak though... But most programming language people I know agree that dependent types are they way to guard against overflow with minimal overhead. So hope we can evolve C in this direction.
Re:Neverflow: Set of C macros that guard against buffer over... by inetknght on Friday June 02, 2023 @10:23PM (#36173096)
> These are dependent types which C++ does not have at all.

As a C++ developer, that sounds strange. Can you point me to some documentation about "dependent types"?