#1922 Go channel in Fantom

DanielFath Tue 19 Jun 2012

Looking at this Lexical Scanning in Go if I could do something similar in Fantom and I wondered if there is something like a Go channel in Fantom ?

SlimerDude Tue 19 Jun 2012

If a Go Channel isn't much than a Blocking Queue, then you could probably make one using Actors and loops - but it wouldn't be very efficient and kinda goes against the whole Actor principle.

brian Wed 20 Jun 2012

I haven't really studied how go implements channels. I think they use the same basic message passing principle as actors, but implement it more with a semaphore than a queue like we do in Fantom actors. But I haven't studied them in detail.

Login or Signup to reply.