Const and Optimization in C
So if I understand the author, const function arguments can just have const-ness cast away inside the function, so it's really much closer to a type hint than anything else.  However, if a variable is declared const, casting away const-ness is undefined.  Is this about right?  Yikes that's complex.  I suppose the moral is casting away const-ness is a terrible idea.