JavaScript vs. PHP vs. Lua



Hacker News, Reddit, Stack Overflow Stats

  • 1.43K
  • 4.83K
  • 1.74M
  • 614
  • 9.66K
  • 1.25M
  • -
  • 937
  • 15K

GitHub Stats

No public GitHub repository stats available

Description

What is JavaScript?

JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.

What is PHP?

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

What is Lua?

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.

Want advice about which of these to choose?Ask the StackShare community!

Pros

Why do developers choose JavaScript?
Why do you like JavaScript?

Why do developers choose PHP?
Why do you like PHP?

Why do developers choose Lua?
Why do you like Lua?

Cons

What are the cons of using JavaScript?
Downsides of JavaScript?

What are the cons of using PHP?
Downsides of PHP?

What are the cons of using Lua?
No Cons submitted yet for Lua
Downsides of Lua?

Companies

What companies use JavaScript?
5906 companies on StackShare use JavaScript
What companies use PHP?
10058 companies on StackShare use PHP
What companies use Lua?
68 companies on StackShare use Lua

Integrations

What tools integrate with JavaScript?
77 tools on StackShare integrate with JavaScript
What tools integrate with PHP?
54 tools on StackShare integrate with PHP
No integrations listed yet

What are some alternatives to JavaScript, PHP, and Lua?

  • HTML5 - 5th major revision of the core language of the World Wide Web
  • Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
  • Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
  • Ruby - A dynamic, interpreted, open source programming language with a focus on simplicity and productivity

See all alternatives to JavaScript

Latest News

Improved CSS, Extract Vue Component, and More on Jav...
Intro to Javascript debugging with source maps
Stimulus: A modest JavaScript framework for the HTML...
New in Symfony 4.1: Fastest PHP Router
Beautiful PHP CLI Menus for Laravel Artisan Commands
PHP Annotated Monthly – February 2018
Lua and The Open Source Languages Company


Interest Over Time