fp VS data-oriented-programming

Compare fp vs data-oriented-programming and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
fp data-oriented-programming
1 11
2 117
- -
0.0 0.0
about 1 year ago over 1 year ago
TypeScript JavaScript
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.

fp

Posts with mentions or reviews of fp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-29.

data-oriented-programming

Posts with mentions or reviews of data-oriented-programming. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-31.
  • Data-Oriented Programming book has been released
    1 project | /r/programming | 20 Jul 2022
    The code from the book doesn't include any Clojure: https://github.com/viebel/data-oriented-programming
  • #1 Manning best seller for 2021
    1 project | news.ycombinator.com | 1 Jan 2022
    My book "Data-Oriented programming" is #1 Manning best seller for 2021.

    The book formulates the principles of an approach to data that reduces complexity and illustrates how to apply them in a statically-typed language like C# or Java or in a dynamically-typed language like JavaScript, Python or Ruby.

    Here are the 4 principles of Data-Oriented Programming:

    1. Separate code (behaviour) from data

    2. Represent data with generic data structures

    3. Data is immutable

    4. Separate data schema from data representation

    It might sound like Functional Programming but if you look closer at the principle list, you will notice that principles #2 and #4 are not part of FP.

    For those who already bought the book or are interested, I released the book's source code to https://github.com/viebel/data-oriented-programming. The publication is expected for March 2022.

    If you guys aren't sure about buying the book, contact me on Twitter @viebel, I'll DM you a preview.

  • πŸ“– Data-Oriented Programming book: First draft
    2 projects | /r/csharp | 31 Dec 2021
    Yeah, ive just been looking and all his code from the book is written in JavaScript. For example in chapter 5 of the book the library-data.js is just a JSON string.
    1 project | /r/golang | 30 Dec 2021
    Regarding Go, I am not only allowing but welcoming pull requests. Here is the repo https://github.com/viebel/data-oriented-programming/tree/main/challenges.
    4 projects | /r/Clojure | 29 Dec 2021
    Someone wrote a solution for a couple of DOP challenges here. I invite you to add your own.
  • A beautiful paper from 1981 that explains in simple terms what are values and what are objects in programming
    1 project | /r/Clojure | 8 Apr 2021
    Here is my two-cents about how names are fixed in Clojure: https://github.com/viebel/data-oriented-programming/wiki/Identity
  • Do you like Data-Oriented programming or do you hate it?
    1 project | /r/golang | 1 Apr 2021
    Actually, someone gave it a try and solved the challenges of the article in Go. See https://github.com/viebel/data-oriented-programming/pull/2
  • Data-Oriented programming simplicity illustrated by coding challenges
    2 projects | dev.to | 1 Apr 2021
    Submit your code snippets as a pull request to the official book source code Github repository, under the challenges folder. In case you disagree with DOP, please add a few words as comments in your code that explain why you think that your solution is simpler than the ones that I wrote.
  • New Book: Data-Oriented Programming
    1 project | news.ycombinator.com | 31 Jan 2021
    Here you go: https://github.com/viebel/data-oriented-programming

What are some alternatives?

When comparing fp and data-oriented-programming you can also consider the following projects:

stream - Typesafe API for processing iterable data in TypeScript and JavaScript.

klipse - Klipse is a JavaScript plugin for embedding interactive code snippets in tech blogs.

kefir - A Reactive Programming library for JavaScript

lodash - A modern JavaScript utility library delivering modularity, performance, & extras.

Marble.js - Marble.js - functional reactive Node.js framework for building server-side applications, based on TypeScript and RxJS.

ts-iterable - Iterables, streams for typescript

wonka - 🎩 A tiny but capable push & pull stream library for TypeScript and Flow