Re: [go-nuts] Weird performance with exp/shiny

2017-04-30 Thread Daniel Skinner
> An alternative approach is to separate your simulation loop and your rendering loop. or at the very least, calculate a timing delta to determine animation values. On Fri, Apr 28, 2017 at 9:48 PM Zellyn wrote: > Yes, the racy boolean access made me cringe but I was going for short :-) > > Your

Re: [go-nuts] Weird performance with exp/shiny

2017-04-28 Thread Zellyn
Yes, the racy boolean access made me cringe but I was going for short :-) Your suggestion to disentangle rendering from emulation is a good idea... now that I understand what's happening! The really funny thing is that my emulator looked suspiciously close to the right speed: since I was callin

Re: [go-nuts] Weird performance with exp/shiny

2017-04-28 Thread Nigel Tao
On Fri, Apr 28, 2017 at 12:28 PM, Zellyn wrote: > I'm sure I'm doing something hideously wrong with shiny, since my emulator > runs three times faster on my MacBook if I run it under VirtualBox/Ubuntu. > Yes, you read that right. > Here, I tweeted an animated gif of them running side by side: > ht

[go-nuts] Weird performance with exp/shiny

2017-04-27 Thread Zellyn
I'm sure I'm doing something hideously wrong with shiny, since my emulator runs three times faster on my MacBook if I run it under VirtualBox/Ubuntu. Yes, you read that right. Here, I tweeted an animated gif of them running side by side: https://twitter.com/zellyn/status/857674501928222720 I ri