capri
A statically typed, general purpose programming language with an emphasis on functional programming and simplicity. Compiles to LLVM IR. (by 05st)
grin
GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support. (by grin-compiler)
Our great sponsors
capri | grin | |
---|---|---|
2 | 3 | |
8 | 1,015 | |
- | -0.1% | |
0.0 | 1.0 | |
about 1 year ago | almost 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.
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.
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 capri 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.
hackage-server - Hackage-Server: A Haskell Package Repository
besm - Resurrecting PP-BESM
egison - The Egison Programming Language
hoogle - Haskell API search engine
qwik - Instant-loading web apps, without effort
manual-stg-experiment - Manually constructed STG programs compiled with the standard GHC codegen backend.