grin
GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support. (by grin-compiler)
capri
A statically typed, general purpose programming language with an emphasis on functional programming and simplicity. Compiles to LLVM IR. (by 05st)
grin | capri | |
---|---|---|
3 | 2 | |
1,015 | 8 | |
-0.1% | - | |
1.0 | 0.0 | |
about 1 year ago | about 1 year ago | |
Haskell | Haskell | |
- | MIT License |
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.
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
capri
Posts with mentions or reviews of capri.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-31.
-
Capri: a statically typed, extensible, and concise (almost) functional programming language
https://github.com/05st/capri/blob/master/examples/structs.cpr → you have Pascal-style value assignment for the structs, but C-style value assignment within the structs. It says in https://github.com/05st/capri/wiki/Mutability that you just documented a "mut" keyword to distinguish mutable variables; maybe it's best left to the := for constants / immutables, and = for the mutable / "var-let"-style variables? You're onto something here.
What are some alternatives?
When comparing grin and capri you can also consider the following projects:
hackage-server - Hackage-Server: A Haskell Package Repository
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
besm - Resurrecting PP-BESM
egison - The Egison Programming Language
manual-stg-experiment - Manually constructed STG programs compiled with the standard GHC codegen backend.
qwik - Instant-loading web apps, without effort
hoogle - Haskell API search engine
ariel - A simple, purely-functional programming language
mlir-hs - Haskell bindings for MLIR
kempe - Kempe is a compiled stack-based language