4 ms·
The main problem I have with actors is that they are untyped. What's the point of having a powerful type system like Scala's and then throw it out of the windo
by laureny 13y ago
The main problem I have with actors is that they are untyped.
What's the point of having a powerful type system like Scala's and then throw it out of the window just so I can use a distributed framework?
- saryant 13y agoMy understanding is that the new typed channels feature in the upcoming Akka 2.2 release will address this. The macro feature introduced in Scala 2.10 makes this possible. http://doc.akka.io/docs/akka/2.2.0-RC1/scala/typed-channels.html http://doc.akka.io/docs/akka/2.2.0-RC1/scala/typed-channels....
- yareally 13y agoIt's possible to make them typed with the stdlib[1]. Link also gives some reasons as to why they're untyped. Short answer is it started as a way to replicate Erlang in Scala[2]. [1] http://stackoverflow.com/questions/5547947/why-are-messages-to-akka-actors-untyped http://stackoverflow.com/questions/5547947/why-are-messages-... [2] http://article.gmane.org/gmane.comp.lang.scala/12988 http://article.gmane.org/gmane.comp.lang.scala/12988
- noelwelsh 13y agoScalaz has some nice (usefully typed) concurrency tools: https://github.com/scalaz/scalaz/tree/scalaz-seven/concurrent/src/main/scala/scalaz/concurrent https://github.com/scalaz/scalaz/tree/scalaz-seven/concurren... https://github.com/scalaz/scalaz-stream https://github.com/scalaz/scalaz-stream Like everything with Scalaz, the tools are great but almost completely undocumented.
- laureny 13y ago> Like everything with Scalaz, the tools are great but almost completely undocumented. Exactly. I will start considering scalaz once its authors grow up and realize that the lack of documentation is not a sign of quality.
- eli_gottlieb 13y agoThe maintainer and contributors have full-time jobs. On the one hand, part of that job is keeping up Scalaz for their own professional usage. On the other hand, no part of that job is documenting it for everyone else. They could just have kept the code proprietary.
- jjm 13y agoReally now? As if these guys get paid to do create and fix scalaz all day right? Like Oracle yeah? This is the story about every single open source project. You can choose something else, wait it out for documentation, or contribute it. Lucky you even have the source!