Effective ATS: Session-typed Channels

86 views
Skip to first unread message

gmhwxi

unread,
Nov 24, 2015, 8:28:44 PM11/24/15
to ats-lang-users

I wrote a brief introduction to session types:

http://ats-lang.sourceforge.net/EXAMPLE/EFFECTIVATS/ssntyped-channels-1/index.html

I think that one can already sense the potential of session types after reading this article.

There will be a lot more coming later. For the moment, programming with session combinators
is definitely something on my mind.

Yannick Duchêne

unread,
Nov 25, 2015, 9:19:30 PM11/25/15
to ats-lang-users
May have been already asked, but I could not find it on ats-land-users: can continuation be statically allocated? I'm aware the document targets JavaScript, but this broader question came in my mind while reading it.

gmhwxi

unread,
Nov 26, 2015, 7:22:46 AM11/26/15
to ats-lang-users

We are very interested in using session types in embedded programming.
So this is a question on our mind, too.

The continuation is just a representation of some kind of (linear) state. It should
be possible to statically allocate some memory for storing the state.
Reply all
Reply to author
Forward
0 new messages