sectorforth VS jonesforth

Compare sectorforth vs jonesforth and see what are their differences.

sectorforth

sectorforth is a 16-bit x86 Forth that fits in a 512-byte boot sector. (by cesarblum)
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
sectorforth jonesforth
10 41
374 968
- -
0.0 0.0
almost 2 years ago about 1 year ago
Assembly Assembly
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.

sectorforth

Posts with mentions or reviews of sectorforth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-01.
  • Cognition: The Revolutionary Antisyntax Language Redefining Metaprogramming
    2 projects | news.ycombinator.com | 1 May 2024
    I think it's fine to show that you can do it, I think the main thing is to flip the order a bit.

    E.g. "here's a cool thing thing we can do outcome of significantly changing a readable syntax>" to hook people, "here's how ", "and if you really want to know how to bootstrap this from basics ".

    Maybe compare how e.g. Forth is often introduced, with how people describe bootstrapping of a simplistic Forth like Jonesforth or Sectorforth [2]. Showing people how they can define their own words and it fundamentally changes how they work with the language afterwards is cool to a lot of people who have no interest in details like how you an implement even numbers with a minimal set of primitives (e.g. Sectorforth relies on that).

    Both are interesting to me, but I'm weird, and I think for most people it'd be easier to maintain their interest if those two aspects are either separate articles or at least if the bootstrapping is relegated to a standalone section they're clearly told they can skip.

    [1] https://news.ycombinator.com/item?id=31368212

    [2] https://github.com/cesarblum/sectorforth

  • Konilo: A personal computing system in Forth
    5 projects | news.ycombinator.com | 2 Mar 2024
  • Fourteen Years of Go
    13 projects | news.ycombinator.com | 11 Nov 2023
    > I'm not sure here how you differentiate minimalist from restrictive.

    The flexibility of the language and its syntax. The more constructs are syntactic, the less minimalistic it is, and Go is a very syntactic language.

    > I've always considered Go to be minimalist in terms of available tokens to the programmer: https://github.com/e3b0c442/keywords/blob/main/chart.png

    No language on this chart has even a passing resemblance to minimalistic. I don't think anything does when it reaches double digit keywords.

    For reference, I believe Smalltalk has 6.

    And forth is more complicated because it doesn't really have keywords at all, and barely any syntax, instead it has assembly-coded / runtime-provided words (~functions) and variables. SectorForth (https://github.com/cesarblum/sectorforth/) is down to 8 builtin words, 2 IO words, and 5 variables (milliforth packs those behind a word instead). And so far 2 of the words have been found unnecessary / redundant.

  • MilliForth
    4 projects | news.ycombinator.com | 5 Nov 2023
    https://github.com/cesarblum/sectorforth/issues
  • Interesting Article About a C compiler in 512 bytes That Uses Forth Inspired Tricks to Fit an Extremely Tight Space Constraint
    1 project | /r/Forth | 2 Jun 2023
    Probably well known, but I'll let it here anyway: SectorForth
  • Ask HN: What are some impressive software projects that fit in 512 bytes?
    5 projects | news.ycombinator.com | 20 Jul 2022
  • That's pretty much it!
    7 projects | /r/ProgrammerHumor | 26 Feb 2022
    sectorforth
  • A Forth bootable by old 386 PCs?
    4 projects | /r/Forth | 17 Oct 2021
    If you want to go allll the way down to the metal, you could put https://github.com/cesarblum/sectorforth in a floppy boot sector and then work your way up from there, enabling line A20 and switching into 32-bit protected mode yourself. Certainly on the "DIY" end of the spectrum, but it sure would be satisfying.
  • suckless programming languages?
    5 projects | /r/suckless | 10 Oct 2021
    Forth - More powerful and minimal than C, can fit in 512 bytes
  • BootOS operating system in 512 bytes
    3 projects | news.ycombinator.com | 27 Aug 2021

jonesforth

