My Language Feature Requests

Craig Black craigblack2 at cox.net
Sun Dec 23 07:19:02 PST 2007


>
> Unless I am missing something, this would require a run-time check for 
> each pointer assignment or pointer arithmetic operation.  Personally, I 
> would make every effort to avoid this overhead.  Pointers should be 
> lightweight and fast.

I hereby detract this statement.  These run-time checks could be optional. 
They could be like asserts or bounds-checking that is removed in release 
mode.  Then all that compile-time stuff I mentioned before would be 
unnecessary I think. 




More information about the Digitalmars-d mailing list