Hi,

There has not yet been much of testing against real life libs.
Though, in its current state it should be able to tackle a lot.
Definitely, it is time to start working with it and improve it.

The module generates general wrapper for the V8.
I actually do not yet know what kind of adaptations are necessary for integrating into node.js.
Really, I would appreciate (your?) support here :)

Cheers,
Oliver

Am 01.11.2012 15:13, schrieb Olivier Lalonde:
Great news! Did you test it against real life libraries like zlib for example? I'll try and see how I can port this to Node.js. If I recall correctly, Node.js has to wrap V8 objects somehow.


On 1 November 2012 22:09, Oliver Buchtala <oliver.buchtala@googlemail.com> wrote:
Hi Olivier,

Good news! there is a SWIG module already on the way for that.
During GSoC 2012 we developed a JSC version (WebKit), and after that I added the same for V8 (Chromium, Node.js).
That is actually what you are looking for.

Find the current version here: https://github.com/oliver----/swig-v8

You might want to have a look at it...
And of course, Node.js oriented adaptations are very welcome.

Thanks!

Oliver

Am 01.11.2012 08:08, schrieb Olivier Lalonde:
Ah, also wanted to ask how does SWIG compare to FFI which load and bind libraries at runtime? I'm guessing SWIG is more efficient since it does the heavy work at compile time but just would like to confirm.


On 1 November 2012 15:05, Olivier Lalonde <olalonde@gmail.com> wrote:
Hi all,

I am completely new to SWIG but I am considering developing SWIG support for Javascript (Node.js). My end goal would be to be able to load (almost) any C library from Node.js and be able to call them using Javascript. If I understand correctly, SWIG can automatically wrap C libraries and make them available in higher level languages is that correct? Now I guess I would need to extend SWIG to make it support Javascript. 

Anyways, sorry if I look a bit confused. I'll start digging deeper in the documentation but any tip on how to get started would be appreciated!

Cheers!

--
- Oli

Olivier Lalonde
http://www.syskall.com <-- connect with me!

Freelance web and Node.js engineer
Skype: o-lalonde




--
- Oli

Olivier Lalonde
http://www.syskall.com <-- connect with me!

Freelance web and Node.js engineer
Skype: o-lalonde



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct


_______________________________________________
Swig-devel mailing list
Swig-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-devel




--
- Oli

Olivier Lalonde
http://www.syskall.com <-- connect with me!

Freelance web and Node.js engineer
Skype: o-lalonde