LogoLogo
  • Welcome
  • Preface
  • Languages
    • Assembly Language
      • Introduction
      • History
      • What it solves
      • Advantages
      • Disadvantages
      • Conclusion
    • C++
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Conclusion
    • ABC
      • Introduction
      • History
      • What it solves
      • Advantages
      • Disadvantages
      • An Example
      • Conclusion
    • Python
      • Introduction
      • History
      • What it solves
      • Advantages
      • Disadvantages
      • Few more points
      • Conclusion
    • Erlang
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Some interesting facts
      • Conclusion
    • JavaScript
      • Introduction
      • History
      • Purpose & Advantages
      • Disadvantages
      • Some interesting facts
      • Conclusion
    • C#
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Conclusion
    • Go
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Some interesting facts
      • Conclusion
    • Haskell
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Some interesting facts
      • Conclusion
    • Brainfuck
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Conclusion
      • Some interesting facts
    • Malbolge
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Conclusion
    • Perl
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Conclusion
    • C
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Conclusion
    • Lua
      • Introduction
      • History
      • Advantages
      • Disadvantages
      • Some interesting facts
      • Conclusion
    • JVM
      • Introduction
      • Java
        • Introduction
        • History
        • Advantages
        • Disadvantages
        • Some interesting facts
        • Conclusion
      • Clojure
        • Introduction
        • History
        • Advantages
        • Disadvantages
        • Some interesting facts
        • Conclusion
  • End
    • Credits
Powered by GitBook
On this page
  • Example of "Hello World" code written in Lua compared to other programming languages
  • Lua
  • JavaScript
  • Haskell
  • Python 3
  • Ruby
  1. Languages
  2. Lua

Some interesting facts

  • Awesome WM is mainly written in Lua and uses it as its configuration file format

  • Cheat Engine, memory editor/debugger uses Lua to be embedded in its "cheat tables"

  • Conky, a Linux system monitor, uses Lua for advanced graphics

  • CRYENGINE, game engine, uses Lua for user scripts

  • Garry's Mod uses Lua.

Example of "Hello World" code written in Lua compared to other programming languages

Lua

print("Hello World!")

JavaScript

"use strict"
console.log("Hello world!");

Haskell

module Main where

main :: IO ()
main = putStrLn "Hello, World!"

Python 3

print("Hello, world!")

Ruby

puts "Hello world!"
PreviousDisadvantagesNextConclusion

Last updated 5 years ago