Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> No, because that would make it internal to each object file, while what you want is for all object files to see the same memory location.

I can see exactly one use for an effect like that: static variables within the function.

Are there any other uses?



Global variables and the magic of a build system based on C semantics.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: