News for hackers. Stuff that matters.
Re:Building a Cloud Database from Scratch: Why We Moved from... by xiphias2 on Friday February 10, 2023 @09:00AM (#34739651)
I agree with the macro part. I have seen people use macros instead of functions as a way to escape the type system. But it's not a problem that comes up with C++ programmers.
Re:Building a Cloud Database from Scratch: Why We Moved from... by goatlover on Friday February 10, 2023 @12:19PM (#34742613)
Don't templates provide similar functionality in C++?
Re:Building a Cloud Database from Scratch: Why We Moved from... by xiphias2 on Friday February 10, 2023 @01:31PM (#34743680)
Templates are needed in C++ for compile time polymorphism. Rust is able to do that without macros with generics.