5 votes

An introduction to Data Oriented Design with Rust

2 comments

  1. [2]
    skybrian
    Link
    It seems like array-oriented languages (APL and its descendants) encourage treating data this way by default, but I haven’t seen one that looks easy to learn.

    It seems like array-oriented languages (APL and its descendants) encourage treating data this way by default, but I haven’t seen one that looks easy to learn.

    2 votes
    1. krg
      Link Parent
      The performance gains are pretty wild! Understanding why that's the case is pretty intuitive: running operations on contiguous memory is faster than jumping around. But designing a program in...

      The performance gains are pretty wild! Understanding why that's the case is pretty intuitive: running operations on contiguous memory is faster than jumping around. But designing a program in order to take advantage of that fact is kinda unintuitive.

      3 votes