> it's not something that can't be done, it just hasn't been done yet, IMHO.

Right. It's doable, it's just not actually that great of an idea.

--Josh

On Tue, Jun 12, 2012 at 3:08 PM, Matt <hel...@gmail.com> wrote:
> On Tue, Jun 12, 2012 at 5:34 PM, Joshua Holbrook <josh.holbr...@gmail.com>
> wrote:
>>
>> Python has a python/c barrier yes, but python's runtime is better
>> equipped to handle crossing the boundary with low overhead because it
>> was written with that use case in mind. v8, on the other hand, is
>> optimized for running javascript code and so making the jump back and
>> forth is considerably more effort for the vm.
>>
>> I'm sure someone with more experience with node C bindings (or python
>> C bindings for that matter) could give a more technical explanation.
>> I'm more of an end-user and not as much a developer when it comes to
>> such bindings.
>
>
> I'm familiar with Node's C++ bindings and I'm very familiar with Perl's C
> interface (XS) and the overheads of passing objects back and forth there.
> And Perl was designed very similarly to Python in that sense. The answer is
> there's not that much difference between Node and Perl in that respect, and
> I haven't seen any reason the equivalent to NumPy (or PDL which is the Perl
> equivalent) couldn't be built in Node from my knowledge of the internals.
>
> Not that this exists now, or is even in the scope of a masters thesis, but
> I'm just saying it's not something that can't be done, it just hasn't been
> done yet, IMHO.
>
> Matt.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en



-- 
Joshua Holbrook
Engineer
Nodejitsu Inc.
j...@nodejitsu.com

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to