5 ms·
Calm down man. Jeez. I don't know anything about the ngmoco case but I would like to see how their operational costs compare to before. And yes, a link would be
by wyuenho 15y ago
Calm down man. Jeez. I don't know anything about the ngmoco case but I would like to see how their operational costs compare to before. And yes, a link would be helpful.
typeof(NaN) returns "number" is obviously a bad example, but how about this?
1 + "1" * 1 == 2 // returns true
You really wouldn't know why until you dig into the language spec. There are lots of little things here and there that trips you up on a daily basis in JS I've never really understood why anyone would use it to write large systems on the server-side. It's a language that you have to deal with pretty much everyday when you are using NodeJS, I don't see how using JS can make the people using NodeJS more productive. But maybe that's not the point.
But maybe it is, given that on it's website it openly admits that it takes inspiration from Python's Twisted and Ruby's Event Machine.
V8 is essentially single threaded. That's common knowledge, but then again, Python isn't much better either.
So let's look at it's other selling point - Event driven programming/networking. Is that something new? No. Is that something proven? Yes, as it seems to work very well for Ericsson. Are callbacks necessary in EDP? No. Are they everywhere in NodeJS? Yes. Are they easy to read and manage? Obviously No.
For argument's sake, let's say event-driven programming/networking is a very good idea that it warrants slapping on a terrible language and programming practices on it. What about the eco-system? Well, there isn't much to say, or we wouldn't be reading this thread.
I don't know man, I don't see the merit in having yet another event-driven programming platform and marrying it on a terrible programming language. It doesn't even have bindings for other languages. I don't really understand the hype, but maybe you can enlighten me because I really haven't been able to find any in depth analysis of NodeJS.
- drgath 15y agoIn the world of software, the best doesn't always win. What wins is; ubiquity, ease of use, & random market factors. x86 isn't the best architecture out there, Linux isn't the greatest kernel ever developed, PHP can be pretty horrible when used incorrectly, Wordpress's code is complete crap, and yes, JavaScript has some quirks. Some really really smart people at Microsoft, Sun, and Google have all attempted to add another language to the browser, and all have failed so far. The only language that has been successful is something that was created in a few weeks at Netscape. And now, that language is invading the server, and it's going to win. Every single big company on the web is toying with Node right now. During 2011, HP is going to ship tens of millions of computers and phones that has Node as a core component of the OS. The performance goals that the Node dev team are aspiring towards are mind-blowing, and you know what? I think they are going to get there. So, to answer your question, what are the merits of Node? The "Ease of use" vs "Performance" ratio is going to be off the charts. You may feel more productive in another language. But there are millions of people who are going to enjoy the ease of use to fire up a high performing HTTP server in 3 lines of code.