DevTables: Refresh your memory on programming language features

This website is a cheat sheet for programming. Just choose your category then add or delete languages. Leave if you want; it'll keep your place.


Warning: Creating default object from empty value in /home/crossman/devtables.com/data.inc.php on line 17
General Features addresses core language features, such as data types, operators, and classes. Overview gives a quick summary of the programming language's features.

Javascript
C
PHP
Typeembedded, server-side webcompiledserver-side web, scripting
Paradigmobject-oriented, imperative, functionalprocedural, structuredimperative, object-oriented, procedural, reflective
Typingdynamic, weak, duckstatic, weak, manifest, nominaldynamic, weak
Syntax StyleC; symbol-delimited blockssymbol-delimited blocksC; symbol-delimited blocks
Safetybounded arraysunsafe pointers, unbounded arraysbounded arrays
Data Structureslists, objects (usable as maps)fixed arrays, unions, recordsunified list/map, objects
Object Orientationprototype-based classes single-inheritance rooted classes, interfaces
Namespacesemulatednoyes
Unicodeyes (excluding regex)separate multibyte type, but no Unicode handling. Use ICU or iconv.optional (special functions)
Threadingyes (IE10+, web workers)3rd party3rd party (pthreads)
Garbage Collectionyes3rd partyyes
Assembly inline/linked

Inline support depends on compiler and architecture. It is supported on GCC, Clang, and VC++/x86.

Library Support CC interpreter extensions
Popular ImplementationsSpiderMonkey, V8, JavaScriptCore, ChakraVisual C++, GCC, Clang, IntelZend Engine, Phalanger, Quercus, WebSphere sMash, HipHop for PHP
StandardISO, ECMAANSI, ISOreference implementation
"Hello, world"inserted into webpage: alert("Hello, world");#include <stdio.h> int main(void) { puts("Hello, world"); return 0; }<?php echo "Hello, World"; ?>