Re:Casey Muratori – The Root of the Root of All Evil – BSC 2...
by tome on Monday August 31, 2026 @12:56PM
(#49511973)
I think nextaccountic is not technically fully correct, but he/she is at least correct in the most important part: Safe Haskell is not really practical.
But if you don't want an ironclad guarantee and instead you're content with making wrong code obviously wrong even if it's not formally verified, then I recommend Haskell with a capability system (what the Haskell world calls an "effect system"). As far is I'm concerned there are two practical choices in 2026, Bluefin (mine) and effectful (one of Bluefin's inspirations)
Re:Casey Muratori – The Root of the Root of All Evil – BSC 2...
by josephg on Monday August 31, 2026 @07:43PM
(#49516180)
How does this compare to Spritely Goblins? I had a good chat with Christine about it at a conference. She said "Ah, you've been infected with the capabilities virus too. My condolences."
Re:Casey Muratori – The Root of the Root of All Evil – BSC 2...
by tome on Tuesday September 01, 2026 @03:26AM
(#49519065)
Interesting, I have not heard of Spritely Goblins! But neither Bluefin nor effectful could be described as distributed capability systems/effect systems, so I don't think they're comparable.
On infection, I think it's a bit like being infected by mitochondria :)
Re:Casey Muratori – The Root of the Root of All Evil – BSC 2...
by tialaramex on Wednesday September 02, 2026 @03:37PM
(#49541291)
> The thing I really want is a language or environment with no implicit access rights
I don't think you'll find anything like that from a General Purpose Language, so you probably want something like WUFFS [Wrangling Untrusted File Formats Safely].
This would guarantee - at a language level - that leftpad or log4j can’t root my computer.
Safe rust doesn’t give this guarantee. Safe code can still make arbitrary syscalls. Safe rust can convert a path string to a File. Or open arbitrary network sockets. Rust also doesn't have a way to import a crate but forbid the use of any unsafe blocks.
I want to be able to use 3rd party code from cargo without getting hacked. Right now rust does not keep me safe from these supply chain attacks.
I don’t know enough about safe Haskell to know how close it tacks to this. But that’s what I want.