logoalt Hacker News

lrvicklast Saturday at 8:26 PM7 repliesview on HN

Unfortunately there is still no way to actually bootstrap haskell (or anything based on it) which makes it impossible to put anything written in Haskell near any high trust linux distribution or environment.

I guess sandboxing the untrusted binary in a browser is -something- to let people play with haskell in a lower risk way for the moment at least but it is hard to take a language seriously or trust it with no way to bootstrap it from source.


Replies

simonmicyesterday at 3:43 AM

You're speaking of "GHC haskell" there. Yes that is the main stream - and this will get solved there sooner or later - but you can also do a fair amount of Haskell without GHC. Eg MicroHs is getting increasingly capable and I believe is highly bootstrappable.

show 1 reply
Ericson2314last Saturday at 8:32 PM

https://discourse.haskell.org/t/what-s-needed-to-bootstrap-g... people have worked replaying the history to bootstrap.

show 1 reply
whateveracctlast Saturday at 9:35 PM

Between old Hugs and the new MicroHs, I think it's definitely doable with some elbow grease. I just don't know if anyone in the community cares that much about bootstrapping tho.

show 1 reply
yukinonlast Saturday at 9:23 PM

For someone like me that is less versed in these things, could you explain why bootstrapping a language is a required check for taking a language seriously? My criteria is far less stringent (is it stable? is it popular enough? is the toolchain mature? etc..), so I wonder what I am missing here.

show 2 replies
liveoneggsyesterday at 3:10 PM

doesn't rust have the same problem? I've known this about haskell for ages and I think it's just the new norm ("trust us, bro")

show 1 reply
rowanG077last Saturday at 8:29 PM

How is ghc compiled at all without bootstrapping? Or is there a magic binary in tree that is unreproducible? I have compiled ghc a few times and had no problems.

show 2 replies
leohlast Saturday at 9:13 PM

This is wild. I didn’t know this.