llvm-project VS Fennel

Compare llvm-project vs Fennel and see what are their differences.

llvm-project

Fork of LLVM with Xtensa specific patches. To be upstreamed. (by espressif)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
llvm-project Fennel
10 91
217 2,294
0.0% -
0.0 9.3
13 days ago 5 days ago
C++ Fennel
GNU General Public License v3.0 or later 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.

llvm-project

Posts with mentions or reviews of llvm-project. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-06.
  • platformio integration with neovim?
    2 projects | /r/neovim | 6 May 2023
    I forgot to say that I use this llvm build. Just download the release and point the clangd server to it.
  • LLVM 16.0.0 Release
    7 projects | news.ycombinator.com | 18 Mar 2023
    Xtensa support (esp32). Will be interesting how this will be for Rust and Zig support for esp32

    https://github.com/llvm/llvm-project/tree/main/llvm/lib/Targ...

    https://www.phoronix.com/news/LLVM-Xtensa-Backend

    https://github.com/espressif/llvm-project/issues/4#issuecomm...

    https://github.com/ziglang/zig/issues/5467#issuecomment-1465...

  • How do I program an ESP32 S3 in Rust using podman from WSL?
    6 projects | /r/rust | 27 Dec 2022
    Hopefully, in the future the installation will be simpler, as we are trying to upstream our LLVM changes (first 10 patches are already accepted!), and once we manage to upstream LLVM changes we will proceed with upstreaming our Rust fork changes.
  • Using Vim as an editor for ESP-IDF
    3 projects | /r/esp32 | 17 Oct 2022
    The main discussion can be led back to this GitHub issue and this comment; fortunately, we don't need to build espressif's llvm fork anymore as they supply the clangd (this is the language server we need) and you can find the zip here. I'll briefly list down the steps required to set up vim with clangd to take advantage of clangd's features (auto-completion, linting, code refactoring ...)
  • The more I use other MCUs the more I like the ESP32
    1 project | /r/esp32 | 1 Apr 2022
    In my case, it's pretty annoying that the Xtensa platform doesn't have official LLVM support. It's in progress but going very slowly.
  • Have you ever started a project in Rust but switched to a different language? If so, why?
    7 projects | /r/rust | 13 Mar 2022
    The link to the espressive issue trackers: https://github.com/espressif/llvm-project/issues/4
  • Are there situations where it's better to use C++?
    3 projects | /r/rust | 29 Nov 2021
    Xtensa. They've got a fork of LLVM that supports it that they're working toward getting upstreamed. The community has a fork of rustc that uses it (and a quickstart crate) while we wait for it to get upstreamed.
  • Rust and GCC, two different ways
    2 projects | /r/rust | 11 Oct 2021
    https://github.com/espressif/llvm-project/issues/4 is a good example why updating llvm isn't easy and takes a lot of time.
  • Tomu – An ARM microprocessor which fits in your USB port
    2 projects | news.ycombinator.com | 2 Sep 2021
  • uLisp
    18 projects | news.ycombinator.com | 4 May 2021
    Just to clarify - Gambit, Chicken, and Carp all compile to portable C.

    I hadn't realized LLVM mainline doesn't support Xtensa. I'm surprised.

    D does support Xtensa via LDC (https://forum.dlang.org/thread/[email protected]...). It looks like GDC also nearly supports it, requiring only a minor patch at present.

    A functioning LLVM backend does exist (https://github.com/espressif/llvm-project/issues/4) and might be making very slow progress towards being merged. A quick search shows that it works for Rust. I suspect (but don't know) that it might work for Terra as well.

    There's also the LLVM C backend (https://github.com/JuliaComputingOSS/llvm-cbe) but I've no idea how efficient such an approach is when applied to real world embedded tasks.

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-04-28.
  • 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
  • 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 are some alternatives?

When comparing llvm-project and Fennel you can also consider the following projects:

llvm-cbe - resurrected LLVM "C Backend", with improvements

janet - A dynamic language and bytecode vm

Lua-RTOS-ESP32 - Lua RTOS for ESP32

urn - Yet another Lisp variant which compiles to Lua

terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.

nvim-lspconfig - Quickstart configs for Nvim LSP

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

nim-esp8266-sdk - Nim wrapper for the ESP8266 NON-OS SDK

lua-languages - Languages that compile to Lua

ulisp-builder - Builds a version of uLisp for a particular platform from a common repository of source files

webassembly-lua - Write and compile WebAssembly code with Lua