3 ms·
How well does Dart work with node.js? Should I even consider Dart if using node.js?
by SeanDav 14y ago
How well does Dart work with node.js? Should I even consider Dart if using node.js?
- michaelwww 14y agoIt works transparently on the client to a node server of course. I haven't seen a lot of examples Dart interop with Node on the server. There are two choices, Use the Dart VM on the server and interop with Node through the js-interop lib, or use Dart2Js to convert Dart to JavaScript and operate with the node packages that way. There's still a lot of uncharted territory with Dart, which I think provides me with a lot of interest and opportunity.
- Daegalus 14y agoI think if you are using it in the server-side to just use the DartVM. its the direct analogy to Node.js. It runs server code and everything else. and I am not sure why you would even try to run it on Node.js except for some library that you really need. DartVM seems to outperform V8 anyway from the benchmarks on the Dart site.