New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preface: functional programming "composing" concurrency may require clarification #149

Closed
eulerfx opened this Issue Oct 2, 2018 · 3 comments

Comments

3 participants
@eulerfx

eulerfx commented Oct 2, 2018

Functional programming is not only about composing functions
and algebraic data structures --- it makes concurrency composable ---
something that's virtually impossible with other programming paradigms.

It may be worth nothing that the Lambda calculus (CCCs) models of sequential computation. This is not to say that functional programming is limited to the lambda calculus. Take a look here which, by a reference to Robin Milner's Turing Award lecture, suggests that CCCs are not the right semantic framework for concurrency, but perhaps the more general symmetric monoidal categories are. This connection is explored in a few other places, some of which are:

More references on https://ncatlab.org/nlab/show/linear+logic.

Overall, I think it is a slight exaggeration to say the FP "composes" concurrency since there is still a ways to go in even establishing an agreed-upon model of concurrency. The references above seem to hint at a deep relationship between concurrency, LL, and categorical models of quantum mechanics. With that said, programming concurrent systems using FP techniques is certainly advantageous.

@hmemcpy

This comment has been minimized.

Show comment
Hide comment
@hmemcpy

hmemcpy Oct 2, 2018

Owner

While I surely appreciate the time you took to write this comment, I'm afraid I can't be of much help here - Bartosz doesn't usually check this site, and I don't/can't influence the content of the book. You add this as a comment on Bartosz' blog (I know he checks them and responds).
I'm closing this for now.

Owner

hmemcpy commented Oct 2, 2018

While I surely appreciate the time you took to write this comment, I'm afraid I can't be of much help here - Bartosz doesn't usually check this site, and I don't/can't influence the content of the book. You add this as a comment on Bartosz' blog (I know he checks them and responds).
I'm closing this for now.

@hmemcpy hmemcpy closed this Oct 2, 2018

@BartoszMilewski

This comment has been minimized.

Show comment
Hide comment
@BartoszMilewski

BartoszMilewski Oct 2, 2018

Collaborator

I do get notifications from github.

Collaborator

BartoszMilewski commented Oct 2, 2018

I do get notifications from github.

@hmemcpy

This comment has been minimized.

Show comment
Hide comment
@hmemcpy

hmemcpy Oct 2, 2018

Owner

Heh :) Glad you're watching!

Owner

hmemcpy commented Oct 2, 2018

Heh :) Glad you're watching!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment