millfork VS cowgol

Compare millfork vs cowgol and see what are their differences.

millfork

Millfork: a middle-level programming language targeting 6502- and Z80-based microcomputers and home consoles (by KarolS)

cowgol

A self-hosted Ada-inspired programming language for very small systems. (by davidgiven)
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
millfork cowgol
4 3
245 231
- -
0.0 5.7
9 months ago 24 days ago
Scala C
GNU General Public License v3.0 only BSD 2-clause "Simplified" 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.

millfork

Posts with mentions or reviews of millfork. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-25.
  • Do Not Taunt Happy Fun Branch Predictor
    3 projects | news.ycombinator.com | 25 Jan 2023
    Well from the pov of machine or assembly code, C is without a doubt a high level language.

    But at the same time it's the lowest-level high-level language.

    (there are a couple of interesting 'mid-level' languages for 8-bit processors though, like Millfork: https://github.com/KarolS/millfork)

  • Game Development Options on the Commodore 64
    3 projects | /r/c64 | 9 Dec 2022
  • Open Source library to compile some programming language to native code?
    3 projects | /r/java | 15 Aug 2022
    Take a look at millfork, it's similar to what you're trying to do
  • Ask HN: Are impressive new programs being written for CP/M?
    5 projects | news.ycombinator.com | 1 May 2021
    There are no doubt some systems still running under emulation doing the same thing as they were 40 years ago. But the truth is CP/M is dead. Long live CP/M!

    It's just hobbyists now. One hacker ported his game to a Kaypro under CP/M a couple years ago: http://www.chrisfenton.com/dd9-kaypro-edition/

    Much of the focus is on porting CP/M to whatever new or old Z80 system someone has built or found. I can't think of anything particularly dazzling besides the above, in terms of recent new programs, but here are some pointers if you wanted to write something yourself!

    RunCPM is a CP/M Z80 virtual machine under modern OSes for development etc. https://github.com/MockbaTheBorg/RunCPM

    CP/Mish is an attempt to bring all the free software CP/M tools together. It is to CP/M as Linux is to UNIX, or FreeDOS is to MS-DOS. A mostly complete, improved, libre reimplementation: https://github.com/davidgiven/cpmish

    Also from David Given (and not CP/M specific) is Cowgol. Alpha quality. But it's a self-hosted Pascal/Ada-like language with compiler. Runs on 8-bit systems, at least theoretically. It is written, of course, entirely in Cowgol: https://github.com/davidgiven/cowgol

    Millfork is a language which targets CP/M systems, among others. It's a whole-program optimizing compiler for a language somewhat lower level than C, with properties that make it very nice to compile for 8-bit systems like no recursion, and no automatic promotion to 16-bit integers in type handling: https://github.com/KarolS/millfork

    SDCC supports the platform with C surprisingly well. I wouldn't call it rock-solid but compared to the above toys it is an industrial quality compiler for the Z80. In fact, C seems to be the most common actual language for hobbyist and the little remaining serious Z80 development, probably ahead of assembly.

    If it just reads and writes the terminal and can fit in 64 KB, then a port is probably straightforward.

cowgol

Posts with mentions or reviews of cowgol. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-01.
  • Very interesting project... Check out supported targets...
    1 project | /r/VintageApple | 11 Dec 2023
  • On Writing a Compiler, One Year Later
    1 project | /r/Compilers | 21 Apr 2022
    My compiler architecture uses table-based backends, and the 8080 implementation ends up being 1600 lines, most of which is boilerplate: https://github.com/davidgiven/cowgol/blob/master/src/cowbe/arch8080.cow.ng
  • Ask HN: Are impressive new programs being written for CP/M?
    5 projects | news.ycombinator.com | 1 May 2021
    There are no doubt some systems still running under emulation doing the same thing as they were 40 years ago. But the truth is CP/M is dead. Long live CP/M!

    It's just hobbyists now. One hacker ported his game to a Kaypro under CP/M a couple years ago: http://www.chrisfenton.com/dd9-kaypro-edition/

    Much of the focus is on porting CP/M to whatever new or old Z80 system someone has built or found. I can't think of anything particularly dazzling besides the above, in terms of recent new programs, but here are some pointers if you wanted to write something yourself!

    RunCPM is a CP/M Z80 virtual machine under modern OSes for development etc. https://github.com/MockbaTheBorg/RunCPM

    CP/Mish is an attempt to bring all the free software CP/M tools together. It is to CP/M as Linux is to UNIX, or FreeDOS is to MS-DOS. A mostly complete, improved, libre reimplementation: https://github.com/davidgiven/cpmish

    Also from David Given (and not CP/M specific) is Cowgol. Alpha quality. But it's a self-hosted Pascal/Ada-like language with compiler. Runs on 8-bit systems, at least theoretically. It is written, of course, entirely in Cowgol: https://github.com/davidgiven/cowgol

    Millfork is a language which targets CP/M systems, among others. It's a whole-program optimizing compiler for a language somewhat lower level than C, with properties that make it very nice to compile for 8-bit systems like no recursion, and no automatic promotion to 16-bit integers in type handling: https://github.com/KarolS/millfork

    SDCC supports the platform with C surprisingly well. I wouldn't call it rock-solid but compared to the above toys it is an industrial quality compiler for the Z80. In fact, C seems to be the most common actual language for hobbyist and the little remaining serious Z80 development, probably ahead of assembly.

    If it just reads and writes the terminal and can fit in 64 KB, then a port is probably straightforward.

What are some alternatives?

When comparing millfork and cowgol you can also consider the following projects:

prog8 - high level programming language and compiler targeting 6502 machines such as the C-64 and CommanderX16

cpmish - An open source sort-of CP/M 2.2 distribution.

RunCPM - RunCPM is a multi-platform, portable, Z80 CP/M 2.2 emulator.

cpmhttpd - A basic web server for CP/M

atari64 - Commodore 64 OS running on Atari 8-bit hardware

j2z80 - Maven plugin to translate JVM bytecodes into Z80 commands

CROSS-LIB - CROSS LIB - A universal 8-bit library and some games built with it

sunset - Retro sunset scene on NES

XC-BASIC - A compiling BASIC dialect for the Commodore-64

stupidc - Stupid programming language that vaguely resembles C and compiles directly to 6502 assembly