Cheng Shao
Cheng Shao
`_LIBCPP_NO_EXCEPTIONS` should have been enabled in wasi-sdk's libcxx according to https://github.com/WebAssembly/wasi-sdk/blob/main/Makefile#L144.
That would be fine, but works only for peeking (`mmapFileByteString` maps file in `ReadOnly` mode). We should use `mmapFilePtr` and play with raw `Ptr`s. I'll write a benchmark to see...
@mgsloan Sorry for the late reply. I implemented the operations in a separate package here: https://github.com/TerrorJack/store-file (not on Hackage yet). It can run `Peek`/`Poke` operations given a `FilePath`, and has...
I think it's related to some change of `builtins.fetchGit` since `2.4`. Right now the workaround is to add sha256 annotation.
After #1437 got merged, I managed to build `haskell-language-server` with `ghc922` using only `reinstallableLibGhc = true` module, without specifying a long list of `nonReinstallablePkgs`.
Asterius (experimental haskell-to-wasm compiler) is also heavily dependent on tail calls, since the Haskell stack is managed explicitly as heap data, and we do need the guarantee that control flow...
Unfortunately, we don't support C sources for now. In the longer term we'll have some degree of integration with existing toolchains (either `wasi-sdk` or `emscripten`), but for now the best...
@janakg It may be possible to use another toolchain to cross-compile `pcre` to wasm, load the wasm files in js, and use JSFFI to call the exported functions in Haskell....
I just gave `ghcide` a try. Seems nice (hover, goto, etc), but there's a problem: to avoid loading the `.hs` sources which aren't actually used by the host `asterius` package,...
Thanks for reporting. This is the same error as seen in https://app.circleci.com/pipelines/github/tweag/asterius/1697/workflows/97316b3c-006c-4e78-9e40-c8e14560563f/jobs/13829 reported by the time we merged #663. I assume it's the same problem of incompatability between gnu/xcode toolchains....