Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How does Google's native client (both NaCl and PNaCl) compare to Emscripten in ported C++ code performance?
The best way to find out is to port something and profile. I have done work with both systems, porting CPU-intensive C/C++ libraries to both NaCl and JS-via-Emscripten. I have found both to be remarkably performant. Not exactly the same as compiled C/C++, but fast enough that they can accomplish their tasks in real-time.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
Just on the first page of Nest, they proudly claim :
A progressive Node.js framework for building efficient, reliable and scalable server-side applications.
The only word I can't grasp is progressive and what that can means in the programming world.
Can anyone explain the concept to me?
According to a Dictionary on the web progressive means happening or developing gradually or in stages.
What I infer from their website about them is "NestJs Takes advantage of latest JavaScript features, bringing design patterns and mature solutions to Node.js world."
and indeed they are doing so by making it more extensible and versatile.
Well, this has nothing to do with PWA(Progressive Web App) Hope this answers your question.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
JAVA runs in JVM.
JavaScript runs in NodeJS.
Okay.
So, can I say that NodeJS is like JVM but for JavaScript ?
It isn't, NodeJS is a utility wrapper (and really a necessary one) over the Google's V8 engine, Googles JavaScript runtime.
There are also other issues with this statement as Java is compiled to its own byte code (although you could argue that this would be WASM or V8 byte code) and JavaScript is interpreted.
Despite these differences, NodeJS is like JRE for JS in a practical sense
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was noticing very high usage of memory in Firefox, and I saw pages like Gmail and another heavy web-app I was working on, were >100mb! Looking through and seeing some high "unused-gc-things" in about:memory, I found this bug has been reported here and here and is a common problem without a good solution :(
Is there a good tool for detecting arenas of un-garbage-collectable objects short of compiling a special build of Firefox or other browser? And are there better methodologies of writing web-apps that don't use much memory? I would imagine using ArrayBuffer or asm.js may be more efficient as it has one set memory pool, but that doesn't play well with the usual DOM-based interaction and javascript function-al "class"-based programming of most web-apps.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am doing a couple of heavy linear algebra computations in my javascript code which results in blocking the browser. I was wondering what is the best way to handle heavy mathematical computations in a web application?
I am using php on serverside. My question is should I use linear algebra libraries in php or is there a way I can use MATLAB in my web application? Any other suggestions to handle this?
use web workers, it like running your code in a seprate thread
http://www.html5rocks.com/en/tutorials/workers/basics/
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Can't help myself, but why are there scripting languages such as PHP running on webservers? Why not compiler languages like C? What's the advantage of using a script language on a webserver? Just heard that the biggest part of Facebook was written in PHP. Afterwards the developers introduced HipHop as a Compiler for translating into C.
Why didn't they start to program in C?
Same for client based scripting. What's the reason for using interpreted languages?
Economics. Computer time is cheap. Programmer time is not.
In big conclusion - its more convenient.
Here your can find short and nic article with advantages:
link