3 ms·
> Can you explain why having to put "unsafe" before FFI calls is considered a problem? I intentionally avoided taking a side in this debate. My response was fo
by cornstalks 6y ago
> Can you explain why having to put "unsafe" before FFI calls is considered a problem?
I intentionally avoided taking a side in this debate. My response was focused on the claim that there was no compromise between the parties, when I think it's pretty clear cut that there is a compromise.
Personally, I'm sympathetic to both parties. In my own personal FFI-binding library I chose to let the programmer decide per-method whether it's safe or unsafe.
- simias 6y agoI'm all for compromise but first I need to understand the pros and cons of both sides. For me here so far it's pretty clear cut: there's a right way and a wrong way. The compromise is just a slightly less wrong way. So no I don't accept this compromise in this situation.