fengari VS hal9ai

Compare fengari vs hal9ai and see what are their differences.

fengari

🌙 φεγγάρι - The Lua VM written in JS ES6 for Node and the browser (by fengari-lua)

hal9ai

Hal9 — Data apps powered by code and LLMs [Moved to: https://github.com/hal9ai/hal9] (by hal9ai)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
fengari hal9ai
24 22
1,751 122
0.9% -
0.0 -22.7
11 months ago 8 months ago
JavaScript TypeScript
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.

fengari

Posts with mentions or reviews of fengari. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-28.
  • Lua: The Little Language That Could
    19 projects | /r/programming | 28 May 2023
    it should be possible, the article mentions https://fengari.io/ (a Lua VM written in JavaScript)
  • PyScript
    10 projects | news.ycombinator.com | 22 Jun 2022
    Other languages have done that :)

    Lua in the browser: https://fengari.io/

    And then you can use that to run Fennel, a Lisp that compiles to Lua https://fennel-lang.org/

    I think TypeScript also has a script you can include that lets you put your TS code in a special script tag, and it gets compiled in-browser.

  • Upcoming interview with Roberto Ierusalimschy
    2 projects | /r/lua | 14 Jun 2022
    Please stop this stuck in the mud nonsense. Anyone stumbling upon lua.org might think the project is dead already. The material is great, close to the best, but its presentation is pure shite. Not mobile friendly (what kinds of device do you think the majority of people in the Global South use?). We live in a world of code highlighting, none of that in PiL. We live in a world where Fengari allows Lua to run in the browser, does that make an appearance on lua.org, allowing users to immediately play with the language? Of course not! It's almost as if the Lua team is trying to push away potential users.
  • Hacker News top posts: Feb 20, 2022
    2 projects | /r/hackerdigest | 20 Feb 2022
    Fengari – Lua for the Browser\ (57 comments)
  • Fengari – Lua for the Browser
    10 projects | news.ycombinator.com | 20 Feb 2022
    Lua 5.3’s not really a fork. It just has backwards-incompatible changes, as do 5.1, 5.2 and 5.4.

    Otherwise yes, “Fengari implements Lua 5.3”. https://github.com/fengari-lua/fengari

    10 projects | news.ycombinator.com | 20 Feb 2022
  • Move over JavaScript: Back-end languages are coming to the front-end
    2 projects | news.ycombinator.com | 8 Feb 2022
    Please note, my original comment was simply correcting the notion that JS is popular because it was especially well suited for working on the web. I see projects like Fengari[1] and would _love_ to use something like that but I recognize I can't impose an extra 300kb on end users just because I want to write in a more pleasant language to develop. I accept that JS is what we have, but I won't pretend like JS was the cream that rose to the top.

    [1]: https://fengari.io/

  • How I coded my way to victory in World of Warcraft
    4 projects | dev.to | 15 Jan 2022
    WoW's UI API is written in Lua. If you aren't familiar, Lua is a great little scripting language built on top of C, designed to be embedded into larger pieces of software. You can even, thanks to web assembly, run it in the browser. It has some quirks that take some getting used to (Lua's Arrays start at index 1 👀), but by and large it's great at what it does and can be found everywhere in computer game UIs.
  • Lua: Good, Bad, and Ugly Parts
    11 projects | news.ycombinator.com | 22 Dec 2021
  • CPython's main branch running in the browser with WebAssembly
    9 projects | news.ycombinator.com | 28 Nov 2021
    > I’d expect MicroPython (or Lua/mruby/etc) could be an order of magnitude smaller. Still larger (and slower) than just using JavaScript, though.

    Fengari [0], a Lua interpreter written in JS, is a little over 200Kb. (And was intentionally written in JS [1] because of a variety of reasons that made WASM not work that well.

    200Kb isn't that bad of a price to pay to switch languages, on most websites. It'll be about the cost of a single image added to the page. And it's fairly performant.

    For most sites, the costs in terms of requests and performance will be negligible compared to what you're trying to achieve.

    And Fengari makes it nice and easy to interact with JS, too. Using React with Lua's syntax was what sold me on it. No ecosystem lockout, like I'd expect with most WASM ports.

    [0] https://fengari.io/

    [1] https://hackernoon.com/why-we-rewrote-lua-in-js-a66529a8278d

hal9ai

Posts with mentions or reviews of hal9ai. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-22.
  • PyScript
    10 projects | news.ycombinator.com | 22 Jun 2022
    At https://hal9.com, we built components for data science com native JavaScript to avoid the waiting times and download overhead if Pyodide. We found out the best tools for doing data science in the browser are a combination of Arquero and D3 and TensorFlow.js. At least for now.

    We wrote our findings of this and many other libraries here: https://news.hal9.com/posts/data-science-with-javascript

    10 projects | news.ycombinator.com | 22 Jun 2022
    We are not using libfortran not gdpr, we are basically using whatever libraries are available for the web. Since most data scientists don't want to use JS per se, you can build the apps as blocks in the Hal9 site or using a soon-to-be-released Python/R package, see https://notebooks.hal9.com

    Feel free to check out our repo as well, all the "primitives" / blocks code is in the scripts folder: https://github.com/hal9ai/hal9ai

  • Ask HN: Can you share websites that are pushing the utility of browsers forward?
    12 projects | news.ycombinator.com | 15 May 2022
    https://hal9.com helps data scientists build faster web applications.

    It uses WebGL and WebAssembly to process larger datasets, perform inference in the browser with TensorFlow.js, and enables running Python code with Pyodide.

  • Ask HN: What ML platform are you using?
    6 projects | news.ycombinator.com | 13 Mar 2022
    If you want to build a web application on top of your ML project, give https://hal9.com a shot. We designed Hal9 with ease of use for deployment and maximum compatibility with web technologies that enable you to build ML apps with React, Vue, etc. We launched a couple months ago but could use some early feedback and users. Thank you!
  • Built data analysis platform optimized for web developers
    4 projects | /r/webdev | 6 Feb 2022
    BTW. If you are ever interested in helping us out, you can send a PR's to our GitHub repo. For instance, the summarize and convert blocks are here: https://github.com/hal9ai/hal9ai/blob/main/scripts/transforms/summarize.txt.js and https://github.com/hal9ai/hal9ai/blob/main/scripts/transforms/convert.txt.js
    4 projects | /r/webdev | 6 Feb 2022
    In addition, you can also use Hal9 as a standalone JS library for data analysis and skip the UX, see https://github.com/hal9ai/hal9ai
    4 projects | /r/webdev | 6 Feb 2022
    Thanks! Is actually all Vue. I like Vue better over React, just personal preference, React is great and probably better for large applications. The trickiest path is the code that executes the pipelines since it has to run dynamic JS code with dynamic parameter; made that open source to make sure people are not stuck with the product if they ever have to leave or want to scar outside the product: https://github.com/hal9ai/hal9ai
    4 projects | /r/webdev | 6 Feb 2022
    You can find more about this project at https://hal9.com — We allow you to edit any block with JavaScript and to export the analysis as as embeddable HTML. You can also use Python or NodeJS if you need more advanced functionality.
  • PyFlow – visual and modular block programming in Python
    9 projects | news.ycombinator.com | 31 Jan 2022
    We are working in https://hal9.com which is language agnostic and allows you to compose different programming languages; however, we are focused at the moment at 1D-graphs but have plans to support 2D-graphs in the coming weeks.

    If you want a demo or just time to chat, I'm available at javier at hal9.ai.

  • Mlflow, fastapi, streamlit template Project
    2 projects | /r/learnmachinelearning | 26 Oct 2021
    We would love to help out since this is a perfect use case for https://hal9.ai; we are about to release our beta version that makes this as easy as copy-pasting code. You can find me at javier at hal9.ai to find some time to chat and give you a walkthrough of our code-to-api functionality.

What are some alternatives?

When comparing fengari and hal9ai you can also consider the following projects:

arquero - Query processing and transformation of array-backed data tables.

pypyjs - PyPy compiled to JavaScript

pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

emscripten - Emscripten: An LLVM-to-WebAssembly Compiler

lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly

wasm-libxml2 - A quick experiment to build and run libxml2 as a WebAssembly module.

lua-cmake - Embed lua with CMake

weird-wide-webring - The web needs a little more weird. These sites are helping. Apply to join!

luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua

blockly - The web-based visual programming editor.

fengari-web - Provides everything you need to run Fengari in the browser.