janet VS babashka

Compare janet vs babashka and see what are their differences.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
janet babashka
85 123
3,563 4,080
1.6% 0.6%
9.4 9.2
8 days ago 4 days ago
C Clojure
MIT License Eclipse Public License 1.0
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.

janet

Posts with mentions or reviews of janet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-19.
  • Raku Programming Language
    5 projects | news.ycombinator.com | 19 Oct 2024
    I first came across something like this in janet, which includes a PEG system in the standard library. It definitely changed how I think about text processing. Very much of the time what I find myself doing with regex is defining a grammar, but I didn't realize that. I wish more languages included the tools for it, it's a core operation of practical programming.

    https://janet-lang.org

  • Rawdrawandroid – Build Android apps without any Java, in C and Make
    11 projects | news.ycombinator.com | 22 Sep 2024
    ...I of course would rather embed Janet [1], but I realize what is going to have an easier time gaining popularity %) Also, Lua has Löve [2] which could be immediately usable, among other things.

    [1]: https://janet-lang.org/

    [2]: https://www.love2d.org/

  • The Fennel Programming Language
    9 projects | news.ycombinator.com | 8 Sep 2024
    I don't think it has absolutely all that, but janet might be close?

    https://janet-lang.org/

  • CIEL Is an Extended Lisp
    19 projects | news.ycombinator.com | 30 Aug 2024
  • How the Curse of Lisp impacts your business (even if you don't use Lisp)
    2 projects | news.ycombinator.com | 11 Jul 2024
    > Would you write your own JSON parser, is it that easy in LISP?

    I only dally with Lisp(s) but probably not, I'd reach for a library in quicklisp.

    However, in Janet (https://janet-lang.org/) there's a PEG parser and I wrote a JSON parser for fun in 134 lines that passes most of the test suite by Nicolas Seriot.

    So I'd say it's reasonably easy for a better-skilled programmer than I am.

  • Homoiconic Python
    12 projects | news.ycombinator.com | 12 May 2024
    Only tangentially related, but for anyone interested in the idea of a simple, quick Python-like scripting Lisp, there are two Clojure-style languages to look at:

    1) Hy (https://hylang.org/, compiles to Python bytecode, usually slower than Python but compatible with all Python libraries)

    2) Janet (https://janet-lang.org/, very light Lua-style embeddable VM ~1 Mb, roughly twice as fast as Python for similar ops, very easy C interop)

  • Scriptable Operating Systems with Lua [pdf]
    2 projects | news.ycombinator.com | 20 Apr 2024
    Seems like a perfect use-case for Janet. (https://janet-lang.org/) A fast minimal VM like Lua, but even more extensible than Lua by being a "Lisp" with macro and C extension capabilities. Not a true Lisp, it's very pragmatic and performance-oriented. But it keeps the good stuff.
  • Ask HN: A Lisp with Cargo/NPM like build system?
    1 project | news.ycombinator.com | 7 Mar 2024
    You might be looking for: https://janet-lang.org/

    It comes with a build tool `jpm` which installs dependencies globally by default, but you can have it be installed in your project folder as well.

  • Babashka: Fast native Clojure scripting runtime
    2 projects | news.ycombinator.com | 24 Jan 2024
    I like Clojure, but I never had any good opportunities to use it other than for a few small hobby projects. It is unfortunate that it is so huge with tons of dependencies and no simpler native implementation. I started looking at various LISPs and Schemes to find something lighter to use instead and ended up settling for Janet that I think is Clojure-like enough to be comfortable to use, but in a small native binary with no dependencies and can be embedded in other native programs. I am sure for big, real, projects that Clojure makes more sense, but for my hobby projects and scripts I do not think I will install it again. I am still happy for the things I learned from learning Clojure. It was a real eye-opener for an old OO-programmer.

    https://janet-lang.org/

  • Janet Language
    1 project | news.ycombinator.com | 15 Nov 2023

babashka

Posts with mentions or reviews of babashka. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-02.
  • Tour of Hell
    5 projects | news.ycombinator.com | 2 Oct 2024
    Good reminders; just not readily seeing Babashka (Clojure through GraalVM) so mentioning here for sake of sexp closure.

    https://github.com/babashka/babashka

  • Clojure 1.12.0 is now available
    12 projects | news.ycombinator.com | 5 Sep 2024
    > Does any of this release help with startup time?

    Clojure (and indirectly Java) was never created with "fast startup speed" in mind. This is why things like `add-lib` (that was added in this release) is so useful, because you start your developing session once, and it stays open until you either have to restart your computer or done developing the project.

    Then the typical deployment target is either "Push this .jar to a server somehow, start the process and let it run" or "User double-clicks executable, waits for application to be ready".

    If you really need fast startup, you can go through something like https://github.com/ionutbalosin/faster-jvm-start-up-techniqu...

    Or if you're fine with slightly worse runtime performance, give https://github.com/babashka/babashka a try

    Finally, if you're OK with JavaScript you could give ClojureScript a try, has fast startup (as fast as NodeJS I suppose) but yeah, it's JavaScript.

    But overall, Clojure/Java isn't optimized for the use-case of "Start process for each request, stop process once processed" so I'm guessing you'll face an uphill battle there.

  • CIEL Is an Extended Lisp
    19 projects | news.ycombinator.com | 30 Aug 2024
    You should meet this nice https://github.com/babashka/babashka !

    It is Clojure written in Clojure compiled to native via GraalVM.

  • Makefiles for Web Work (2022)
    6 projects | news.ycombinator.com | 24 Aug 2024
    A bit late to the party but have you heard of or tried babashka? It's kinda the nuclear option but it might fit your use case.

    https://babashka.org/

  • Clojure Desktop UI Framework
    7 projects | news.ycombinator.com | 24 Aug 2024
  • Common Lisp for Shell Scripting
    3 projects | news.ycombinator.com | 23 May 2024
  • Try Clojure
    37 projects | news.ycombinator.com | 22 May 2024
    Check out Babashka. It's a single binary that runs Clojure without a JVM. It also starts up really fast and uses a lot less memory: https://github.com/babashka/babashka

    That said, there are reasons you may want to use the JVM Clojure later. It might be interesting to read the replies to another poster with similar concerns about the JVM: https://news.ycombinator.com/item?id=40445415

  • A Tour of Lisps
    8 projects | news.ycombinator.com | 29 Jan 2024
    It also gives you access to Babashka if you want Clojure for other use-cases where start-up time is an issue

    https://babashka.org/

  • Babashka: Fast native Clojure scripting runtime
    2 projects | news.ycombinator.com | 24 Jan 2024
  • What's the value proposition of meta circular interpreters?
    2 projects | /r/prolog | 7 Dec 2023
    I've tried researching this myself and can't find too much. There's this project metaes which is an mci for JS, and there's the SCI module of the Clojure babashka project, but that's about it. I also saw Triska's video on mci but it was pretty theoretical.

What are some alternatives?

When comparing janet and babashka you can also consider the following projects:

Fennel - Lua Lisp Language

joker - Small Clojure interpreter, linter and formatter.

get-started-with-clojure - Learn Clojure and Interactive Programming – Zero install

nbb - Scripting in Clojure on Node.js using SCI

scheme-for-max - Max/MSP external for scripting and live coding Max with s7 Scheme Lisp

malli - High-performance data-driven data specification library for Clojure/Script.

ferret - Ferret is a free software lisp implementation for real time embedded control systems.

clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation

kaboom.js - 💥 JavaScript game library **Abandoned** Succeeded by KAPLAY

racket - The Racket repository

fennel-cljlib - Port of clojure.core namespace to Fennel (mirror)

hy - A dialect of Lisp that's embedded in Python

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured