manual-stg-experiment
Manually constructed STG programs compiled with the standard GHC codegen backend. (by csabahruska)
grin
GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support. (by grin-compiler)
manual-stg-experiment | grin | |
---|---|---|
1 | 3 | |
23 | 1,039 | |
- | 0.0% | |
1.8 | 1.0 | |
over 4 years ago | about 2 years ago | |
Haskell | Haskell | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
manual-stg-experiment
Posts with mentions or reviews of manual-stg-experiment.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-10.
-
Next-gen Haskell Compilation Techniques
Yes, unlifted boxed STG values does not have thunk checks. The STG to Cmm codegen generates only a single ADT tag lookup code. You can check the generated ASM code: https://github.com/csabahruska/manual-stg-experiment https://github.com/csabahruska/manual-stg-experiment/blob/master/StgSample.hs#L390-L391
grin
Posts with mentions or reviews of grin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-08.
-
A New Backend for Standard ML of New Jersey
You could take a look at GRIN, which is an IR especially made for optimizing functional languages before passing them to something like LLVM. (keep in mind that that project is still very early in development) See also their paper.
-
Haskell compiled onto LLVM increase performance?
There is the GRIN optimizer that is implemented based on Urban Boqist PhD thesis. It works really well with LLVM because GRIN removes all indirect calls so it allows LLVM to do its job really well. But Boq GRIN PhD does not tell how to support the complex GHC primop and RTS features. That's why I have another direction as well.
- Grin: A compiler back-end for lazy and strict functional languages
What are some alternatives?
When comparing manual-stg-experiment and grin you can also consider the following projects:
sense-lang - Sense is a very high level, functional programming language for creating software by writing only the absolute necessary information and not a single line above that.
ghc-whole-program-compiler-project - GHC Whole Program Compiler and External STG IR tooling
normalization-bench - Lambda normalization and conversion checking benchmarks for various implementations
capri - Statically typed programming language with emphasis on functional programming, compiles to LLVM IR.
IdrisExtSTGCodegen