On 31.07.2017 16:15, Shachar Shemesh wrote:
Why do you think @trusted exists?
That's fine, but since, according to the logic presented here, no OS
function can ever be @safe,
This is actually not true. Vladimir was just pointing out a complication
of which to be aware. Are you arguing against applying due diligence
when specifying library interfaces?
There is a proverb in Hebrew that says:
תפסת מרובה, לא תפסת.
Try to grab too much, and you end up holding nothing.
I.e. if you mark too many functions as @trusted, you will have no memory
safety.