mlir-hs
Haskell bindings for MLIR (by google)
grin
GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support. (by grin-compiler)
mlir-hs | grin | |
---|---|---|
1 | 3 | |
109 | 1,039 | |
1.8% | 0.0% | |
5.3 | 1.0 | |
5 months ago | about 2 years ago | |
Haskell | Haskell | |
Apache License 2.0 | - |
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.
mlir-hs
Posts with mentions or reviews of mlir-hs.
We have used some of these posts to build our list of alternatives
and similar projects.
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 mlir-hs and grin you can also consider the following projects:
llvm-general - Rich LLVM bindings for Haskell (with transfer of LLVM IR to and from C++, detailed compilation pass control, etc.)
ghc-whole-program-compiler-project - GHC Whole Program Compiler and External STG IR tooling
llvm - Haskell bindings to the LLVM compiler infrastructure project.
capri - Statically typed programming language with emphasis on functional programming, compiles to LLVM IR.
accelerate-llvm - LLVM backend for Accelerate
manual-stg-experiment - Manually constructed STG programs compiled with the standard GHC codegen backend.