[erlang-questions] Re: On Windows XP (SP2): wx broken

Dan Gudmundsson dangud@REDACTED
Fri Jul 9 12:25:48 CEST 2010


On Fri, Jul 9, 2010 at 12:07 PM, Antoine Koener
<antoine.koener@REDACTED> wrote:
> On Fri, Jul 9, 2010 at 3:54 AM, MapAndFold <mapandfold@REDACTED> wrote:
>>
>> Yeah, I have tried again on R14A, and it is *almost* OK now.
>>
>> But, another problem occurs:
>>
>> Opening the sudoku demo, drag to resize the window, then things crash
>> with this message.
>>
>
Thanks for the input, I need to see if I can repeat that.

> While your talking about the sudoku application, it's worth saying that it
> takes 100% CPU.
> Don't know if it's wx related but for my point of view it's a complete
> failure.
> UI must not take too much cpu (I'm not talking about games...)
> Note that I know that this sudoku thing is only a proof of concept, and it
> is not designed as
> a top quality game, but this don't encourage myself to rely heavily on
> wx/erlang :/

:-)

It's not the gui that takes 100% cpu, the game generates new boards in
the background for a while.
Generating boards (at least in my implementation) takes some cpu.
You know in erlang you can spawn processes to do work while waiting
for user input. :-)
But if you wait some time it will have generated 5 boards and it will
slow down.

/Dan


More information about the erlang-questions mailing list