mpl
millet
mpl | millet | |
---|---|---|
7 | 6 | |
287 | 194 | |
15.0% | - | |
8.4 | 9.5 | |
about 2 months ago | 6 days ago | |
Standard ML | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
mpl
-
Garbage Collection for Systems Programmers
I'm one of the authors of this work -- I can explain a little.
"Provably efficient" means that the language provides worst-case performance guarantees.
For example in the "Automatic Parallelism Management" paper (https://dl.acm.org/doi/10.1145/3632880), we develop a compiler and run-time system that can execute extremely fine-grained parallel code without losing performance. (Concretely, imagine tiny tasks of around only 10-100 instructions each.)
The key idea is to make sure that any task which is *too tiny* is executed sequentially instead of in parallel. To make this happen, we use a scheduler that runs in the background during execution. It is the scheduler's job to decide on-the-fly which tasks should be sequentialized and which tasks should be "promoted" into actual threads that can run in parallel. Intuitively, each promotion incurs a cost, but also exposes parallelism.
In the paper, we present our scheduler and prove a worst-case performance bound. We specifically show that the total overhead of promotion will be at most a small constant factor (e.g., 1% overhead), and also that the theoretical amount of parallelism is unaffected, asymptotically.
All of this is implemented in MaPLe (https://github.com/mpllang/mpl) and you can go play with it now!
- MPL: Automatic Management of Parallelism
-
Good languages for writing compilers in?
Maple is a fork of MLton: https://github.com/MPLLang/mpl
-
Comparing Objective Caml and Standard ML
Some of us are still using SML for research and teaching, e.g. https://github.com/mpllang/mpl
- MaPLe Compiler for Parallel ML v0.3 Release Notes
- MPL-v0.3 Release Notes
millet
-
Four Lectures on Standard ML (1989) [pdf]
SML pops up now and again on HN, which is always nice to see. I wrote a language server for SML in an attempt to improve the tooling situation around the language: https://azdavis.net/posts/millet/
The main motivator for why I did this is because we use SML as a teaching language at my university and students always seem to struggle with the error messages and tooling from the compiler.
-
Flunct: Well-typed, fluent APIs in SML
For the IDE use case, I made a language server for SML: https://azdavis.net/posts/millet/
- Programming in Standard ML [pdf]
-
Comparing Objective Caml and Standard ML
I've been using SML with millet language server and VScode.
you can highlight your code and run just the highlighted bits, in your REPL.
https://github.com/azdavis/millet
- Show r/rust: Wrote a toy type inferencer by implementing Hindley-Milner algorithm
What are some alternatives?
cakeml - CakeML: A Verified Implementation of ML
vscli - A CLI/TUI which makes it easy to launch vscode projects, with a focus on dev containers.
LunarML - The Standard ML compiler that produces Lua/JavaScript
1ml - 1ML prototype interpreter
HPCInfo - Information about many aspects of high-performance computing. Wiki content moved to ~/docs.
fling - A fluent API generator
mlton - The MLton repository
type-inferencer - hindley-milner algorithm
flunct - A functional fluent API generator
ppci - A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python