4 ms·
My main concern is about the performance and overhead that whole node ecosystem brings. Despite that, it's nice to read a positive feedback :)
by vmateixeira 10y ago
My main concern is about the performance and overhead that whole node ecosystem brings.
Despite that, it's nice to read a positive feedback :)
- Illniyar 10y agoOther then using the same package manager there is very little overlap between the node ecosystem and react's, so I'm not sure what you are referring to
- vmateixeira 10y agoMaybe I missed something.. where are all js files going to be rendered on?
- Illniyar 10y agojavascript engine provided by the OS, in iOS it's JavascriptCore, in UWP it's the chakra engine. Not sure what it is in Ubuntu, probably v8 packaged with the executable. In either case, it's not using node or v8/chromium .
- vmateixeira 10y agoSorry about my uneducation but if v8 is running standalone isn't this similar to having node running on the OS?
- Illniyar 10y agov8 is just a javascript engine, node.js is a platform built on v8. Node.js adds various standard native modules - mostly various IO (file, tcp etc...), a way to load other modules, access to the underlying OS (environment variables etc...). running v8 alone is akin to running the browser without html or the dom api, you basically can compile and run javascript functions, but can't do much with it.
- blahi 10y agoIsn't javascript really really really fast? The Julia websites has a benchmark for various languages performing some tasks. Javascript seemed pretty comparable to Java.
- Illniyar 10y agoEvery language has it's pros and cons in terms of performance and benchmarks are notoriously inadequate to compare but my general probing of people in the industry result in the following regarding language speed: 1. c/c++ is the fastest. 2. modern java is either the same as c/c++ or about 2x slower 3. modern javascript (i.e. v8) is about 4x slower then java. 4. python/ruby and most other dynamic languages are about 10x slower then java. Never seen C# really compared with others because it's rarely ran on the same systems. Go, Rust and all the new shiny languages are still far away from when we can infer about their performance, but they are probably somewhere around the Java level.
- jjnoakes 10y agoI wouldn't lump all of the "new shiny languages" together; they all have their own performance profiles.
- Illniyar 10y agoSorry, I meant all the new shiny languages are too young to make good estimation about and from those Go and Rust appear to be somewhere in the Java level. Didn't mean to imply that other shiny languages are in the Java level, just bad grammar on my part I suppose.