I have selected the most used languages in the market with data that can make you study or know better to make your choice, whether for the job market or for building personal or business projects:
Follow:
https://curlie.org/Computers/Programming/Languages/Assembly/
File:
vim hello-world.asm
Assembly or assembly language is a human readable notation for machine code that a specific computer architecture uses, used to program code understood by computational devices such as microprocessors and microcontrollers.
Must have compiler and linker: ld .
Run: nasm -f elf64 -o hello-world.o hello-world.asm && ld hello-world.o -o hello-world && ./hello-world
Example: http://asm.sourceforge.net/intro/hello.html
https://www.iso.org/standard/74528.html
File:
vim hello-world.c
C is a general purpose, structured, imperative, procedural compiled programming language, standardized by the International Organization for Standardization (ISO), created in 1972 by Dennis Ritchie at AT&T Bell Labs for Unix operating system development (originally written in Assembly) .
You must have a compiler installed, eg gcc .
Run: gcc hello-world.c -o hello-world.o && ./hello-world.o
File: I
vim hello-world.cpp
, Ivim hello-world.c++
or Ivim hello-world.cc
C++ (reads see plus plus) is a compiled multi-paradigm programming language (its support includes imperative, object oriented and generic language) and commonly used.
You must have a compiler installed, eg gcc .
Run: g++ hello-world.cpp -o hello-world.o && ./hello-world.o
File:
vim hello-world.go
Go is a programming language created by Google and released in open source in November 2009. It is a compiled language.
You must have go installed.
Run: go build hello-world.go && ./hello-world
Example: https://tour.golang.org/welcome/1
https://www.gnu.org/software/bash/ File: vim hello-world.sh
or vim hello-world.bash
Bash is a script language or command interpreter, one of several translators.
Run: bash hello-world.sh
, sh hello-world.sh
, source hello-world.sh
, chmod +x ./hello-world.sh && ./hello-world.sh
https://www.gnu.org/software/gawk/
File:
vim hello-world.awk
The AWK programming language was created in 1977 by scientists Alfred Aho, Peter J. Weinberger and Brian Kernighan in the Bell Labs lab.
There are several variants of Awk: Learn more here .
Run: awk -f hello-world.awk
Example: https://www.gnu.org/software/gawk/manual/gawk.html#BEGIN_002fEND
File:
vim hello-world.vim
Vim’s scripting language, known as Vimscript, is a typical dynamic imperative language that offers most common language features.
Must have vim installed.
Run: vim -u hello-world.vim +qall
Vim and VimScript Course: https://terminalroot.com.br/vim
File:
vim hello-world.sql
Structured Query Language, or Structured Query Language or SQL, is the standard declarative query language for relational database (relational database).
You must have MySQL for this example: MySQL .
Run: mysql -u root -p < hello-world.sql
or directly: mysql -u root -p -e "SELECT 'Hello, World'"
Uses: https://terminalroot.com.br/2011/10/curso-certificacao-linux-lpi-102.html
File:
vim hello-world.lua
Lua is a small, reflective, lightweight multiparadigm scripting language designed to expand general applications by being an extensible language (which joins parts of a program made into more than one language), for prototyping, and for software embedding. complex, like games. It resembles Python, Ruby and others.
Must have Lua installed.
Run: lua hello-world.lua
or chmod +x hello-world.lua && ./hello-world.lua
Example: https://terminalroot.com.br/2016/11/blog-linux-lua.html
File:
vim hello-world.pl
Perl is a family of two multiplatform programming languages, Perl 5 and Perl 6.
Must have Perl installed.
Run: perl hello-world.pl
or chmod +x hello-world.pl && ./hello-world.pl
Example: https://metacpan.org/pod/Perl::Tutorial::HelloWorld
File:
vim hello-world.php
PHP (a recursive acronym for “PHP: Hypertext Preprocessor”, originally Personal Home Page) is a free interpreted language, originally used only for the development of server-side applications that are capable of generating dynamic content on the World Wide Web.
You must have PHP installed.
Run: php hello-world.php
or chmod +x hello-world.php && ./hello-world.php
Example: https://terminalroot.com.br/2011/12/como-crea-chat-com-sockets-em-php-no.html
File:
vim hello-world.py
Python is a high-level, interpreted, scripted, imperative, object-oriented, functional, dynamic typing, and strong programming language.
You can run Python directly at the prompt:
python
.
Run: python hello-world.py
or chmod +x hello-world.py && ./hello-world.py
Example: https://terminalroot.com.br/2016/12/script-basico-de-python-para-learning.html
http://www.ecma-international.org/publications/standards/Ecma-262.htm
File:
vim hello-world.js
JavaScript, often abbreviated as JS, is a high-level interpreted programming language, also characterized as dynamic, poorly typed, prototype-based, and multi-paradigm.
You must have Nodejs installed.
Run: node hello-world.js
Example: https://terminalroot.com.br/2011/11/some-codigos-simples-de-javascript.html
File:
vim hello-world.java
Java is a programming language developed by engineers at Sun Microsystems. It is an object-oriented language designed to run on multiple platforms without the need to recompile the code on each platform.
OpenJDK is a free and free implementation of the Java platform, Standard Edition.
Must have compiler and linker: JDK .
Run: javac hello-world.java && java OlaMundo
, javac creates a file with the class name (inside the same directory where you ran it), in this case HelloMundo with the extension .class ( OlaMundo.class
), but to run does not report the .class .
OpenJDK: https://openjdk.java.net/
File:
vim hello-world.rs
Rust is a compiled multiparadigm programming language developed by Mozilla Research. It is designed to be “safe, concurrent and practical”, supporting the purely functional, procedural, and object-oriented styles. It has native WebAssembly support.
Must have compiler: rustc .
Run: rustc hello-world.rs && ./hello-world
Example: https://doc.rust-lang.org/stable/rust-by-example/hello.html
File:
vim hello-world.swift
Swift is a programming language developed by Apple for development on iOS, macOS, watchOS, tvOS and Linux.
Must have swift .
Run: swift build && .build/debug/hello-world
, this inside a directory with Sources
Example: https://swift.org/getting-started/#installing-swift
File:
vim hello-world.dart
Dart (originally called Dash) is a web-based scripting language developed by Google.
Need dependencies .
Run: dart hello-world.dart
Example: https://dart.dev/#try-dart
File:
vim hello-world.kt
Kotlin is a multiplatform programming language that compiles for the Java Virtual Machine and can also be translated into JavaScript and compiled into native code.
Must have dependencies .
Run: kotlinc hello-world.kt -include-runtime -d hello-world.jar && java -jar hello-world.jar
Example: https://kotlinlang.org/docs/tutorials/kotlin-for-py/compiling-and-running.html
File:
vim hello-world.r
R is a computational environment and a programming language that has been progressively specializing in data manipulation, analysis and visualization.
Must have R installed.
Run: Rscript hello-world.r
Example: https://cran.r-project.org/doc/manuals/r-release/R-intro.html
File:
vim hello-world.jl
Julia is a high-level dynamic programming language designed to meet the requirements of scientific and numerical high performance computing and is also effective for general purpose programming.
To use the compiled form you need the JIT compiler.
Run: julia hello-world.jl
Example: https://docs.julialang.org/en/v1/manual/getting-started/
File:
vim hello-world.rb
Ruby is a powerful, dynamic typing, self-managing multi-paradigm interpreted programming language originally designed and developed in Japan in 1995 by Yukihiro “Matz” Matsumoto for use as a scripting language.
You need to have Ruby installed.
Run: ruby hello-world.rb
File:
vim hello-world.exs
Elixir is a concurrent, general purpose functional programming language that runs on the Erlang virtual machine (BEAM).
You must have Elixir installed.
Run: elixir hello-world.exs
Example: https://elixir-lang.org/getting-started/introduction.html
https://wiki.gnome.org/Projects/Vala
Extension:
vim hello-world.vala
Vala is an object-oriented programming language.
You must have Vala installed.
Run: valac hello-world.vala -o hello-world
](https://wiki.gnome.org/Projects/Vala/ValaForCSharpProgrammers)
Example: https://www.vala-project.org/doc/vala/Overview.html#Getting_started
http://msdn.microsoft.com/en-us/vcsharp/default.aspx
File:
vim hello-world.cs
C# is a strongly typed, multi-paradigm programming language developed by Microsoft as part of the .NET platform.
Must own Gentoo :
layman dotnet && emerge mono monodevelop
.
Example: https://docs.microsoft.com/en-us/dotnet/csharp/
http://gambas.sourceforge.net/
File:
vim hello-world.gambas
Gambas is an integrated development environment (IDE) for Linux an Open Source alternative to Microsoft Basic Visual Basic.
Must have Gambas, eg
sudo apt install gambas3
https://www.youtube.com/watch?v=xezNqM2zrbY .
Run: gambas hello-world.gambas
Example: https://terminalroot.com.br/2016/10/gambas-o-visual-basic-open-source-para.html
Thanks for reading!
programming development code assembly c cpp go bash awk vimscript sql lua perl php python javascript java rust swift dart kotlin r julia ruby elixir vala csharp gambas