3 ms·
My experience writing in Swift (a mostly memory safe language) is that it's nice for high level stuff, but as soon as you have to interface with low level or le
by newaccount74 5y ago
My experience writing in Swift (a mostly memory safe language) is that it's nice for high level stuff, but as soon as you have to interface with low level or legacy code it quickly becomes unmanageable. What would be two or three lines of C code quickly turns into 10 or more lines of very hard to understand Swift code full of types named UnsafeRawBufferPointer or similar and it's doubtful that thing is in any way safer than a char* with a manual range check.