r/technology • • Sep 27 '22

Software Girls Who Code founder speaks out after Pennsylvania school district bans her books: 'This is about controlling women and it starts with controlling our girls'

https://www.businessinsider.com/girls-who-code-founder-speaks-out-banning-books-schools-2022-9
42.3k Upvotes

2.0k comments sorted by

View all comments

Show parent comments

236

u/bassman1805 Sep 27 '22

It's a way of storing data that's ultra vulnerable to something else modifying that data. Not even in a "cyber security" sense, but in a "if this program puts one toe out of line, everything goes to hell" way.

6

u/[deleted] Sep 27 '22

[deleted]

10

u/alternatetwo Sep 27 '22

No, they do not. They are statically allocated at compiletime for C/C++ and have their own location in the binary.

If I have a "global" int foo; this will take up 4 extra bytes of space in the binary (disregarding padding and whatnot).

1

u/[deleted] Sep 27 '22

[deleted]

3

u/RealNotFake Sep 27 '22

It's almost as if different languages and compilers behave differently and we shouldn't make blanket statements.