Re: [fancy-lang] Benachrichtigung für fancy-lang@googlegroups.com - 1 Nachricht in 1 Thema

2 views
Skip to first unread message

Denny Abraham

unread,
Mar 4, 2011, 8:38:57 AM3/4/11
to fancy...@googlegroups.com
Sounds like a solid set of upcoming features. Will there be a
functional difference between the Fancy actor library and the rubinius
stdlib actors?

:Denny

2011/3/4 <fancy-lan...@googlegroups.com>:
>   Zusammenfassung für das heutige Thema
>
> Gruppe: http://groups.google.com/group/fancy-lang/topics
>
> Latest development update [1 Aktualisierung]
>
>  Thema: Latest development update
>
> Christopher Bertels <bakk...@googlemail.com> Mar 03 04:12PM -0800 ^
>
> Hi everyone,
>
> Just wanted to give you a small update on what I've been working on for
> Fancy lately.
> It's coming close to a new official release. The next version would be 0.3.0
> but I'll probably skip right over to 0.4.0 since it's been a long time since
> the last release :)
>
> Some of the stuff I've been working on are:
>
> - Solid integration with Rubinius - Call any Ruby library and C-extension
> that runs on Rubinius
> - Support for Threads and Fibers
> - Support for Futures - An easy to use alternative for doing async /
> concurrent operations:
> object @ foo
> Sends the message 'foo' to object asynchronously and immediately returns
> a Future. To get the value of that async message send do:
> f = object @ foo
> f value # <- get the value. This blocks the current Thread if f hasn't
> completed computation yet.
> - Pygments lexer for Fancy. It will be integrated in the next official
> release of Pygments (http://pygments.org/) and hopefully we'll have
> syntax highlighting for Fancy on GitHub then (GitHub uses Pygments for
> their syntax highlighting)
> - More work on standard library - New classes, methods etc.
> - More work on built-in package manager (still some minor stuff missing -
> coming soon)
> - Started work on new and more flexible pattern matching system. This is
> still a work in progress, but you can view the changes in the
> 'patterns' branch here: https://github.com/bakkdoor/fancy/commits/patterns
> It basically will allow users to define custom pattern classes and
> destructuring semantics while still preserving encapsulation, e.g.
> pattern matching in an object-oriented way. Still have to add syntax
> support for pattern literals to make using them easy.
> - And probably lots more I forgot now
>
>
> Coming up next (probably after the upcoming release):
>
> - Actors
> - First-class async support (probably using Fibers)
> - More work on standard library
>
> If you have any questions, feedback or ideas let me know.
>
> Cheers,
> Christopher.
>
>

Christopher Bertels

unread,
Mar 4, 2011, 4:24:47 PM3/4/11
to fancy...@googlegroups.com
Hi,

Am 4. März 2011 05:38 schrieb Denny Abraham <em...@dennyabraham.com>:
Sounds like a solid set of upcoming features. Will there be a
functional difference between the Fancy actor library and the rubinius
stdlib actors?

It really depends on how their semantics are. I haven't really used them yet but that will change soon. If they fit my initial idea of how actors should work in Fancy, I'll just use them and add language-level support for them.
Another approach to actors would be how they're done in Io, where every object can be an actor and have a mailbox for incoming asynchronous message sends. I'll look into that as well. What I like about that approach is that you don't have to create any special actor instances. Any object can be an actor at that point.
It might make sense to use Rubinius' actor library underneath though to implement that approach to actors as well.

Christopher.
Reply all
Reply to author
Forward
0 new messages