Hi,

Le Tue 06/05/2008 à 08:56 Pablo Martin à écrit:
>
> Well... for apricot as you say, we won't focus on network so it's not
> an issue. Other than that, i'd be very interested to help out with lua
> bindings for cel and cs (could be a good complement both for security
> and speed), i once tried with the stuff you made, but dont remember
> exactly where i stopped. If you still have the files around, i'd try
> to advance a little (eventually). Can't promise anything right now as
> am very busy. Also as much info as you have about your attempts would
> probably be useful too.


Well, if you want to do something about Lua ... go on. But, you must
know that I don't currently have much time to spend on that.

I recently found a page on the wiki and updated it a little to add
links to some source code:
http://crystalspace3d.org/main/Luaplugin_tutorial
https://code.launchpad.net/~cslua/cslua/CS

I remember that I stopped working on that when I realized that swig was
more like a big hack. The version of swig I had contained bugs with lua
code generation ... that prevented it from compiling. And also, the C
file generated was around 4 or 8 MB ... And I remember that it took
several hours for gcc to compile (and of course, during that time, my
computer was completely unusable). Perhaps I forgot to remove the
optimisation flags ... but that is far too much, especially if it's to
realize that there is a syntax error in the C code few hours later.

So I gave up.

Perhaps the swig bindings should me modularised. I noticed that when
gcc has a very big file to compile, it takes more time than if it was
multiple c files compiled separately.

Now I have a new computer with a faster processor and four times the
memory I had ... perhaps it would take a little less time :)

Mildred

-- 
Mildred Ki'lya
E-Mail: mildred593(at)online.fr

Site:   <http://mildred632.free.fr/>
XMPP:   <[EMAIL PROTECTED]> (GoogleTalk, Jabber)

GPG:    197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cel-main mailing list
Cel-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cel-main

Reply via email to