4.2BSD VS foam3

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

4.2BSD

Upload of the source of 4.2BSD taken from /usr/src (by dank101)

foam3

FOAM: Feature-Oriented Active Modeller, Version 3 (unstable) (by kgrgreer)
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
4.2BSD foam3
3 4
4 39
- -
0.0 9.9
7 months ago about 4 hours ago
C HTML
- 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.

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....

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.