106 points · by davidyapdy · 9y ago · 34 comments
Can the analysis be automated? I hope so. That would be cool.
Haskell itself is extremely amenable to this sort of thing but no one has figured out how to implement it AFAIK. It may be possible with profile-driven optimization to at-least guarantee adding a thread doesn't do more harm than good.
> This is an immature concept
I believe the author meant an immature instance of an old concept, certainly.
Just spend an afternoon looking into the literature about parallel programming languages, data flow programming languages, or flow-based programming languages, and you will realize that this is certainly not an immature concept. Research in that spaces has been going on since at least since the early 70s.
He's cited several older languages, so it's pretty obvious that he's aware of some of the historical happenings related to parallelism.
Edit: he or she, or whatever
Edit: found the explanation in here: https://raviqqe.github.io/tisp/
Cool concept, are there other languages that do this concurrency by default thing?
Is there value in having a pure/impure distinction when all pure functions end up needing a try/catch around them?
> Data-flow hardware (see Dataflow architecture) is an alternative to the classic Von Neumann architecture. The most obvious example of data-flow programming is the subset known as reactive programming with spreadsheets. As a user enters new values, they are instantly transmitted to the next logical "actor" or formula for calculation.
Nobody (yet) has been able to get dataflow languages fast enough to beat conventional ones.
Two main reasons why people use it: 1, Google uses it (e.g., Go mailing lists). 2, historic reasons: it's a spiritual successor of sorts to Usenet. Google bought Dejanews in 2001, then merged it into Google Groups and gradually killed all the Usenet parts of the service.
Aside from that, it's main competitor is GNU Mailman, which is self-hosted and doesn't have many real benefits for end users (other than not requiring a Google account).
I'm not what could be better without paying or self hosting, though I do wish we could have built in formatting like Github and an API for the messages.
It's very immature at the moment but the repo is below if anyone else is curious:
https://github.com/lmorg/murex
I'm not suggesting my level of coding is comparable with the others mentioned though. Murex was created to scratch an itch rather than delusions of thinking I could write a powerful next gen programming language. I intend murex to be more of a REPL shell than something one would use to write scalable applications.
Thanks for sharing! I'm using NixOS right now & perhaps it would benefit from a murex package.
Btw your github looks awesome! DHCP as a FUSE filesystem?? Woah.
Possibly minus the "functional", I haven't looked that closely at it. Haskell has some libraries that attempt to implement the concept, though.
Bzzz, wrong answer. This is too naive to be workable. It implies you need to drop out of your language in order to _build_ those functional components.