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
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
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.
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 8 years ago.
Improve this question
I've recently finished watching some beginner JavaScript tutorials; it's quite easy to understand. I'm trying to look for intermediate ones now, but I can't find any. So I've decided to not waste time while looking for some continuation on my JavaScript journey. What should I learn next? I prefer that which is important, and perhaps, closely related to JavaScript.
It depends on what your goal is, and what you have already learned.
If you want to become a web developer, you should learn some server-side web languages like PHP or ASP.NET.
If you want to become a general developer, it would be useful to know systems languages like Java or C++.
If you want to be a computer scientist, studying algorithms might be a good start.
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 8 years ago.
Improve this question
Is it possible to use Javascript to query databases to display text, images and other data and, generally to perform server-side scripting? And if so would you recommend using Javascript to do this or is it better to use PHP, Python, ASP etc?
Did you hear about node.js?
Yes, it's possible.
Recommended? -It depends, as always...
It's definitely possible, see Node.js. Practical? Depends on your situation entirely.
See this question and Aziz's comment for more links.