Y
Hacker News
new
|
ask
|
show
|
jobs
by
danvk
694 days ago
Since function parameters are immutable in Zig, is this a difference that you need to care about?
1 comments
renox
689 days ago
The parameter is immutable so if you pass a pointer, the pointer is immutable, but the pointed value isn't.. If the pointer alias another 'immutable' parameter, this parameter may not be immutable anymore..
link