On 8/1/06, Richard Simes <[EMAIL PROTECTED]> wrote:
> Thanks for the tips,
>
> I think I'll be going with wxWidgets in C++, rather than wxLua as wxLua
> seems to have a few memory leaks...
> is this just my setup?

What wxLua version are you using?

> eg, the editor.wx.lua runs fine at first, but if I leave it open for more
> than 15 minutes it becomes unusable with ~100mb ram and ~ 85% processor.
> I'm running ubuntu 5 on an amd athlon xp

There have been some fixes to the garbage collection in wxLua since
the last release. I don't see this using the snapshots. Hopefully
we'll have a new release in the next few weeks, the summer has been
very busy for me. :)

> Although, My C++ isn't brilliant so I'll no doubt introduce some myself.
>
> With the help of wxGlade I was able to get a basic grid interface working,
> with a custom wxGridTableBase that will soon contain some basic bindings to
> my lua code.

Good luck, you can also use the wxLuaState in C++ and the binding
generation code if you want to mix C++ and Lua a little more easily.
If you're not alreasy using a snapshot, try to compile it and
hopefully the mem leak you see is fixed.

Regards,
    John Labenski


>
> On 8/1/06, John Labenski <[EMAIL PROTECTED]> wrote:
> > On 7/30/06, Richard Simes <[EMAIL PROTECTED]> wrote:
> > > I have just started writing a spreadsheet program in lua that supports
> > > functions, cell ranges and sorting. have got to the point where it
> really
> > > needs a user interface to be useable to anyone so am investigating
> wxLua.
> >
> > Lua should make scripting arbitrary functions fairly easy.
>
>
>
> Wonderfully easy - I have the lua api working well.
> I'll post a link to lua-l as soon as I get a working prototype ;-)
> Thanks for the help.
>
> Richard
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Wxlua-users mailing list
> Wxlua-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to