Python is memory safe? Can’t you access/address memory with C bindings?

  • lolcatnip@reddthat.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    I’m not a fan of Go, but calling its type system comparable to C is unfair. C has nothing like Go’s interfaces, and Go has generics now. Plus having strings and maps as built-in types is a huge win for convenience. Go’s slices are also superior to how arrays are usually done in C (but still a lot less ergonomic than a C++ vector or Rust Vec).