Re: [Chicken-users] go routines for chicken

2013-11-28 Thread Moritz Heidkamp
John Cowan co...@mercury.ccil.org writes:

 There is also a Ruby Flavored Erlang called Elixir which has become
 quite popular:  see http://elixir-lang.org.  They are all compatible
 at the Erlang VM level.

And don't forget The Concurrent Schemer:
http://the-concurrent-schemer.github.io/scm-doc/

Moritz

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] go routines for chicken

2013-11-28 Thread Moritz Heidkamp
John Cowan co...@mercury.ccil.org writes:

 Quite right, though I don't consider either point essential.  Limited
 mailboxes are useful to prevent livelock (though at the risk of deadlock),
 and perhaps they should be retrofitted into the egg.

Indeed, having thought about it some more it is probably possible to
implement both things on top of the mailbox primitive. Not very
convenient, but possible :-)

Moritz

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] go routines for chicken

2013-11-28 Thread Daniel Leslie
That lays the type safety burden upon the developer at run time and not the
compiler.
On 28 Nov 2013 10:18, Moritz Heidkamp mor...@twoticketsplease.de wrote:

 Daniel Leslie d...@ironoxide.ca writes:

  Go also enjoys a rather robust Channels system, which is sort of like
  Scheme's ports, only it's type-safe by design.

 How are Scheme ports not type-safe? The main difference is that Scheme
 ports are limited to just a single type (i.e. characters) but that
 doesn't make them type-unsafe, no? :-)

 Moritz

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] go routines for chicken

2013-11-28 Thread Peter Bex
On Thu, Nov 28, 2013 at 07:17:58PM +0100, Moritz Heidkamp wrote:
 Daniel Leslie d...@ironoxide.ca writes:
 
  Go also enjoys a rather robust Channels system, which is sort of like
  Scheme's ports, only it's type-safe by design.
 
 How are Scheme ports not type-safe? The main difference is that Scheme
 ports are limited to just a single type (i.e. characters) but that
 doesn't make them type-unsafe, no? :-)

Actually, it's two types: Characters and the eof-object's type.  And in
Gambit, there are other ports as well, from which you can only read
objects (like their directory-ports).

Cheers,
Peter the smartass
-- 
http://www.more-magic.net

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users