News for hackers. Stuff that matters.
Re:C/C++ vs. Rust Performance by gpderetta on Sunday November 01, 2020 @02:07PM (#24961656)
C has standardized dynamically sized automatic arrays which is close enough to alloca. The standard wouldn't concern itself of were the space is actually allocated, just mandate that it is freed when the function terminates.
Re:C/C++ vs. Rust Performance by ncmncm on Sunday November 01, 2020 @10:40PM (#24964635)
Removed from the last C Standard. It was recognized as a mistake.
Re:C/C++ vs. Rust Performance by gpderetta on Monday November 02, 2020 @05:22AM (#24966460)
Not so much removed but made optional (see __STDC_NO_VLA__), but I guess it is close enough.