durin
the Dependent Unboxed higher-oRder Intermediate Notation (by naalit)
lisp
A lisp JIT compiler and interpreter built with cranelift. (by 0xekez)
durin | lisp | |
---|---|---|
3 | 5 | |
13 | 52 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | about 2 years ago | |
Rust | Rust | |
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.
durin
Posts with mentions or reviews of durin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-14.
-
Are there any low level, cross platform assembly languages that allow jumping to non labels?
So I think I may be one of the few people in the world who has actually implemented a GC using LLVM's statepoint infrastructure. It's poorly documented and there are some gotchas, but I'd say it's definitely usable, and it works with basically any collector design, including moving collectors (I'm using Immix) and has no runtime bookkeeping overhead and allows LLVM to optimize the code without worrying about GC, which is nice. It's actually gotten a bit better with LLVM 13, too. If you're curious what a LLVM-based GC looks like, mine is in this folder. Of course, if you just want some sort of GC, you can also just link it with Boehm which is quite easy and has pretty good performance - this is what e.g. Crystal does, although they're talking about switching.
-
September 2021 monthly "What are you working on?" thread
I also fixed lots of bugs in the GC and backend, so it should be a lot more stable now.
-
May 2021 monthly "What are you working on?" thread
Recently, I've been working on adding garbage collection to Pika. I've successfully written an Immix-based garbage collector that works with the LLVM GC support infrastructure, and I'm currently working on integrating the GC with Pika, or really Durin, the dependently-typed intermediate representation that Pika compiles to. Because types are passed around at runtime, objects of unknown type and size can be stored unboxed in polymorphic data structures; but that makes keeping track of type information for heap allocations somewhat harder, because type information needs to be allocated and constructed at runtime in some cases. It's an interesting design problem, because you want constructing type information to be fast; but the GC will run much more often, so maximizing tracing speed by avoiding e.g. indirection in type information is important; and you also want to construct as much type information as possible at compile time and embed it as constants.
lisp
Posts with mentions or reviews of lisp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-29.
-
GitHub - mcobzarenco/zee: A modern text editor for the terminal written in Rust
I've been curious about https://github.com/ezekiiel/lust but I don't know its status as a project
-
June 2021 monthly "What are you working on?" thread
Since last month I've been working on garbage collection and string handling in my Lisp compiler. I've found writing the garbage collector to be hard but strings are fun :)
-
May 2021 monthly "What are you working on?" thread
I just added variable-arity functions to my lisp which compiles to Cranelift. I was blocked for a while trying to work out how to convince Cranelift to put arguments on the stack but eventually gave up and I now heap allocate a location for function arguments. It's not great for performance but it feels great to have finally finished it!
-
February 2021 monthly "What are you working on?" thread
I’ve been carrying on working on compiling my lisp this month. It’s been a fun couple weeks because I’ve finally gotten to the fun stuff like higher order functions, closures, and adding the ability to call into libc.
What are some alternatives?
When comparing durin and lisp you can also consider the following projects:
c3c - Compiler for the C3 language
rust_lisp - A Rust-embeddable Lisp, with support for interop with native Rust functions
bluebird - A work-in-progess programming language modeled after Ada and C++
bread - An expression based scripting language
never - Never: statically typed, embeddable functional programming language.
aulang - simple and fast scripting language
konna - A fast functional language based on two level type theory
pika - A WIP little dependently-typed systems language
rumi - The rumi compiler
imp - Imp is a statically typed and compiled scripting language with the goal of increasing programmer confidence.
orion - Orion is a high level, purely functional programming language with a LISP based syntax.