News for hackers. Stuff that matters.
Re:Fortran is still a thing by cf498 on Wednesday November 28, 2018 @03:33AM (#18550071)
>and is the only way to get a dynamically sized heap-allocated 2D array in C (VLAs give you stack-allocated arrays, with all the size limits that entails).

Why wouldnt you be able to create a dynamic array of arrays with placement new and a cast.

Re:Fortran is still a thing by int_19h on Wednesday November 28, 2018 @04:24AM (#18550271)
A cast to what, though? You need to be able to write the type of that array, but you can't do that unless dimensions are compile-time constants.