185k views
4 votes
What makes a scripting language, such as JavaScript, different from a full programming language, such as C, C++ and Java?

User Gary In
by
7.6k points

1 Answer

2 votes

Final answer:

A scripting language, such as JavaScript, differs from a full programming language like C, C++, and Java in terms of execution environment, flexibility, and performance.

Step-by-step explanation:

A scripting language, such as JavaScript, is different from a full programming language, such as C, C++, and Java, in several ways:

1. Execution Environment: Scripting languages are typically executed within an interpreter or a runtime environment, while full programming languages are compiled into machine code before execution.

2. Flexibility: Scripting languages focus on providing quick and easy solutions to specific tasks, allowing for rapid development and prototyping. Full programming languages have a wider scope and are suitable for developing complex software systems.

3. Performance: Full programming languages generally offer better performance and efficiency as their code is compiled down to machine code, whereas scripting languages have overhead due to interpretation.

User Zeyad Shaban
by
7.9k points