[Haskell-cafe] ANN: Elerea, another FRP library

Peter Verswyvelen bugfact at gmail.com
Mon Apr 13 03:45:05 EDT 2009

Interesting. I'm testing it on Window though. You're using Linux? Maybe the
scheduling is different.

2009/4/13 Patai Gergely <patai_gergely at fastmail.fm>

> > seems something is wrong with either your time sampling or performance,
> > because I get rather jerky movement when playing the breakout or the
> > chase demo. did you notice that too?
> No, it was always smooth for me. But I only tried it on 64-bit machines
> and only with ghc-6.10.2.
> > at what rate are you sampling? if you are sampling at a lower rate as the
> > video vsync, you might want to perform interpolation between two "logical
> > frames"  as jules bean did in his own reactive planets demo.
> The breakout example has a zero threadDelay in its main loop, because
> that apparently causes a break with the length of a scheduler tick,
> essentially giving an 50 Hz sampling rate. The chase example has no
> delay added at all, and it goes over 2500 fps for me.
> --
> http://www.fastmail.fm - Accessible with your email software
>                          or over the web
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090413/a0f7042c/attachment.htm

More information about the Haskell-Cafe mailing list