I’m sort of following the process from the proposed https://github.com/haskellfoundation/tech-proposals/blob/feat/new-proposal-process/proposals/PROPOSALS.md as of right now, but bringing up a general area of concern to gather input from different stakeholders and the community.
I am very, very worried about the state of JavaScript and WebASM in Haskell. GHCJS has been a phenomenal tool, and one that I’ve bragged about widely. But the latest reliable version seems (maybe I’m wrong?) to be based on GHC 8.6.5, and work on later GHC versions appears to be slow. Ultimately, it comes down to much of the project having been driven by one person. Asterius is exciting, but ultimately in the same boat, where all development recently halted because the primary maintainer took a hiatus from the project. If the Haskell Foundation (as Andrew hinted at) has some extra funds and is looking for a high-impact way to invest in the community, I wonder what these funds might be able to do to support either or both of GHCJS and Asterius.
Personally, I’d expect the goals of such a project to be (in order):
- First, upstreaming any changes to GHC into the mainline compiler, including tests so that they do not bitrot. Also, integrating any tools changes into mainline Haskell tools so that build processes for the web are not separate from other targets.
- Second, maintaining focus on compatibility with as much of the Haskell ecosystem (Hackage, widely used libraries, etc.) as possible.
- Third, improving both build-time and runtime performance issues.
I don’t know much about the internal structure or work on these projects, so I don’t know to what extent financial investment in the projects could help. But there is reason for hope: IIRC, Well-Typed is already contracting with HF on GHC work, so additional hours there may help with upstreaming compiler changes, and Tweag is already a consulting company and maintains Asterius, so may be interested in a contract for development there that would devote paid hours to the project. Obsidian is another Haskell consulting company that has recently contributed to GHCJS and might be interested in a contract for it.