Lua v Ruby

Lua. My 5th favourite language (after python, typescript, go and javascript). While not that powerful, it’s the language of choice for roblox and some 2D gamedevs (via Love2D). Coded in C with easily readable syntax and good for beginners. Lua is going…


This content originally appeared on DEV Community and was authored by JavaCode7

Lua. My 5th favourite language (after python, typescript, go and javascript). While not that powerful, it's the language of choice for roblox and some 2D gamedevs (via Love2D). Coded in C with easily readable syntax and good for beginners. Lua is going to put up a good fight.

Ruby. Not that popular in gamedev but useful in webdev (via ruby on rails) it is the language that just so happens to power DEV! Much more powerful than lua at the expense of speed and effectiveness as a first programming language for absolute beginners.

Lua

Let's see what we have here:

  • ✔  Fast
  • ✔  Game engine support
  • ✔  Simple syntax
  • ✔  Dynamically typed
  • ✔  Compiled
  • ❌ Not very powerful
  • ❌ Compiles to .out files unless you use srlua
  • ❌ Have to download the package manager.

Ruby

And rivalling lua:

  • ❌ Not as fast as lua
  • ✔  Game engine support (Ruby2D)
  • ✔  Simple syntax
  • ✔  Dynamically typed
  • ✔  Interpreted
  • ❌ Very powerful
  • ✔  Webdev
  • ✔  Built in package manager

And there we have it! Ruby wins by 1 point. This brings me to the end of my article but I would love to hear what you think! Comment down below to share your thoughts ?.


This content originally appeared on DEV Community and was authored by JavaCode7


Print Share Comment Cite Upload Translate Updates
APA

JavaCode7 | Sciencx (2021-06-10T10:29:51+00:00) Lua v Ruby. Retrieved from https://www.scien.cx/2021/06/10/lua-v-ruby/

MLA
" » Lua v Ruby." JavaCode7 | Sciencx - Thursday June 10, 2021, https://www.scien.cx/2021/06/10/lua-v-ruby/
HARVARD
JavaCode7 | Sciencx Thursday June 10, 2021 » Lua v Ruby., viewed ,<https://www.scien.cx/2021/06/10/lua-v-ruby/>
VANCOUVER
JavaCode7 | Sciencx - » Lua v Ruby. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/10/lua-v-ruby/
CHICAGO
" » Lua v Ruby." JavaCode7 | Sciencx - Accessed . https://www.scien.cx/2021/06/10/lua-v-ruby/
IEEE
" » Lua v Ruby." JavaCode7 | Sciencx [Online]. Available: https://www.scien.cx/2021/06/10/lua-v-ruby/. [Accessed: ]
rf:citation
» Lua v Ruby | JavaCode7 | Sciencx | https://www.scien.cx/2021/06/10/lua-v-ruby/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.