sml-parseq
LunarML
sml-parseq | LunarML | |
---|---|---|
1 | 3 | |
4 | 240 | |
- | - | |
4.5 | 8.9 | |
about 3 years ago | 1 day ago | |
Standard ML | Standard ML | |
MIT License | MIT License |
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.
sml-parseq
-
Provably Space-Efficient Parallel Functional Programming
Author here. One of the cool things about the property we're using here---disentanglement---is that it specifically allows for shared data, under only mild restrictions. This allows us, for example, to implement fast libraries which utilize shared mutable state for efficiency under the hood. A good example is our parallel arrays library (https://github.com/shwestrick/sml-parseq), which is "purely functional" in terms of its interface, but not its implementation.
It's helpful here to distinguish parallelism from concurrency. Disentanglement naturally emerges in data-race-free parallel programs, which have no concurrency. But certainly, you bring up a good point for programs that are highly concurrent in addition to being highly parallel. There's lots of work already on concurrent functional programming, for example CML (https://en.wikipedia.org/wiki/Concurrent_ML), and we think these ideas could be adapted to work with disentanglement really well.
LunarML
-
Implementing Basic UI in Love2d
While talking about this I discovered LunarML, which compiles StandardML to Lua and JS. I'm more familiar with OCaml than SML, but that's definitely one I'm going to keep an eye on.
- LunarML: A Standard ML compiler that produces Lua
What are some alternatives?
sml-analyzer - An experimental language server for SomewhatML
mlton - The MLton repository
apltail - APL Compiler targeting a typed array intermediate language
smlpkg - Generic package manager for Standard ML libraries and programs
install-mlkit - Action for installing MLKit
mpl - The MaPLe compiler for efficient and scalable parallel functional programming
smlnj-viscomp-example - An example of how to use SML/NJ's Visible Compiler APIs
mlkit - Standard ML Compiler and Toolkit
sml-compiler - A compiler for Standard ML, somewhat