^ In this repo there is a link to the talk, and its queued up at the Haskell portion.
This is still heavily under development and requires nix to get a forked GHCJS (BigInt support needing a polyfill), we are able to draw native iOS UIView and native Android views as welI. It is also extensible with other native device APIs, which will be wrapped in JS and are accessible to us via Haskell.
This is the same code they use in the actual TikTok app, so it sees a lot of use.
Special thanks to the LynxJS team for democratizing react-native style development with their innovative API (PrimJS API) and dual-interpreter approach.
I call the new JS backend in GHC, GHCJS9122. In practice you still have to fetch a new compiler so it feels like the same experience as just using GHCJS86. Easier naming imo. But from a compiler developer perspective, it’s a new backend yes. From an end user perspective it’s just a new version.
Right now this only works with the latest GHC and its new JS backend (GHCJS9122)
Yes and no. Older versions of GHCJS produce smaller payloads than the current JS backend (by a large factor, maybe 5x). Luckily current minifiers help a lot.
In theory this should work with GHCJS86, but I haven’t tried yet.