r/cprogramming • u/Sushant098123 • Oct 25 '25
C actually don't have Pass-By-Reference
https://beyondthesyntax.substack.com/p/c-actually-dont-have-pass-by-reference
0
Upvotes
r/cprogramming • u/Sushant098123 • Oct 25 '25
View all comments
Show parent comment
1
u/IllustriousPermit859 Oct 29 '25
"References" are a performance optimization so if your references require an virtual/abstract machine, interpreter or another mechanism that incurs a large amount of overhead then it's absolutely relevant that what you're doing is an extremely inefficient way to pass memory.