About 50 results
Open links in new tab
  1. Functional Programming with D ― Andreas Zwinkau

    Apr 13, 2013 · Since Functional Programming (FP) is a paradigm, it is not limited to a specific language. You can write functional programs in any language, although it is quite ugly and tedious in some. …

  2. D offers an innovative approach to concurrency [and parallelism], featuring true immutable data, message passing, no sharing by default, and controlled mutable sharing across threads.

  3. Functional Programming ― Andreas Zwinkau

    Jun 25, 2012 · 1. Immutable Data Never change data. Just wrap and extend old data to create new data.

  4. Deep Copying ― Andreas Zwinkau

    Jun 21, 2012 · A deep copy can simply return its argument if the object is immutable, since the state of immutable data never changes. Requirements There are usual more practical requirements. For …

  5. Idiomatic D — d-tutorial 0.1 documentation

    Constness ¶ D provides const and immutable keywords. Aim for const input and immutable output.

  6. Language Design for Concurrency ― Andreas Zwinkau

    The best approach for correctness is to keep that immutable. And correctness is a hard feature in concurrent programs. Sometimes immutability is not an option. In this case, the state should better …

  7. How Types are Used ― Andreas Zwinkau

    Restrictions Restrictions are a great way to prevent mistakes. For example, private class members cannot be accessed from outside. Some variables might be constant (or immutable).

  8. File system on a keystore ― Andreas Zwinkau

    Jun 25, 2009 · Since every change of a value changes the key, the data is effectivly immutable (as long as every participant behaves correctly). This also means that every change to a file, demands a …

  9. Software Folklore ― Andreas Zwinkau

    Send me more stories, if you know some. Of course, reddit also has a collection and Hacker Newsers like to tell stories as well. In my blog, I sometimes write stories like The Architect Rewritten (a Matrix …

  10. How to implement strings

    Nov 3, 2018 · This combination of capacity and indirection describes well how slices in D work. We can efficiently append to strings due to capacity and we efficiently use substrings due to the indirection. A …