[HN Gopher] How to make any immutable data structure distributed
___________________________________________________________________
How to make any immutable data structure distributed
Author : pierremenard
Score : 52 points
Date : 2021-12-05 19:50 UTC (3 hours ago)
(HTM) web link (www.unison-lang.org)
(TXT) w3m dump (www.unison-lang.org)
| pchiusano wrote:
| Recommend starting with part 1 of the article if you want more of
| an overview: https://www.unison-lang.org/articles/distributed-
| datasets/
| jmfldn wrote:
| I really hope Unison succeeds. It looks like a really interesting
| take on FP / distributed systems. The fact that Paul Chiusano and
| Runar Bjarnason are at the helm is exciting, especially to Scala
| / FP devs like me who know them as the writers of the legendary
| "red book". Just based on the rare quality of that book, I'm
| super interested in other FP projects that they're involved in.
| cipheredStones wrote:
| Tangential to the thread, but do you have any other favorite
| Scala resources you would recommend? I've had only glancing
| exposure to it, and will soon be taking a role where it's the
| primary language.
| LandR wrote:
| > writers of the legendary "red book".
|
| If you mean the manning book "Functional Programming in Scala",
| I don't even use Scala, yet I feel I got so much out of that
| book. It's the best functional programming book I've read.
|
| It would recommend the book to anyone that wants to learn FP,
| regardless if you will be using Scala.
| runT1ME wrote:
| I really think this is where pure FP shines.
|
| If you look at the architecture of something like Apache Beam,
| while you describe your computations in a language like Java or
| Python, you're really using a DSL for creating an immutable DAG
| that processes chunks of immutable data, persisiting each chunk
| (being loose with terms here) for durability, 'modifying' it in
| the immutable sense and then passing it on to the next edge and
| so on.
|
| In a single standalone system, many argue that a purely immutable
| conceptual approach has pros and cons. In the Big Data world,
| I've never heard anyone argue for an imperative approach.
| Immutability is necessary, and as soon as you need immutability
| you want all the other goodies that facilitate it in a clean way
| like monads, lenses, and the like.
| piyh wrote:
| FP?
| sethammons wrote:
| Functional programming
| pchiusano wrote:
| One of the authors of the article here, happy to answer any
| questions about it!
___________________________________________________________________
(page generated 2021-12-05 23:00 UTC)