‹ BackHN Continuity

Thread

Platform-independent SIMD in Go

414 points · 152 comments · yurivish

  1. u8 · · focus · HN ↗
    This is why I love Go. Nobody was asking for this, but they took the time to do it right and continue to Push go as a memory safe, high-level systems language.
    1. OutOfHere · · focus · HN ↗
      (removed)
      1. seki285 · · focus · HN ↗
        No idea why you're getting downvoted for true statement. Without a ? like in C# you're always at risk of a nil pointer being dereferenced
        1. bel8 · · focus · HN ↗
          > like in C# you're always at risk of a nil pointer being dereferenced

          That throws a NullReferenceException

          1. seki285 · · focus · HN ↗
            Cool, very clever. But at least the compiler warns me of a potential exception, whereas in Go no such op even exists.
            1. mitxela · · focus · HN ↗
              you can dereference nil in Go and it panics
              1. pjmlp · · focus · HN ↗
                And then use Go's pseudo exception handling and recover.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.