penrose
purescript-backend-optimizer
Our great sponsors
penrose | purescript-backend-optimizer | |
---|---|---|
16 | 4 | |
2,598 | 194 | |
0.3% | 2.6% | |
0.0 | 6.2 | |
over 1 year ago | 11 days ago | |
Haskell | PureScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
penrose
-
Secretly introduced rust in my company, now they love it!
There is a fork that compiles to js https://github.com/ghcjs/ghcjs compiler, and I believe the official glasgow compiler is working towards also supporting js/wasm (although I don't think they are supported as of yet).
-
Resurrection/modernization of an old Haskell+Haste project (boardgame Yinsh)
I don't know anything about Haste, but you can get GHCJS 8.6 (or 8.10 with a bloated executable) via nix fairly easily or alternatively wait until the JS target recently merged into mainline ghc gets production ready: https://engineering.iog.io/2023-01-26-ghc-update.
-
How does GHC built from source set header search path?
Ah GHCJS does have this header: https://github.com/ghcjs/ghcjs/blob/ghc-8.10/lib/boot/data/include/stg/DLL.h
- Haskell, JS, and WebDev?
-
Status of GHCJS for larger projects
It seems like https://github.com/ghcjs/ghcjs/issues/821 is a rigid dealbreaker for any sizable project.
-
GHCJS or Asterius
About the FFI: GHCJS extended the FFI to support inlined JS, named arguments, etc. See https://github.com/ghcjs/ghcjs/blob/master/doc/foreign-function-interface.md For now the JS backend only implements FFI calls similarly to native FFI. The rest will be open to discussion later (e.g. in a ghc-proposal) and should take into account the Wasm backend so that the same user code compiles with both backends as much as possible.
- Just few questions on Miso and GHCjs
-
Memory from finished thread is not getting reclaimed
Other than that, I ran into a GHCJS and Miso bug, but they weren't too hard to solve.
-
GHC Pluggable Backend?
There are a bunch of open branches. And yes, there is ghcjs support in haskell.nix, see this comment.
-
Is GHCJS stuck on GHC 8.6.5?
When I compile the ghc-8.8 branch locally, I get a number of test failures from the test suite. I'm not sure exactly how to fix them and they aren't currently my highest hobby priority.
purescript-backend-optimizer
-
GHCJS or Asterius
FWIW, and I realize this is somewhat off-topic, but I'd like to note that PS tooling has improved dramatically since then. With ES modules, it works out of the box with JS tooling (we recommend esbuild, which will bundle/minify/strip unused code in a fraction of a second). And with purescript-backend-optimizer you can get even smaller code with non-trivial high-level optimizations for production builds. I just want people to know that I don't think anyone will need 1-2 engineers just to figure out how to deploy PureScript code.
- Speed up PureScript programs by 25%
- An optimizing backend toolkit for PureScript
- purescript-backend-optimizer - A new optimization pipeline and modern-ES backend for PureScript.
What are some alternatives?
ascii-art-to-unicode - Small program to convert ASCII box art to Unicode box drawings.
elaboration-zoo - Minimal implementations for dependent type checking and elaboration
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
cube-composer - A puzzle game inspired by functional programming
safe - Haskell library for safe (pattern match free) functions
purescript-halogen - A declarative, type-safe UI library for PureScript.
aeson-serialize - Functions for serializing a type that is an instance of ToJSON
insect - High precision scientific calculator with support for physical units
cognimeta-utils - Utilities used by Perdure
purescript-halogen-realworld - Exemplary real world application built with PureScript + Halogen
miso - :ramen: A tasty Haskell front-end framework
spago - 🍝 PureScript package manager and build tool