Home

Add a comment

 

Re: node.js vs Java nashorn

Not much of a shocker. One thing to remeber with Node.js is that V8 is awesome when it comes to arithmetic operations. Numbers can typically be converted to native ints and all processes have native math instructions. Other JS objects however don't have true native equivalents, and their methods don't have native equivalent instructions, so the whole idea of converting them to machine code is a bit a stretch. Strings are somewhat of an exception because chars are after all just ints, and char/string functions are typically some form of arithmetic. Long story short, V8 is able to crunch numbers (and chars) without fluff, just pure raw machine instructions. Dumping 10,000 strings into a database however will show that node.js isn't always quicker then alternatives.

Re: node.js vs Java nashorn


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

Home