Elektrine lite

← Feed

@mort@floss.social

Post #4182677

2026-07-27 18:32 UTC

@shac@ioc.exchange This is a fine enough definition of memory safe, but not the one in common use. People typically consider the likes of Java, Python, Go and JavaScript to be memory safe, even though they all have variations of null pointer dereference exceptions and use after free exceptions (e.g exceptions due to writing to a closed stream). It's generally considered "memory safe" because the result is a controlled crash rather than "undefined behavior" where anything can (and will) happen.

Replies (1)

  • @bugaevc@floss.social 2026-07-28 04:43

    @mort@floss.social @shac@ioc.exchange you forgot Rust in that list, which panics on unwrapping None (analogous to null pointer exception) and out-of-bounds array indexing

    Open ##4182672