~blainsmith/data-oriented-design

35d983e6340ca3b013e6f65c970090c76b2603ed — Blain Smith 1 year, 5 months ago
setup

Signed-off-by: Blain Smith <rebelgeek@blainsmith.com>
3 files changed, 141 insertions(+), 0 deletions(-)

A LICENSE
A README.md
A index.html
A  => LICENSE +21 -0
@@ 1,21 @@
MIT License

Copyright (c) 2023 Blain Smith

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
\ No newline at end of file

A  => README.md +1 -0
@@ 1,1 @@
Source for data-oriented.design
\ No newline at end of file

A  => index.html +119 -0
@@ 1,119 @@
<!DOCTYPE html>
<html>
  <head>
    <style>
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        text-align: center;
    }

    blockquote {
        font-size: x-large;
    }

    footer {
      font-size: small;
    }

    pre {
        padding: 1em;
        background-color: #eee;
    }

    pre code {
        color: #009;
    }
    pre kbd {
        color: #090;
    }

    table,
    td,
    th {
        border-collapse: collapse;
    }

    td,
    th {
        padding: .5em;
        border: 1px solid #eee;
    }

    th {
        background-color: #eee;
    }

    @media only screen and (max-width: 720px) {
        img {
            max-width: 100%;
        }
        
        pre {
            overflow-y: scroll;
        }
    }

    @media (prefers-color-scheme: dark) {
        body {
            background-color: #000;
            color: #e8e6e3;
        }

        a:link {
            color: #3391ff;
        }

        a:visited {
            color: #ba55d3;
        }
        
        pre {
            background-color: #222;
        }

        pre code {
            color: #bbb;
        }

        td,
        th {
            border: 1px solid #222;
        }

        th {
            background-color: #222;
        }
    }
    </style>
  </head>
  <body>
    <header>
      <h1>Data-Oriented Design Principles</h1>
    </header>
    <main>
      <blockquote>The purpose of all programs, and all parts of those programs, is to transform data from one form to another.</blockquote>

      <blockquote>If you don’t understand the data you don’t understand the problem.</blockquote>

      <blockquote>Conversely, understand the problem by understanding the data.</blockquote>

      <blockquote>Different problems require different solutions.</blockquote>

      <blockquote>If you have different data, you have a different problem.</blockquote>

      <blockquote>If you don’t understand the cost of solving the problem, you don’t understand the problem.</blockquote>

      <blockquote>If you don’t understand the hardware, you can’t reason about the cost of solving the problem.</blockquote>

      <blockquote>Everything is a data problem. Including usability, maintenance, debug-ability, etc. Everything.</blockquote>

      <blockquote>Solving problems you probably don’t have creates more problems you definitely do.</blockquote>

      <blockquote>Latency and throughput are only the same in sequential systems.</blockquote>
    </main>
    <footer>
      <p>Quotes from Mike Actons's talk at <a href="https://www.youtube.com/watch?v=rX0ItVEVjHc">CppCon 2014 on "Data-Oriented Design and C++"</a>.</p>
      <p>Site inspired by <a href="https://go-proverbs.github.io/">Go Proverbs</a>.</p>
    </footer>
  </body>
</html>
\ No newline at end of file