[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaCocoa: A next-gen Lua/Objective-C bridge
- From: Eric Wing <ewmailing@...>
- Date: Tue, 30 Nov 2010 12:00:50 -0800
On 11/30/10, Pierre-Yves Gérardy <pygy79@gmail.com> wrote:
> On Tue, Nov 30, 2010 at 20:17, Eric Wing <ewmailing@gmail.com> wrote:
>>
>> Thanks for trying it!
>>
>
> You're welcome :-)
>
> The iTunes example works, but the "LuaCocoa.import 'ScriptingBridge' "
> directive takes about 10 seconds to run (it loads all the frameworks first.
> Isn't there a more fine grained way to import frameworks?
>
> The full log is attached.
>
> Kind regards,
> Pierre-Yves
>
Yeah, LuaCocoa definitely needs a future release dedicated to
performance optimization. This is why I still call it a 0.1 release
instead of a 1.0 release.
I think most of the bottlenecks are related to parsing XML which I
suck at. (Lua spoiled me because I rarely actually needed to use XML.)
BridgeSupport metadata also contains references to "dependent"
frameworks which I am dutifully respecting which is why so many
frameworks get pulled in and processed. While these dependencies will
need to be respected, perhaps a future optimization could defer the
XML parsing to more lazy/on-demand if more efficient XML parsing
doesn't solve the problem.
Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/