[plt-scheme] Re: Status of FrTime
--- Gregory Cooper <greg at cs.brown.edu> wrote:
> I really don't know, though performance should be fine as
> long as you're
> not trying to make smooth animations. (I'm not sure what
> you're trying to
> build. Have you tried using the controls in gui.ss?)
Nope, haven't tried anything in gui.ss. I just ran the
demos and was surprised by the jerky performance. I'm
working on a Pacman game, with the goal of developing an
intelligent controller for our little yellow hero. The
actual display isn't really important for this goal, but
would be really useful for analysing what the controller is
doing.
I think FRP would be an ideal platform for this code. The
model for the controller (pacman, not mvc) is to have a
stream of events coming in (observations), and a stream of
events going out (actions). This fits what I know of FRP
exactly.
If you want I can send you my code. At the moment I'm very
unhappy with the architecture.
> The engine is extremely stateful, and capturing a
> continuation will not
> allow you to rewind events. It may be possible to change
> that, but I
> haven't thought about it much. I think the implications
> would be large.
> Do you want to be able to rewind events?
I guess many of the advantages of FrTime (e.g. asynchronous
events) come from the stateful implementation, so a pure
implementation isn't desireable. I think I can get what I
want with an impure system.
Cheers,
Noel
Email: noelwelsh <at> yahoo <dot> com noel <at> untyped <dot> com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/ http://www.untyped.com/untyping/
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs