janet VS Fennel

Compare janet vs Fennel 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 Fennel
85 95
3,563 2,475
1.6% -
9.4 9.3
8 days ago 13 days ago
C Fennel
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.

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

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 2024-09-19.
  • Zb: An Early-Stage Build System
    16 projects | news.ycombinator.com | 19 Sep 2024
    And personally wrapping your lua code in https://fennel-lang.org/ would be nice.

    This way with libcosmopolitan, you could just checkin a copy of your build tool in a project, to be self sufficient. Think of it like gradlew( the gradle bash/bat wrapper) but completely self contained and air gapped

  • The Fennel Programming Language
    9 projects | news.ycombinator.com | 8 Sep 2024
  • Funnel for Lisp Based Game
    1 project | news.ycombinator.com | 1 Jun 2024
  • What do I think about Lua after shipping a project with 60k lines of code?
    16 projects | news.ycombinator.com | 1 Jun 2024
    You can use functional versions which compile to Lua code, like Fennel https://fennel-lang.org/
  • Did we lose our way in making efficient software? – ~30 MB doc file vs. browser
    2 projects | news.ycombinator.com | 28 Apr 2024
    It's interesting: minimal software is out there, but folks don't tend to choose it. I spend a fair amount of time thinking about how to be conservative in my dependencies, and this encourages a lightweight stack that tends to perform pretty well. These days, I'm favoring tools like Lua, SQLite, Fennel[0], Althttpd[1], Fossil[2], and the Mako Server[3] and find that great, lightweight, stable, efficient software is to be had, for free, but you have to go a bit off the beaten path. This isn't stuff you hear about on Stack Overflow.

    In terms of frontend, which the post focuses on (Google Docs and a 30MB doc), I guess I'm conflicted. While I tend to favor native apps + web pages, I'm also a daily Tiddlywiki user, and I really think web apps have their place (heck, one idea I'm working on is a lightweight local server that lets you run web apps like Tiddlywiki). But without a doubt, Tiddlywiki is more resource intensive than Emacs (my go-to for notetaking when I'm not on TW). My tab for a 6MB Tiddlywiki file uses 155MB of RAM, and my (heavily customized, dozens of open buffers) Emacs session uses 88MB. So I do think the author has a good point.

    [0]: https://fennel-lang.org/

  • 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

What are some alternatives?

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

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

urn - Yet another Lisp variant which compiles to Lua

babashka - Native, fast starting Clojure interpreter for scripting

nvim-lspconfig - Quickstart configs for Nvim LSP

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

Lua-RTOS-ESP32 - Lua RTOS for ESP32

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

lua-languages - Languages that compile to Lua

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

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

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

webassembly-lua - Write and compile WebAssembly code with Lua

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