I'm just guessing but I don't think the emulated version is faster, just 
that it is not being throttled. Usually, when creating games or demos there 
is a throttle in the code to stop the main loop from executing as fast as 
it can. It looks like this is being respected on Mac but not in the 
emulator. My guess would be something in the event package is doing this.

On Friday, 28 April 2017 03:28:10 UTC+1, 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: 
> https://twitter.com/zellyn/status/857674501928222720
>
> I ripped out the emulator code and made it simply plot a pixel each frame. 
> Here's the result, which still runs much faster under a virtual machine: 
> https://play.golang.org/p/par16HK1X2
>
> I'm sure I'm doing the wrong kind of texture update / buffer copy / 
> something wrong. Please, educate me! Extra points for explaining enough to 
> us all that we could understand what's actually going on.
>
> Thanks,
>
> Zellyn
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to