Fennel VS janet

Compare Fennel vs janet and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Fennel janet
90 79
2,289 3,296
- 1.3%
9.3 9.4
4 days ago 6 days ago
Fennel C
MIT License MIT License
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.

Fennel

Posts with mentions or reviews of Fennel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-27.
  • Pluto, a Modern Lua Dialect
    9 projects | news.ycombinator.com | 27 Dec 2023
    Eh it's not just luajit and luajit didn't create that problem either. It's a symptom of lua actually succeeding at its design goal of being easily embedded as an extension language. A significant number of incompatible runtimes are more popular than the most recent puc lua, including I believe the older official lua 5.2 released in 2011.

    I've done a fair bit of professional lua development and I don't think I've ever written standalone up-to-date puc lua except maybe for some tooling & scripts. It's such a small language and used in such a way that the runtime, distribution method, and available APIs have much more impact on your use (and compatibility) than the version.

    Virtually everyone shipping a lua environment is also shipping changes to it that make it a unique target, if only extensions to the standard library. This is why I think syntax layer-only approach like fennel's is the correct choice for improving on lua. It mirrors lua's runtime semantics exactly, and allows you to access the implementation peculiars on their own terms and so can just be run on time of any lua system.

    https://fennel-lang.org

  • LÖVE: a framework to make 2D games in Lua
    26 projects | news.ycombinator.com | 13 Sep 2023
    Just learned about https://fennel-lang.org/ , could have probably used that as well to avoid Lua.
  • The Bipolar Lisp Programmer
    3 projects | news.ycombinator.com | 11 Aug 2023
    > I’m positive that there is a Lispy language out there (actually in existence, or the aether) that is appropriate for embedded work, but the constraints of the target make it difficult to envision.

    Perhaps Fennel* fits the bill?

    * https://fennel-lang.org/

  • The Future of the Vim Project
    6 projects | news.ycombinator.com | 10 Aug 2023
    I've also seen neovim plugins written in fennel [0], so if you want something lispy, that's possible now.

    [0]: a Lisp that compiles to Lua, https://github.com/bakpakin/Fennel

  • Qual a linguagem que vocês mais gostam de programar?
    2 projects | /r/brdev | 26 Jun 2023
  • Can I use elixir as the scripting language of my game engine?
    1 project | /r/elixir | 6 Jun 2023
  • TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript
    3 projects | news.ycombinator.com | 26 May 2023
    Something similar: Fennel (https://fennel-lang.org/) is a lisp that compiles into Lua, which nvim can use as plugins, so you can write nvim plugins in a lisp. Aniseed (https://github.com/Olical/aniseed) makes this really easy.
  • Announcing automation-service: write and schedule home automation scripts in Lua
    3 projects | /r/haskell | 12 May 2023
    If you want a more FP language on the Lua runtime, you might be interested in Fennel. I wrote a post about adding Fennel compiler to a hslua interpreter a while back, which might be useful for you.
  • 916 Days of Emacs
    12 projects | news.ycombinator.com | 13 Apr 2023
  • What's your opinion on Lua programming language?
    3 projects | /r/programming | 26 Mar 2023
    There's fennel if you're a fan of LISP syntax. I like embedding lua because it's light and easy and doesn't re-engineer itself every six months like python; but I agree, the lua syntax certainly is fugly.

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-04-20.
  • 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
  • Why Fennel?
    12 projects | news.ycombinator.com | 13 Sep 2023
  • Embeddable Common Lisp 23.9.9
    4 projects | news.ycombinator.com | 9 Sep 2023
  • Sharpscript: Lisp for Scripting
    5 projects | news.ycombinator.com | 5 Aug 2023
    One might also check out Janet for quick scripting tasks.

    https://janet-lang.org

  • Red Programming Language
    5 projects | news.ycombinator.com | 17 Jul 2023
    Thanks!

    I thought about another multiplatform, homoiconic, highly compact language: https://janet-lang.org/ (takes 803 kb on my machine).

    It has no types though.

  • Systems Programming with Racket
    2 projects | news.ycombinator.com | 1 Jul 2023
    Racket is great, and if you like it you might find Rash interesting:

    https://rash-lang.org/

    Janet and Gerbil Scheme are also worth a look:

    https://janet-lang.org/

    https://cons.io/

  • how did you finally reach Lisp enlightenment?
    1 project | /r/lisp | 15 Jun 2023
    Point here is that, for instance Janet language does not have cons / pair type but tuple (and so is lispoid, not lisp), but clearly this is sufficient for macros & hence seamless language construction: all you need is to be a lispoid although being a lisp gives another useful feature.

What are some alternatives?

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

urn - Yet another Lisp variant which compiles to Lua

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

nvim-lspconfig - Quickstart configs for Nvim LSP

babashka - Native, fast starting Clojure interpreter for scripting

Lua-RTOS-ESP32 - Lua RTOS for ESP32

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

lua-languages - Languages that compile to Lua

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

webassembly-lua - Write and compile WebAssembly code with Lua

kaboom.js - 💥 JavaScript game library

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

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