linear-base
Standard library for linear types in Haskell. (by tweag)
koka
Koka language compiler and interpreter (by koka-lang)
Our great sponsors
linear-base | koka | |
---|---|---|
10 | 31 | |
333 | 3,040 | |
1.2% | 1.6% | |
5.9 | 9.8 | |
15 days ago | 11 days ago | |
Haskell | Haskell | |
MIT License | GNU General Public License v3.0 or later |
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.
linear-base
Posts with mentions or reviews of linear-base.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-11.
-
What I don't do is look at flour, water and salt, then map them all through an anonymous function, which gives me unstirred dough while leaving the original ingredients unchanged.
lol no Data.Dough.Destination
- Linear Types in Haskell
-
What is the longterm status of -XLinearTypes ?
Thanks for your interest in linear types. The sort of overarching answer is that the Covid crisis has put a serious wrench in our plans. There has been very little progress on the implementation in the past 2 years, I'm afraid. I hope to slowly pick up the pace again this year. But I make no promise as to specific plans just yet. When we have more visibility, we will publish a roadmap. This is not to say that nothing has happened at all: linear-base is getting a pretty significant release any day now, David Feuer (no affiliated with Tweag) has created linear-generics, an implementation of Generic which is compatible with linear types (there is a surprisingly subtle issue with Generic1, in particular, that I don't understand very well, so won't try to explain), we co-wrote two academic articles as well.
-
Does Haskell allow pure functions to use *encapsulated* impurity
See here for a linear quicksort implementation.
-
Monthly Hask Anything (March 2021)
Handle is defined in terms of UnsafeResource (in linear-base). This is where the linearity checking "stops". If you pattern match an UnsafeResource then you have to make sure that you correctly close/free it. Luckily, this only has to be implemented once in an internal module and is not exported in the public interface.
-
Tweag - linear-base makes writing Linear Haskell easy and fun
The optics sublibrary is not very developed yet. Because our arrays, which are one of the principal use-case, require a special kind of lens which we haven't managed to produce without too much code duplication yet. The design space is discussed in this issue.
-
Monthly Hask Anything (January 2021)
So to write a function f :: a %1 -> () you have to traverse the whole datatype a, see the Data.Unrestricted.Internal.Consumable and Data.Unrestricted.Internal.Instances, which introduces a type class consumable which implements exactly this functionality.
-
Ephemeral Purely Functional Data Structure And
Trying to run empty Ur shouldn't typecheck, because the Ur constructor is not linear. This seems to be an idiom used in other places of linear-base.
koka
Posts with mentions or reviews of koka.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-03.
- Koka v3 Released
-
Koka: A fast functional programming language with algebraic effects
This post by the Koka-author is an update about what's currently being worked on: https://github.com/koka-lang/koka/discussions/339
-
Not Use Path Based Imports
Some programming language like JS, use path-based imports, that's not good for making a stabel API.
See https://api-extractor.com/pages/setup/configure_rollup/#:~:text=(The%20API%20Extractor,with%20that%20effort.)
And https://github.com/koka-lang/koka/issues/31#issuecomment-1482200826
-
What features would you want in a new programming language?
It also offers a great Inversion of Control mechanism where everything is customisable, and, unlike Capability Objects, AESs also offer compatibility with type inference (you can pass functions doing IO to map, and it Just Works(TM)) and first-class control over stack frames (because really a continuation function is just some stack frames, which you can manually move to the heap if you want a closure; which means async is an effect!). It also is composable in ways Monads are not.
-
What are you doing about async programming models? Best? Worst? Strengths? Weaknesses?
Koka and other languages implementing Algebraic Effect Systems make everything a user-defined case of coroutines: async is just another effect/Monadic type. Zig does something similar by having first class stack frames, making all function calls possibly asynchronous.
-
Letlang, a programming language targetting Rust - Road to v0.1
Super interesting, there is a proposal to add this to JavaScript and several languages that use this, unison, koka & eff. I had no idea this was even a thing!
-
Let's collect relatively new research programming languages in this thread
Koka, already cited in this thread, early 2010s. Koka's first claim to fame was a usable effect system (at the type were, basically, effect systems were not usable in practice; in fact few languages have managed to do as well as Koka since). Now its author is working on cool implementation strategies for functional languages as well.
-
[Offer] Tutoring for Computer Science / Programming / Software Engineering topics
I'm a software engineer with 3 years of professional experience. I worked for 2 years at Microsoft on Azure Compute and now work at Google, working on improving Google search. I am the sole maintainer of the popular open-source library microlens with 80k downloads. I've also contributed to the Koka programming language developed at Microsoft Research.
-
Implementing the Perceus reference counting GC
By implementing all of those optimizations in the Koka programming language, they achieved GC overhead much less and execution time faster than the other languages including OCaml, Haskell, and even C++ in several algorithms and data structures that frequently keep common sub-structures of them, such as red-black trees. For more information, see the latest version of the paper.
- Creator of SerenityOS announces new Jakt programming language effort
What are some alternatives?
When comparing linear-base and koka you can also consider the following projects:
juvix - Juvix empowers developers to write code in a high-level, functional language, compile it to gas-efficient output VM instructions, and formally verify the safety of their contracts prior to deployment and execution.
effekt - A research language with effect handlers and lightweight effect polymorphism