Interesting technical achievement but what would this be used for in practical terms?
GHC now runs in the browser
21–30 of 131 posts
Re: GHC now runs in the browser
#22Interesting technical achievement but what would this be used for in practical terms?
I think the immediate and obvious case would be educational materials. Other than that, technical achievements need not always be practical to be cool :)
Re: GHC now runs in the browser
#23Does it use WasmGC, or bundle its own garbage collector?
Re: GHC now runs in the browser
#24Interesting technical achievement but what would this be used for in practical terms?
Re: GHC now runs in the browser
#25Re: GHC now runs in the browser
#26Re: GHC now runs in the browser
#27Re: GHC now runs in the browser
#28Interesting technical achievement but what would this be used for in practical terms?
Have you ever used Godbolt? The Rust playground? The Typescript's playground? The Go playground? It lets you have that without the pain of hosting compilers server side.
> jupyterlite-xeus builds jupyterlite, Jupyter xeus kernels, and the specified dependencies to WASM with packages from conda-forge or emscripten-forge.
jupyterlite/xeus https://github.com/jupyterlite/xeus
There may be an easy way to wrap GHC with jupyterlite/xeus, with Haskell's lazy evaluation; xeus-haskell or xeus-ghc?
Re: GHC now runs in the browser
#29For those not well versed in Haskell, GHC is apparently this: https://www.haskell.org/ghc/ What is GHC? GHC is a state-of-the-art, open source compiler and interactive environment for the functional language Haskell.
And frankly, while the compiler is awesome and so is the research, the constant churn and seeming inability to settle on what the good programming style and set of features actually is is what eventually turned me away from the language and to the more stable (if near-abandoned) pastures of Standard ML. (That was during the type families upheaval, so, about ten years ago? Don’t know how well it reflects the current state of the project.)
Re: GHC now runs in the browser
#30Interesting technical achievement but what would this be used for in practical terms?