effekt
cogent
effekt | cogent | |
---|---|---|
13 | 4 | |
288 | 157 | |
2.8% | 0.0% | |
9.7 | 0.0 | |
4 days ago | about 1 year ago | |
Scala | Isabelle | |
MIT License | GNU General Public License v3.0 or later |
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.
effekt
-
What the imperative shell of an Functional Core/Imperative Shell language looks like
I like it. Modern languages that distinguish between pure and impure programs like Flix, Koka, and Effekt do so on the type level instead of syntactically. This has three advantages:
-
Algebraic Effects: Another mistake carried through to perfection?
The problem with checked exceptions been identified and solved. The same problem and solution applies to effect handlers. Effekt is a language with lexical effect handlers which doesn't have this problem. Consider the following program in Effekt:
-
Is continuation passing style conversion still used as an intermediate language?
Yes, for you this is the right decision. But for us going to CPS makes everything significantly easier and in cases where you do use control effects significantly faster. For our language Effekt we are exploring different tradeoffs in different backends.
-
The Registers of Rust - Without boats, dreams dry up
This pattern they observe is nicely captured by effect handlers. These examples are written in Effekt.
-
An approach to manual memory management and side effect handling system, feedback, ideas and thoughts requested
This is beyond my level of expertise. But effect tracking? There are some cool languages out there that do that consistently! Search for "algebraic effects". My favorite is Koka. Effekt also seems to be a popular choice.
-
Let's collect relatively new research programming languages in this thread
https://effekt-lang.org/ A research language with effect handlers and lightweight effect polymorphism
-
Is there a garbage collected, statically typed language, that has null safety, and doesn't use exceptions?
Examples are languages like Koka, Effekt, Links, or Unison. These languages come with a type-and-effect system: a function's type not only tell you which values the function accepts and which values it returns, but also which effects it has. This is relevant to your question, because throwing an exception is one such effect.
-
The Val Object Model: Template for a possible future Swift object model
It seems that with Effekt we are pursuing the same goal, but coming from the opposite direction, perhaps one day we will meet in the middle :). We start from a purely functional language and carefully add effects like mutation.
- Is there a pure-functional ML?
-
"Colored" functions: pure versus impure
- https://effekt-lang.org/
cogent
-
Let's collect relatively new research programming languages in this thread
Cogent, late 2010s, a language with linear types for verification. The idea is that you write functional-looking code that is easy to verify using the functional semantics, but with an efficient compilation strategy enabled by linear types to get realistic system programs.
-
Thoughts on the Rascal meta-programming language
Of course. Here was the first incarnation: https://github.com/amw-zero/sligh. It has a decent overview of the idea in the readme. To sum it up here, the idea is: have a language built around model-driven development and model-based testing, where you write a simple model of an application, and the implementation and model-based tests are compiled for you. I wrote about the overall model-based testing strategy here. This idea comes from self-certifying compilers that produce proofs of their correctness such as Cogent, but we drop the formality requirement and use property-based testing to compare the implementation and model.
-
Are there any ML style languages with no runtime?
That made me think of this project Cogent. This is almost certainly not what you’re looking for, because it’s aimed at formal verification. But, it does have some interesting properties, like manual memory management through uniqueness types. It doesn’t even support recursion though so, probably not so good as a general purpose PL.
-
I'm a freelancer and I've got a customer who is asking for USB driver for a new device. They want it written in c++ and I said I'd only consider creating and supporting it if it was written in Rust. 🤷♂️
https://github.com/NICTA/cogent is for auto generating isabelle theorems + C code.
What are some alternatives?
koka - Koka language compiler and interpreter
py4j - Py4J enables Python programs to dynamically access arbitrary Java objects
Eff - Eff monad for cats - https://atnos-org.github.io/eff
edsl - Example of embedding TypeScript as an EDSL inside of another language
tofu - Functional programming toolbox
programming-language-subreddits-and-their-choice-of-words - How do the different communities talk?
hylo - The Hylo programming language
karamel - KaRaMeL is a tool for extracting low-level F* programs to readable C code
cooltt - 😎TT
datafun - Research on integrating datalog & lambda calculus via monotonicity types
effects-bibliography - A collaborative bibliography of work related to the theory and practice of computational effects
jasmin - Language for high-assurance and high-speed cryptography