I will test it on a couple of machines, desktops and laptops. I think the problem was my laptop going into power safe mode or something, since sometimes it runs smooth, sometimes it doesn't. This could indeed be a problem with GLFW's time attribute on windows (which uses the CPU tick frequency which gets trottled to safe energy), although I believe the Windows API should take care of this. I haven't seen this yet with my own frp experiments, which seem to run smooth all the time, but again I will do more testing.
> Interesting. I'm testing it on Window though. You're using Linux? MaybeNow I tried it on Windows in VirtualBox, and it still looks quite smooth
> the scheduling is different.
to me (except that hardware acceleration doesn't seem to work properly
through virtualisation, but it's okay as long as I keep the window small
enough). However, unlike the Linux version, it does max out the CPU, so
the trick with threadDelay 0 doesn't work. Apparently, I'll have to find
a real Windows box somewhere, because I couldn't reproduce the jerkiness
you're talking about.
Gergely
--
http://www.fastmail.fm - The way an email service should be
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe