This project is read-only.

Unsafe code blocks

Topics: VB Language Design
Apr 16, 2014 at 10:39 AM
This is already possible with C#, would be nice to have it in VB as well to be able to use pointer arithmetic for arrays, etc.
Apr 17, 2014 at 1:24 AM

Every feature we add to either language must be weighed against the opportunity cost of not doing other language features. While unsafe code has its uses they're rather limited and there's always been (and still is) higher priority work to be done in VB with much greater benefit. Pointers have never made the cut and I don't expect that to change. If we see a steady flow of compelling scenarios that must be addressed more urgently that all of the other great work we're doing we would revisit this decision but for now we're passing on them.


Anthony D. Green, Program Manager, Visual Basic & C# Languages Team
Marked as answer by TomasMatousek on 4/18/2014 at 8:33 PM