News for hackers. Stuff that matters.

viebel

Thank you. Where do you think I should publish it?
DOP is a good fit for building information systems
Re:Ballerina: A Data-Oriented Programming Language on Wednesday May 11, 2022 @07:58AM (#31338603)
Don't confuse Data-Oriented Design with Data-Oriented Programming[1]

[1] https://blog.klipse.tech/visualization/2021/02/16/data-relat...

Re:Ballerina: A Data-Oriented Programming Language on Wednesday May 11, 2022 @03:05AM (#31336699)
Ballerina team told me that in the future Ballerina will not be hosted on JVM.
Will do next time. Thanks for the tip!
2017 but still relevant in 2022
Re:Data-Oriented Programming first birthday on Sunday January 30, 2022 @03:16AM (#30135044)
Today, we are celebrating the first birthday Partying face of "Data-Oriented Programming".

What a journey since the first MEAP version of the book has been released on January 30, 2021.

Re: on Sunday January 02, 2022 @02:27AM (#29766630)
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.

Re:Data-Oriented Programming book: First draft on Thursday December 30, 2021 @01:27PM (#29739634)
I totally agree
Re:Data-Oriented Programming book: First draft on Thursday December 30, 2021 @02:39AM (#29734585)
In most languages, there are libraries that provide efficient implementation of persistent data structures.

What languages do you use?

Re:Data-Oriented Programming book: First draft on Wednesday December 29, 2021 @11:37PM (#29733654)
Could you elaborate about the complexity involved in using immutable data structures in your use case? Is that a performance concern?
Re:Data-Oriented Programming book: First draft on Wednesday December 29, 2021 @11:31AM (#29726361)
After 18 months of development, I am glad to announce that I finally completed the first draft of my book: Data-Oriented Programming.

I wanted to thank all the people from the Clojure community that helped me in the thinking and the writing process.

The book is my attempt to formulate the underlying principles of Clojure approach to data and illustrate how to apply them in another language.

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

Older »