foam3 VS 4.2BSD

Compare foam3 vs 4.2BSD and see what are their differences.

foam3

FOAM: Feature-Oriented Active Modeller, Version 3 (unstable) (by kgrgreer)

4.2BSD

Upload of the source of 4.2BSD taken from /usr/src (by dank101)
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
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
foam3 4.2BSD
4 3
39 4
- -
9.9 0.0
6 days ago 6 months ago
HTML C
Apache License 2.0 -
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.

foam3

Posts with mentions or reviews of foam3. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-11.
  • How could the early Unix OS comprise so few lines of code?
    3 projects | news.ycombinator.com | 11 Sep 2023
    Thank you for sharing that video! Your foam project looks fascinating too: https://github.com/kgrgreer/foam3
  • A repository of “BASIC Computer Games” code in modern languages
    3 projects | news.ycombinator.com | 31 Jul 2023
    I wrote a BASIC to JS compiler/transpiler that includes all of the programs from "BASIC Computer Games" as examples.

    You can try it out in your browser at: https://codepen.io/kgr/full/yLQyLjR

    Just select the game you want to to run from the top-left list box, then press the "Compile" button and you'll see the translated JS source in the right text-area. Then press the "Run" button to run it.

    The source code for the compiler is available at: https://github.com/kgrgreer/foam3/tree/429f2fd2b4cef0e37996a...

  • Architecture diagrams should be code
    16 projects | news.ycombinator.com | 11 Jan 2023
    Sort of related but an interesting idea is take it one step further with the Feature Oriented Active Modeler (FOAM) [1,2] paradigm and use code to model your whole system, which generates diagrams model, and runnable code in whatever language needed. The project is still young and it may not be practical today with the available tooling but it seems like a cool idea and project. It is influenced by the unix principle of “coding the perimeter not the area” which is essentially factoring your dev tasks into building NM capabilities, but instead of building NM things individually build N+M tools that can be composed into N*M capabilities [2].

    So with FOAM the idea is if we want to maintain a model of our software, and build it as well, what if we can use one composable tool to generate both, rather than model everything and code it separately.

    [1] https://github.com/kgrgreer/foam3

    [2] https://foam-framework.github.io/foam/

    [3] https://m.youtube.com/watch?v=3Ea3pkTCYx4

  • Programming Breakthroughs We Need
    17 projects | news.ycombinator.com | 17 Aug 2022
    https://github.com/kgrgreer/foam3#videos

    FOAM is a modelling framework that generates cross-language boilerplate for you, but it takes a much broader view of what constitutes boilerplate than most systems. Typically, it can generate between 95-98% of a working cross-language cross-tier system.

    FOAM helps you create features for modelled data. Features include things like a Java/Javascript/Swift classes to hold your modelled data, code to marshall to/from JSON/XML/CSV/etc., various GUI Views, and support for storing your data in various databases or file formats. However, FOAM models are themselves modelled, meaning they're afforded all of the above benefits as well. This lets you apply the MVC technique of having multiple views work against the same underlying data-model concurrently (say a grid and a pie-chart in a spreadsheet), so that you can choose the best view or views for your current need. When treated this way, your code is no longer text (but it can be, if that's one of your views), and you can easily view and store it in many different ways and more easily programmatically manipulate it.

4.2BSD

Posts with mentions or reviews of 4.2BSD. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-11.
  • How could the early Unix OS comprise so few lines of code?
    3 projects | news.ycombinator.com | 11 Sep 2023
    Not only early Unix; look at the original inet_addr implementation [0]. It accepts not only "0x" but also just "x" as the 16-base prefix, it doesn't really care about the numbers overflowing, and it parses 09 as equal to 011 (which is decimal 9). And the less said about the coding style, the better.

    [0] https://github.com/dank101/4.2BSD/blob/master/lib/libc/inet/...

  • Backward Compatibility, Go 1.21, and Go 2
    6 projects | news.ycombinator.com | 14 Aug 2023
    No need to guess. My man page for inet_aton says it comes from 4.3BSD: https://github.com/dank101/4.3BSD-Reno/blob/master/lib/libc/...

    The earlier inet_addr from 4.2BSD has the same logic: https://github.com/dank101/4.2BSD/blob/master/lib/libc/inet/...

    inet_aton and inet_addr parses addresses the obvious way. Using something like strtoul or especially sscanf would be stilted. The beauty of C pointers is that it makes simple parsing tasks very easy--perhaps too easy.

  • There is no such thing as a “glibc based alpine image”
    4 projects | news.ycombinator.com | 26 Aug 2021
    It probably made sense in 1983.

    https://github.com/dank101/4.2BSD/blob/master/include/netdb....

What are some alternatives?

When comparing foam3 and 4.2BSD you can also consider the following projects:

xv6-public - xv6 OS

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

MyDef - Programming in the next paradigm -- your way

cosmopolitan - build-once run-anywhere c library

TALA - A diagram layout engine designed specifically for software architecture diagrams

4.3BSD-Reno - The source of the BSD version moving to POSIX complacence

C4-PlantUML - C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures

official-images - Primary source of truth for the Docker "Official Images" program

basic-computer-games - An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages. See https://coding-horror.github.io/basic-computer-games/

robovm - Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux

language-server-protocol - Defines a common protocol for language servers.

Codename One - Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.