Elektrine lite

← Feed

@shac@ioc.exchange

Post #4141934

2026-07-27 16:48 UTC

Panics on memory error detection is not memory safety. If your application is memory-safe then your users will never encounter the effects of memory errors.

Replies (1)

  • @mort@floss.social 2026-07-27 18:32

    @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.

    Open ##4182677