Posts with mentions or reviews of jonesforth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-02.
  • Konilo: A personal computing system in Forth
    5 projects | news.ycombinator.com | 2 Mar 2024
  • Thinking Forth: A Language and Philosophy for Solving Problems [pdf]
    1 project | news.ycombinator.com | 8 Feb 2024
    Cool. Here are some other resources that I've encountered along the way of learning Forth:

    - JonesForth: https://github.com/nornagon/jonesforth/blob/master/jonesfort...

    This is legit a text that goes the an x86 Forth implementation. Actually, it's just an implementation with really extensive comments. That said, including whitespace and comments, it's just 2000 lines and the pedagogy is excellent. Highly recommended for anyone who would rather see behind the curtain before picking up a larger text.

    - SmithForth: https://dacvs.neocities.org/SF/

    So, Smith decided to hand-write a Forth directly in x86-64 opcodes (well, the corresponding ascii hex bytes). It's incredibly slim and enlightening how you can bootstrap a language in just a couple hundred bytes or so.

    This project actually inspired me to really learn the x86-64 architecture, so I ended up hand-decompiling the SmithForth binary instead of going through his commented implementation. Hand-decompilation is an absolutely fascinating exercise. You learn all about ELF structure, opcode encodings, and actually start to see the gaps where microarchitectural details shine through. Highly recommended for any hacker that really wants to grok low level details.

    - Mecrisp: https://mecrisp.sourceforge.net/

    An amazingly fast Forth implementation for MSP430, ARM, RISC-V, MIPS, and some FPGAs. This gave me one really nice understanding of Forth as

        A REPL into your hardware!
  • Problem Running JonesFORTH
    1 project | /r/Forth | 11 Dec 2023
    I've git-cloned JonesFORTH (https://github.com/nornagon/jonesforth/blob/master/jonesforth.S) and achieved to compile it (i.e. run make w/o an error. When I start the executable, it presents me with an empty line, and when I say BYE, it says PARSE ERROR: bye.
  • Ask HN: Where do I find good code to read?
    22 projects | news.ycombinator.com | 24 Aug 2023
    Is there any particular language you're looking for? I've found some languages hideous until I understood them and could appreciate their respective graces. Off the top of my head the I can think of a couple.

    The first is Jones Forth (https://github.com/nornagon/jonesforth), start with jonesforth.S and move into jonesforth.f. I really enjoyed following along with it and trying my hand at making my own stack based language.

    The other is Xv6, a teaching operating system from MIT (https://pdos.csail.mit.edu/6.828/2021/xv6.html), not all the code or implementations are top notch but it shows you non-optimized versions (just because they're simple and more readable) of different concepts used in OS design.

    If you're interested in the embedded world, there is a really neat project I've been following that feels a more structured and safe (as in fault-tolerant) while still staying pretty simple (both conceptually and in the code itself): Hubris and Humility (https://hubris.oxide.computer/).

  • Dusk OS: 32-bit Forth OS. Useful during first stage of civilizational collapse
    1 project | news.ycombinator.com | 16 Jul 2023
    Very low hardware requirements, so basic industrial control at the level where you'd otherwise use an Arduino or so but on scavenged hardware. Forth is ridiculously simple to get an implementation running.

    https://github.com/nornagon/jonesforth/blob/master/jonesfort...

    Is a nice starting point. It's obviously not as compact as say 'Brainfuck' but it is far more versatile.

  • Making my own forth implementation
    5 projects | /r/Forth | 15 Jun 2023
    OP mentioned jonesforth, but linked to a nasm port of it. Which is probably good it’s just that the documentation in the comments with ascii art doesn’t look right on my screen. So here’s a more common repo: https://github.com/nornagon/jonesforth
  • Struggling with looping constructs, BEGIN WHILE REPEAT
    1 project | /r/Forth | 8 Jun 2023
    Rip the asm macros for the basic FORTH words out of this and then embed them in a C binary, statically linked with your favourite libs for whatever task. Although I haven't tried this yet, I'm planning on doing it with ncurses for my own Roguelike. From there, if you can convert the function calls and your parameters down to raw numbers, you can send instructions to ncurses or whatever other API you like, directly from a FORTH stack.
  • I'm wondering why so few forth microcontoller tutorials are out there?
    3 projects | /r/Forth | 10 May 2023
  • replace jonesforth links to the left by proper link
    1 project | /r/Forth | 9 May 2023
    or the mirror of this site in github: https://github.com/nornagon/jonesforth
  • Languages to implement in space-constrained environments
    2 projects | /r/ProgrammingLanguages | 8 Feb 2023

What are some alternatives?

When comparing sectorforth and jonesforth you can also consider the following projects:

sectorlisp - Bootstrapping LISP in a Boot Sector

stoneknifeforth - a tiny self-hosted Forth implementation

porth - It's like Forth but in Python

factor - Factor programming language

book8088 - Examples from my book Programming Boot Sector Games

durexforth - Modern C64 Forth

colorForth - colorForth running in Bochs for Windows

tinyrenderer - A brief computer graphics / rendering course

harm-less - Inspired by suckless and cat-v, this is a simple single document wiki of suckless practices and minimal software.

SavjeeCoin - A simple blockchain in Javascript. For educational purposes only.

bootOS - bootOS is a monolithic operating system in 512 bytes of x86 machine code.

Crafting Interpreters - Repository for the book "Crafting Interpreters"