Skip to content

Conversation

@sethk
Copy link
Contributor

@sethk sethk commented Jul 20, 2025

Microsoft claims their C implementation will never include variable-length arrays because there isn't a secure way to implement them[1]. I don't know how this is different from variable-length arrays in C++ unless the standard includes a bounds check and well-defined behavior similar to std::bad_alloc.

  1. https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/

Microsoft claims their C implementation will never include
variable-length arrays because there isn't a secure way to implement
them[1]. I don't know how this is different from variable-length arrays
in C++ unless the standard includes a bounds check and well-defined
behavior similar to std::bad_alloc.

1. https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant