News for hackers. Stuff that matters.
Re:I Am Not a Supplier by tsimionescu on Sunday January 01, 2023 @03:25AM (#34204653)
Can you give some examples of such a pure language? Haskell is definitely not it, since you can always call unsafePerformIO anywhere to do anything. I would guess Idris has something similar, but maybe I'm wrong.

Also, if a dependency actually needs IO (either a networking library, or a DB library, or just for logging purposes), the guarantees you're talking about again go out the window.

And, moving to the more extreme scale, you can never be 100% sure that some dependency hasn't found a way to trick the compiler or runtime system into doing something it's not supposed to be possible to do, even if it consists of (ostensibly) pure code only.

Re:I Am Not a Supplier by bhickey on Sunday January 01, 2023 @06:21AM (#34205453)
> Can you give some examples of such a pure language?

BPF and eBPF, though this feels unsatisfying.