News for hackers. Stuff that matters.
Re:Generic dynamic array in 60 lines of C by sitkack on Tuesday February 28, 2023 @04:34PM (#34975173)
This isn't C, this is preprocessor. Tomato tomato, who cares if it is 60 lines or 600.

https://doc.rust-lang.org/src/alloc/vec/mod.rs.html#400

https://docs.rs/containers/latest/src/containers/collections...

Re:Generic dynamic array in 60 lines of C by lolcatuser on Tuesday February 28, 2023 @09:31PM (#34978041)
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf

Section 6.10 (Page 145): Preprocessing Directives

Hey, would you look at that! The preprocessor is a mandatory part of the language!