Re:On Apple's Love Affair with Swift
by ovao on Saturday August 11, 2018 @06:46PM
(#17741953)
Which is a problem for developers who simply want to write code without having to reason about whether it’s safe to dereference something, and without having to worry about a simple oversight resulting in the programmatic equivalent of summoning Cthulhu.
[ Parent
| on HN ]
Re:On Apple's Love Affair with Swift
by SlowRobotAhead on Sunday August 12, 2018 @02:48AM
(#17743266)
>a problem for developers who simply want to write code without having to reason
Still not seeing the problem.
Pointers aren’t magic and aren’t hard.
Pointers, conceptually speaking, are not hard.
Pointers, in practice, are hard. Even C-family compilers cannot safely reason about them in many (most) cases.
Re:On Apple's Love Affair with Swift
by pertymcpert on Monday August 13, 2018 @09:21AM
(#17749816)
Oh boy, trying to debug some miscompile because of a subtlety in aliasing rules would make me disagree.