peridot VS schmu

Compare peridot vs schmu and see what are their differences.

peridot

A fast functional language based on two level type theory (by eashanhatti)

schmu

A WIP programming language inspired by ML and powered by LLVM (by tjammer)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
peridot schmu
13 3
388 24
- -
3.1 9.5
over 1 year ago 4 days ago
Haskell OCaml
Mozilla Public License 2.0 European Union Public License 1.2
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.

peridot

Posts with mentions or reviews of peridot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-01.
  • Peridot Paper Preprint
    1 project | /r/ProgrammingLanguages | 5 Sep 2022
    I've mostly finished up a preprint of a research paper on Peridot, my programming language! It still needs some work, but I'm happy enough with it to post it. If you have any questions or suggestions don't hesitate to tell me here. I would love feedback :-)
  • September 2022 monthly "What are you working on?" thread
    10 projects | /r/ProgrammingLanguages | 1 Sep 2022
    I'm finishing up with Peridot! The research goals of the project are close to being accomplished, so I'll be wrapping up soon. I'm really satisfied with it as a proof-of-concept for the ideas it implements. The last main bit of the project is a research paper I'm writing which details the language and its applications in detail.
  • Peridot MVP
    2 projects | /r/ProgrammingLanguages | 8 Aug 2022
    Hey all! I've been working on my programming language Peridot for about six months, and it's finally at the point where I can call it an MVP! Peridot is a language in which the compiler backend is implemented in userspace via metaprogramming.
  • July 2022 monthly "What are you working on?" thread
    10 projects | /r/ProgrammingLanguages | 1 Jul 2022
    The Peridot MVP is feature-complete! All that's left to do are bugfixes, after which it will be a real, usable language. Here's the major features, in no particular order:
  • A Typed Foundation for Directional Logic Programming
    1 project | /r/ProgrammingLanguages | 27 Jun 2022
    I'm not aware of any current implementations, but I'll be implementing it in my language, Peridot. Unfortunately that won't be for a few months though.
  • How did you choose the name for your programming language?
    7 projects | /r/ProgrammingLanguages | 6 Jun 2022
    The second was called Konna. AFAIK it’s Finnish for “frog”, but sources seem to disagree? I don’t speak Finnish, I got the word from a Finnish video game. My third and current language is called Peridot. I’m pretty proud of this name, although it’s less searchable than the previous ones. The origin is pretty simple, I was just looking around at gemstones and thought peridot looked neat.
  • Peridot: A functional language based on two-level type theory
    1 project | /r/patient_hackernews | 10 May 2022
    1 project | /r/hackernews | 10 May 2022
    1 project | /r/functionalprogramming | 10 May 2022
    4 projects | /r/ProgrammingLanguages | 10 May 2022
    Hey! I'm Peridot's author. Peridot is a language based on two-level type theory which allows for the compiler backend to be written in userspace. The language is really two languages tied together: a logic language, and a dependently typed functional language. The former is built for metaprogramming - high-level optimizers and compilers can be written that translate the latter language into a target language of choice. An in-depth explanation of the language's rationale can be found here.

schmu

Posts with mentions or reviews of schmu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-03.
  • November 2022 monthly "What are you working on?" thread
    25 projects | /r/ProgrammingLanguages | 3 Nov 2022
    Since the last time I posted, I finished implementing pattern matching for schmu. To make matching on multiple columns less confusing I also added a tuple syntax to the language (finally), which are treated as anonymous records in codegen. Since then, I'm trying to overhaul my memory management, as my RAII-like solution only worked for linear code. In my first big departure from OCaml semantics, I decided to implement mutable value semantics. The paper linked in the Val language introduction makes a strong case for value semantics and after watching a couple of talks by Dave Abrahams, I wanted to try see how it feels. By making mutability be transitive and explicit, it also fixes one of the (few) gripes I have with OCaml that an array can never be really const as it is a reference type (it's possible to enforce constness with modules, but that's not exactly lightweight, syntax wise). Implementing mutable value semantics was pretty straight forward on the typing side, but I'm still not completely done with the codegen. This is due to 1. Assumptions about immutability I made in a lot of places are now wrong, and I had to completely change the way I pass values to functions. 2. I had to implement reference counted arrays, which was more work than I thought it would be. There are still edge-cases coming up in testing from time to time. Yesterday I finally managed it work for tail recursion, yay! I'm looking forward to getting rid of unneeded reference count updates in the future, by moving them to compile time, at least for linear code, lobster style. That's also an excuse to read that Perceus paper again. For the rest of November, I want to enhance my module system a bit. In particular, I want to add signatures and allow locally abstract types. I hope to have this in place before December to do the Advent of Code in my language.
  • September 2022 monthly "What are you working on?" thread
    10 projects | /r/ProgrammingLanguages | 1 Sep 2022
    I'm still working on my toy language schmu, an ML-inspired language which uses LLVM as backend.
  • May 2022 monthly "What are you working on?" thread
    15 projects | /r/ProgrammingLanguages | 1 May 2022
    I spent the time off over the Easter break to write the first program in my language which is not an explicit test and ended up implementing Ray Tracing In One Weekend. It was very rewarding to see how usable the language is already.

What are some alternatives?

When comparing peridot and schmu you can also consider the following projects:

Hacking-F117A - My investigation into mission generation in the Stealth Fighter games by Microprose.

Forscape - Scientific computing language

cane - A small MIDI sequencer DSL designed around vectors and euclidean rhythms

vult - Vult is a transcompiler well suited to write high-performance DSP code

ramen - A stream processing language and compiler for small-scale monitoring

GLhf - OpenGL Application Abstraction

elaboration-zoo - Minimal implementations for dependent type checking and elaboration

awesome-low-level-programming-languages - A curated list of low level programming languages (i.e. suitable for OS and game programming)

boba - A general purpose statically-typed concatenative programming language.

Cwerg - The best C-like language that can be implemented in 10kLOC.

cognate - A human readable quasi-concatenative programming language

creed-tui - A tui editor with creed integration. WIP