On Fri, May 24, 2013 at 5:23 PM, Baz <b...@thinkloop.com> wrote:

> Prajwal, you said "use something lower level (thus faster) like JVM
> (Scala/Java) for this". Is that proven? Is Java faster at looping, and
> concatenating and adding numbers and such? The only benchmarks I see are
> web-related, so I just have no idea. Good point on the limited computation
> libraries tho - I don't think I need anything fancy but I should definitely
> make sure the libs I need are available in node before getting started.
>

I think Java is well proven to be faster at this point. But it's a lot more
complicated writing Java code.


> I've read some confusing stuff on memory, probably because things have
> changed quickly recently in V8 and node in that regard. It seems there
> shouldn't be a problem though because, as Ben mentioned, while the "JS
> heap is limited to slightly less than 2 GB, buffers and typed arrays live
> mostly outside the JS heap.". To be sure, what's an example of how I could
> run out of heap if I had, say, a 10GB array (outside of heap) that I'm
> processing?
>

A typical example is if you started filling an object up with millions of
keys. The garbage collector is going to have a bar hair day if you do that.


> Pedro you say "Node is great for doing I/O and not much else", but this
> is exactly what I'm trying to get to the bottom of. I know this is the
> general drumbeat and I'm trying to find tangible reasons why.
>

I don't find that to be entirely true. Though it really comes down to a
question of JS/V8 vs other options, not really Node. Sounds like you won't
be doing much I/O so Node won't really come into it - it's more V8.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to