cforth VS waforth

Compare cforth vs waforth and see what are their differences.

cforth

Mitch Bradley's CForth implementation (by MitchBradley)

waforth

Small but complete dynamic Forth Interpreter/Compiler for and in WebAssembly (by remko)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cforth waforth
1 6
142 451
- -
6.7 7.0
about 1 month ago 2 months ago
C WebAssembly
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.

cforth

Posts with mentions or reviews of cforth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-14.
  • WAForth (WASM-based ANS Forth) supports interactive "notebooks" in VSCode
    7 projects | /r/Forth | 14 Dec 2022
    Yes I wrote a paper but I probably can't find it. The easiest place to look would be in the Open Firmware source. https://github.com/MitchBradley/openfirmware/blob/master/forth/kernel/kernel.fth#L771 The magic is all in +level and -level. Search for those in kernel.fth to see other places they are used to achieve a similar effect, e.g. in abort" For an alternative but effectively equivalent formulation, see: https://github.com/MitchBradley/cforth/blob/master/src/cforth/forth.c#L652 and https://github.com/MitchBradley/cforth/blob/master/src/cforth/control.fth I was very pleased when interpreted conditionals reduced to +LEVEL and -LEVEL plus a temporary compilation buffer. It was one of those "Yes!" moments. I thought of doing temporary compilation at HERE, but that would have prevented usages like:

waforth

Posts with mentions or reviews of waforth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-07.
  • Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust
    5 projects | news.ycombinator.com | 7 Mar 2024
    Super nice project! I also spent the last month writing a WASM interpreter ( https://github.com/rrampage/wart ) using Java 21. I started it as an excuse to try out the pattern matching in switch / sealed classes in Java. It kind of snowballed in scope and can now run Doom and Waforth ( https://github.com/remko/waforth )! Have not yet tried compiling it to WASM and running it as a meta-circular interpreter.
  • Bunch of questions about forth
    5 projects | /r/Forth | 23 Feb 2023
    Concerning the point 8. There is an online Forth system demo Thurtle (in the browser) with turtle graphics, which is based on WAForth.
  • A Dynamic Forth Compiler for WebAssembly
    2 projects | news.ycombinator.com | 14 Jan 2023
    There's a note on the page from 2022-08-19, that a lot has been added to it. It also links to the github page[1] for the up-to-date changes.

    I am a Lisp, April, APL/J/BQE, and Forth[2] aficionado. I did some file munging programs in Factor back in 2012 at my job to sort through theater attendance logs in Word to compile statistics.

    [1] https://github.com/remko/waforth

    [2] https://factorcode.org/

  • WAForth (WASM-based ANS Forth) supports interactive "notebooks" in VSCode
    7 projects | /r/Forth | 14 Dec 2022

What are some alternatives?

When comparing cforth and waforth you can also consider the following projects:

micropolis - Automatically exported from code.google.com/p/micropolis

forthlisp - A Small Lisp in Forth

discussion - Discussion repository for Forth enthusiasts.

JS-Monster - JavaScript is a BEAST, JS Monster portrays that awesomeness with a mascot inspired by the JS logo.

wasker - Wasm compiler for running Wasm on your favorite kernel

sandspiel - Creative cellular automata browser game

xxhash-wasm - A WebAssembly implementation of xxHash

owi - WebAssembly Swissknife

openfirmware - Open Firmware (IEE1275-1994) implementation by its inventor.

ESP32forth - FORTH developments for ESP32

raillisp - A fast and portable lisp implemented in forth