Actors at Scala.net

I recently learned erlang and was intrigued by scala for its feature set and ease of interpolation using java (and possibly .net) applications. I finally study the actors and wonder if there is a working mechanism that currently works in .net.

I looked at the libararies that came off sbaz and found that there is scala.Concurrent but not scala.actors.Actor. I tried using scala.Concurrent.Channel but could not use! to send messages.

I'm just wondering if this is what is currently available, and if so, how are you going to configure it.

+4
source share
2 answers

Scala actors (and I think most Scala concurrency abstractions) are pretty tied to low-level support for Java concurrency. Their parts are even strongly associated with the Sun JVM and will go into degraded mode on other JVMs (there, a copy of the jsr 166y reference implementation is delayed in the Scala codebase, which depends on Sun's private APIs).

A break in communications would be possible, but it would be a significant project. It can also lead to some performance compromises, since w61> shell interfaces must be provided for generic constructs that will be implemented using low-level .NET or Java APIs.

+7
source

Scala.net is currently not ready for production and lacking for some basic features, such as actors and parsing capabilities.

this thread on the scala -lang forums.

+4
source

Source: https://habr.com/ru/post/1312054/


All Articles