Hacker News new | past | comments | ask | show | jobs | submit login

I don't know if I'd say "ever", but it definitely won't be easy! Take a look at session types [0] if you haven't seen them!

Type checking unrestricted message passing would be difficult, but I can imagine a subset that's typeable.

[0] http://groups.inf.ed.ac.uk/abcd/index.html#about




I haven't seen them, thanks!

> Type checking unrestricted message passing would be difficult, but I can imagine a subset that's typeable.

I'd love to see a discussion on this somewhere. I can totally imagine a world where it's true that "yes, you can't send messages of type X because the receiver can't pattern match on them in the way you expect, but what you're really trying to do is Y, and you _can_ send messages of type Z that accomplish Y."




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: