{"id":132,"date":"2017-05-05T13:09:03","date_gmt":"2017-05-05T16:09:03","guid":{"rendered":"https:\/\/www.linuxpro.com.br\/2017\/05\/linguagens-de-programacao\/"},"modified":"2026-09-08T10:43:18","modified_gmt":"2026-09-08T13:43:18","slug":"linguagens-de-programacao","status":"publish","type":"post","link":"https:\/\/www.linuxpro.com.br\/en\/2017\/05\/linguagens-de-programacao\/","title":{"rendered":"The 7 main programming languages!"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"Mascote do LinuxPro tirando um livro da estante de linguagens de programa\u00e7\u00e3o, cada lombada com o s\u00edmbolo de uma delas\" src=\"\/wp-content\/uploads\/2026\/09\/linguagens-programacao-v2.webp\" width=\"1486\" height=\"856\" \/><\/p>\n<div style=\"background:#fff8e1;border-left:4px solid #8b1a1a;padding:.8em 1em;margin:1em 0\"><strong>Note (2026):<\/strong> A 2017 list (Java, C, Python, Perl, PHP, Go, Swift). The ranking changed: Python leads TIOBE; Perl left the top 20; Rust entered the top 10. We keep the original seven, updated, and a snapshot of September 2026.<\/div>\n<p class=\"translation-block\">Open any Linux server and you'll find five different languages running at once, unaware of each other. The kernel is <strong>C<\/strong>. <code>docker<\/code> and <code>kubectl<\/code> are <strong>Go<\/strong>. The ticketing panel is <strong>PHP<\/strong> \u2014 or <strong>Perl<\/strong>, if it's old. The script that runs the backup at three in the morning is <strong>Python<\/strong>. And since 2026, even Ubuntu's <code>ls<\/code> and <code>sudo<\/code> have been written in <strong>Rust<\/strong>.<\/p>\n<p>A programming language is the contract between the writer and the machine: syntax, semantics, a compiler or an interpreter. This post maps who speaks what \u2014 the seven from the original 2017 list, updated, plus those that came later.<\/p>\n<p><!-- more --><\/p>\n<h2>What changed on the map<\/h2>\n<p>September 2026 TIOBE (search, not jobs): 1 Python, 2 C, 3 C++, 4 Java, 5 C#, 6 JavaScript, 7 Visual Basic, 8 SQL, 9 R, 10 Rust. Go in 12\u00ba, PHP in 14\u00ba, Swift in 18\u00ba. Perl doesn't appear in the top 20. PYPL (tutorials on Google) and GitHub usage tell another story: JavaScript\/TypeScript dominate the web; Python, AI.<\/p>\n<p>An index isn't destiny. This blog runs WordPress (PHP). The kernel is C. What you install on a server in 2026 still goes through these seven \u2014 plus Rust and JS, which the 2017 list didn't cover.<\/p>\n<h2>Paradigms, on one screen<\/h2>\n<p><strong>Imperative:<\/strong> a sequence of orders. <strong>Object-oriented:<\/strong> state encapsulated in types. Almost every language on the list is multiparadigm. High level moves closer to humans; low level, to registers. C walks both paths. Python at the high end. Assembly at the bottom.<\/p>\n<h2>Python<\/h2>\n<p><img decoding=\"async\" alt=\"As duas cobras do logo do Python num laborat\u00f3rio de dados\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-python-hq.webp\" \/><\/p>\n<p><em>Guido van Rossum \u00b7 1991 \u00b7 interpreted \u00b7 where it lives on Linux: automation, AI, <code data-no-translation=\"\">apt<\/code> and half the distro's utilities.<\/em><\/p>\n<p>Readable, <em>batteries included<\/em>, community-driven. In 2017 people were already talking about machine learning; in 2026 it's the lingua franca of AI, automation and sysadmin scripts. The stable series is 3.14, and there's no more \u201cPython 2\u201d on a serious server.<\/p>\n<p>It's also the language you most often encounter without looking: much of Debian's and Ubuntu's system tooling is written in it, and the entire AI ecosystem \u2014 from <a href=\"\/en\/2026\/09\/vllm-primeiros-passos-linux\/\">vLLM<\/a> to the client for <a href=\"\/en\/2026\/09\/rodando-ia-local-no-linux-com-ollama\/\">Ollama<\/a> \u2014 speaks Python first.<\/p>\n<p>Start with the howto <a href=\"\/en\/2017\/04\/python-do-basico-ao-profissional\/\">Python from Beginner to Professional<\/a> and with <a href=\"https:\/\/www.python.org\/\">python.org<\/a>.<\/p>\n<h2>C<\/h2>\n<p><img decoding=\"async\" alt=\"Rob\u00f4 de manuten\u00e7\u00e3o numa sala de m\u00e1quinas cl\u00e1ssica, o territ\u00f3rio da linguagem C\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-c-hq.webp\" \/><\/p>\n<p><em>Dennis Ritchie \u00b7 1972 \u00b7 compiled \u00b7 where it lives on Linux: the kernel, glibc, OpenSSL, PostgreSQL \u2014 the foundation of everything.<\/em><\/p>\n<p>The year after its creation, UNIX was rewritten in it \u2014 which is why half a century later it still rules. C23 is the current ISO standard. It isn't \u201ceasy\u201d: it's what the hardware obeys, at the cost of managing memory yourself. K&amp;R remains the book; your distro's compiler is GCC or Clang.<\/p>\n<p>For almost all of the kernel's history, C was the <em>only<\/em> option \u2014 until 2022, when Rust entered as an experiment, and 2026, when it stopped being experimental. That story is in <a href=\"\/en\/2026\/09\/a-historia-de-linus-torvalds\/\">The history of Linus Torvalds<\/a> and in <a href=\"\/en\/2026\/09\/linux-35-anos\/\">Linux turns 35<\/a>; the lineage that came before, in <a href=\"\/en\/2017\/08\/a-historia-do-unix\/\">The history of UNIX<\/a>.<\/p>\n<h2>Java<\/h2>\n<p><img decoding=\"async\" alt=\"Duke, o mascote do Java, ao lado da x\u00edcara de caf\u00e9 da plataforma\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-java-hq.webp\" \/><\/p>\n<p class=\"translation-block\"><em>Green Project, Sun \u00b7 early years of the decade beginning in '90 \u00b7 runs on the JVM \u00b7 where it lives on Linux: enterprise applications, Elasticsearch, Spark, Tomcat.<\/em><\/p>\n<p>The promise was <em>write once, run anywhere<\/em>, and the JVM delivered \u2014 at the cost of carrying a virtual machine along. Today it belongs to Oracle; Android still speaks Java, increasingly sharing with Kotlin. The current LTS versions are 21 and 25. The syntax resembles C; the model doesn't.<\/p>\n<p>It's the language supporting much of what you install on a server without realizing it \u2014 from Elasticsearch to <a href=\"\/en\/2017\/04\/instalando-tomcat-9-no-ubuntu\/\">Tomcat<\/a>. Duke and the cup remain the imagery. Docs: <a href=\"https:\/\/docs.oracle.com\/en\/java\/\">docs.oracle.com\/en\/java<\/a>.<\/p>\n<h2>Go<\/h2>\n<p><img decoding=\"async\" alt=\"O gopher do Go num porto de cont\u00eaineres, com tr\u00eas goroutines correndo em paralelo\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-go-hq.webp\" \/><\/p>\n<p><em>Rob Pike, Ken Thompson and Robert Griesemer, at Google \u00b7 2009 \u00b7 compiled \u00b7 where it lives on Linux: practically every infrastructure tool of the last decade.<\/em><\/p>\n<p>Compiles in seconds, handles concurrency with <code data-no-translation=\"\">go func()<\/code> and delivers a single static binary \u2014 no VM, no interpreter, no dependency to install on the server. That's what won over the cloud.<\/p>\n<p class=\"translation-block\">The list of what's written in Go speaks for itself: <a href=\"\/en\/2026\/09\/a-historia-do-docker\/\">Docker<\/a>, <a href=\"\/en\/2026\/09\/a-historia-do-kubernetes\/\">Kubernetes<\/a>, Terraform, <a href=\"\/en\/2026\/09\/monitorando-servidores-linux-com-prometheus\/\">Prometheus<\/a>, <a href=\"\/en\/2017\/04\/instalando-gogs-no-ubuntu\/\">Gogs<\/a> and <a href=\"\/en\/2026\/09\/go-postfixadmin\/\">go-postfixadmin<\/a>. In 2017 this post said the language was still weak in Brazil; in 2026 it <em>is<\/em> the language of infrastructure.<\/p>\n<p>The full history is in <a href=\"\/en\/2026\/09\/a-historia-da-linguagem-go\/\">The history of the Go language<\/a>; to install, <a href=\"\/en\/2019\/12\/install-golang-linux\/\">Installing Golang on Linux<\/a>. Website: <a href=\"https:\/\/go.dev\/\">go.dev<\/a>.<\/p>\n<h2>PHP<\/h2>\n<p><img decoding=\"async\" alt=\"O elePHPant, mascote do PHP, montando uma p\u00e1gina web\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-php-hq.webp\" \/><\/p>\n<p class=\"translation-block\"><em>Rasmus Lerdorf \u00b7 the decade beginning in 1990 \u00b7 interpreted \u00b7 where it lives on Linux: roughly half the world's websites.<\/em><\/p>\n<p>Zeev Suraski and Andi Gutmans rewrote the engine in 1998 and PHP became the de facto standard for the dynamic web. Series 8 has typing, JIT and Fibers \u2014 it's nowhere near the PHP 5 the 2017 list knew.<\/p>\n<p class=\"translation-block\">It's the language running this blog (WordPress) and much of what gets installed on a hosting server: <a href=\"\/en\/2026\/09\/a-historia-do-glpi\/\">GLPI<\/a>, <a href=\"\/en\/2017\/01\/a-historia-do-ispconfig\/\">ISPConfig<\/a>, <a href=\"\/en\/2026\/09\/a-historia-do-postfixadmin\/\">PostfixAdmin<\/a>. In practice, a real host needs <em>multiple<\/em> versions at the same time \u2014 the walkthrough is in <a href=\"\/en\/2026\/09\/nginx-varias-versoes-php-debian-ubuntu\/\">Nginx with multiple PHP versions<\/a>. <a href=\"https:\/\/www.php.net\/\">php.net<\/a>.<\/p>\n<h2>Swift<\/h2>\n<p><img decoding=\"async\" alt=\"A andorinha do Swift num laborat\u00f3rio, com celular, tablet e um PC com Linux\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-swift-hq.webp\" \/><\/p>\n<p><em>Apple \u00b7 2014, opened in 2015 \u00b7 compiled \u00b7 where it lives on Linux: less than it could, but it genuinely works.<\/em><\/p>\n<p>Born to replace Objective-C on the iPhone, it became what the 2017 post barely foresaw: a server language running on Linux with its own toolchain and package manager. The series is 6.3 in 2026. Objective-C hasn't died in the ABI, but new Apple code is Swift.<\/p>\n<p>If you came here from the hardware side, also see <a href=\"\/en\/2026\/09\/linux-apple-silicon-thunderbolt\/\">Linux on Apple Silicon<\/a>. To install the toolchain: <a href=\"\/en\/2017\/05\/instalando-swift-no-linux\/\">Installing Swift on Linux<\/a>. <a href=\"https:\/\/www.swift.org\/\">swift.org<\/a>.<\/p>\n<h2>Perl<\/h2>\n<p><img decoding=\"async\" alt=\"O camelo e a cebola do Perl numa biblioteca de fitas, processando texto\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-perl-hq.webp\" \/><\/p>\n<p><em>Larry Wall \u00b7 1987 \u00b7 interpreted \u00b7 where it lives on Linux: in the <code data-no-translation=\"\">\/usr\/bin\/perl<\/code> that no distro dares remove.<\/em><\/p>\n<p>\u201cThere\u2019s more than one way to do it\u201d \u2014 the motto that made it equally beloved and unreadable. In 2017 it still appeared in rankings; in 2026 it left TIOBE's top 20. Perl 5 lives on; Raku (formerly Perl 6) took another path and became another language.<\/p>\n<p class=\"translation-block\">It isn't the first language someone learns in 2026 \u2014 but it's the one holding up systems nobody can turn off. <a href=\"\/en\/2026\/09\/a-historia-do-otrs\/\">OTRS<\/a>, a helpdesk running in thousands of companies for twenty-five years, is Perl from floor to ceiling. Bioinformatics, sysadmin <em>glue<\/em> and CPAN are still there. <a href=\"https:\/\/www.perl.org\/\">perl.org<\/a>.<\/p>\n<h2>Rust<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"Ferris, o caranguejo da comunidade Rust, numa oficina com a mem\u00f3ria organizada em grade e o logo da coroa de bicicleta\" src=\"\/wp-content\/uploads\/2026\/09\/linguagem-rust-hq.webp\" width=\"1020\" height=\"620\" \/><\/p>\n<p><em>Graydon Hoare, at Mozilla \u00b7 2006, 1.0 in 2015 \u00b7 compiled \u00b7 where it lives on Linux: in the kernel, in <code data-no-translation=\"\">sudo<\/code> and, since 2026, in <code data-no-translation=\"\">ls<\/code>.<\/em><\/p>\n<p>It's the most relevant newcomer since the original list, for a specific technical reason: memory safety <strong>without a garbage collector<\/strong>. The compiler collects its dues before the program runs \u2014 irritating in the first week, eliminating an entire class of bugs later.<\/p>\n<p>It has left the niche for good: the Linux kernel removed its experimental label in version 7.0 (April 2026), Ubuntu 25.10 began shipping <code data-no-translation=\"\">sudo<\/code> through sudo-rs and 26.04 LTS brought coreutils rewritten in Rust. TIOBE top 10.<\/p>\n<p>The full history, with the borrow checker explained: <a href=\"\/en\/2026\/09\/a-historia-da-linguagem-rust\/\">The history of the Rust language<\/a>. <a href=\"https:\/\/www.rust-lang.org\/\">rust-lang.org<\/a>.<\/p>\n<h2>Who else joined later<\/h2>\n<p><strong>TypeScript<\/strong>: JavaScript with types, it became the default for serious frontends and already dominates Node on servers. <strong>C++<\/strong>: never left; TIOBE ranks it 3\u00ba, and it supports game engines, browsers and much of what needs performance without Rust's discipline. <strong>Kotlin<\/strong>: today's preferred Android path, running on the same JVM as Java. The 2017 list didn't feature any of these three with this weight.<\/p>\n<h2>Who speaks what on your server<\/h2>\n<p>The quickest way to understand the map is to look at what you already have installed:<\/p>\n<table>\n<thead>\n<tr>\n<th>You use<\/th>\n<th>It's running<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>The kernel, <code data-no-translation=\"\">systemd<\/code>, <code data-no-translation=\"\">bash<\/code>, PostgreSQL, nginx<\/td>\n<td>C<\/td>\n<\/tr>\n<tr>\n<td><a href=\"\/en\/2026\/09\/a-historia-do-docker\/\">Docker<\/a>, <a href=\"\/en\/2026\/09\/a-historia-do-kubernetes\/\">Kubernetes<\/a>, Terraform, <a href=\"\/en\/2026\/09\/monitorando-servidores-linux-com-prometheus\/\">Prometheus<\/a><\/td>\n<td>Go<\/td>\n<\/tr>\n<tr>\n<td>WordPress, <a href=\"\/en\/2026\/09\/a-historia-do-glpi\/\">GLPI<\/a>, <a href=\"\/en\/2017\/01\/a-historia-do-ispconfig\/\">ISPConfig<\/a><\/td>\n<td>PHP<\/td>\n<\/tr>\n<tr>\n<td><a href=\"\/en\/2026\/09\/primeiros-passos-com-ansible\/\">Ansible<\/a>, <code data-no-translation=\"\">apt<\/code>, almost every AI tool<\/td>\n<td>Python<\/td>\n<\/tr>\n<tr>\n<td><a href=\"\/en\/2026\/09\/a-historia-do-otrs\/\">OTRS<\/a>\/Znuny, many old sysadmin scripts<\/td>\n<td>Perl<\/td>\n<\/tr>\n<tr>\n<td><a href=\"\/en\/2017\/04\/redmine-setup-debian\/\">Redmine<\/a>, GitLab<\/td>\n<td>Ruby<\/td>\n<\/tr>\n<tr>\n<td>Elasticsearch, <a href=\"\/en\/2017\/04\/instalando-tomcat-9-no-ubuntu\/\">Tomcat<\/a>, Spark<\/td>\n<td>Java<\/td>\n<\/tr>\n<tr>\n<td>The <code data-no-translation=\"\">sudo<\/code> and the <code data-no-translation=\"\">ls<\/code> from Ubuntu 26.04, new kernel drivers<\/td>\n<td>Rust<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>None of these choices was arbitrary. Each solves a problem the others handled poorly \u2014 which is why the seven remain alive.<\/p>\n<h2>Which to choose for what<\/h2>\n<p>Rankings decide nothing. The problem decides:<\/p>\n<table>\n<thead>\n<tr>\n<th>If the goal is\u2026<\/th>\n<th>Start with<\/th>\n<th>Why<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Server automation, sysadmin scripts<\/td>\n<td>Python (or shell)<\/td>\n<td>In every distro, quick to read, libraries for everything<\/td>\n<\/tr>\n<tr>\n<td>AI, data, science<\/td>\n<td>Python<\/td>\n<td>Where the whole ecosystem lives<\/td>\n<\/tr>\n<tr>\n<td>Command-line tool, agent, network service<\/td>\n<td>Go<\/td>\n<td>Single static binary, compiles in seconds, inexpensive concurrency<\/td>\n<\/tr>\n<tr>\n<td>Kernel, driver, embedded system<\/td>\n<td>C \u2014 or Rust, if the project accepts it<\/td>\n<td>Direct hardware access; Rust adds memory guarantees<\/td>\n<\/tr>\n<tr>\n<td>Website, CMS, e-commerce<\/td>\n<td>PHP<\/td>\n<td>WordPress, Laravel and the cheapest hosting on the planet<\/td>\n<\/tr>\n<tr>\n<td>Large enterprise system, Android<\/td>\n<td>Java or Kotlin<\/td>\n<td>JVM, mature tooling, job market<\/td>\n<\/tr>\n<tr>\n<td>Frontend<\/td>\n<td>TypeScript<\/td>\n<td>No real alternative in the browser<\/td>\n<\/tr>\n<tr>\n<td>iPhone app that also runs on Linux<\/td>\n<td>Swift<\/td>\n<td>Open source since 2015, with SPM working outside the Mac<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>And the most honest answer to \u201cwhich should I learn first\u201d: the one solving the problem you have now. The second language takes a fraction of the effort of the first.<\/p>\n<h2>Links<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.python.org\/\">python.org<\/a><\/li>\n<li><a href=\"https:\/\/go.dev\/\">go.dev<\/a><\/li>\n<li><a href=\"https:\/\/www.php.net\/\">php.net<\/a><\/li>\n<li><a href=\"https:\/\/www.swift.org\/\">swift.org<\/a><\/li>\n<li><a href=\"https:\/\/www.perl.org\/\">perl.org<\/a><\/li>\n<li><a href=\"https:\/\/docs.oracle.com\/en\/java\/\">Java docs<\/a><\/li>\n<li><a href=\"https:\/\/www.rust-lang.org\/\">rust-lang.org<\/a><\/li>\n<li><a href=\"https:\/\/www.tiobe.com\/tiobe-index\/\">TIOBE Index<\/a><\/li>\n<\/ul>\n<h2>Where to go next<\/h2>\n<p>The full biographies we've already published: <a href=\"\/en\/2026\/09\/a-historia-da-linguagem-go\/\">The history of the Go language<\/a> and <a href=\"\/en\/2026\/09\/a-historia-da-linguagem-rust\/\">The history of the Rust language<\/a> \u2014 the two opposing bets of the same decade, one choosing simplicity with garbage collection, the other safety without it.<\/p>\n<p>For hands-on work: <a href=\"\/en\/2017\/04\/python-do-basico-ao-profissional\/\">Python from basics to professional<\/a>, <a href=\"\/en\/2019\/12\/install-golang-linux\/\">Installing Golang on Linux<\/a>, <a href=\"\/en\/2017\/05\/instalando-swift-no-linux\/\">Swift on Linux<\/a> and <a href=\"\/en\/2026\/09\/nginx-varias-versoes-php-debian-ubuntu\/\">multiple PHP versions on the same host<\/a>. And if the goal is writing less and understanding faster, the <a href=\"\/en\/2026\/09\/assistentes-de-ia-no-terminal-linux\/\">AI assistants in the terminal<\/a> explain any snippet from these seven right where you work.<\/p>\n<p>The foundation they all run on: <a href=\"\/en\/2026\/09\/linux-35-anos\/\">Linux turns 35<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Open any Linux server and you will find five different languages running at the same time, unaware of each other. The kernel is C. docker and kubectl are Go. The help desk dashboard is PHP \u2014 or Perl, \u2026 <a title=\"The 7 main programming languages!\" class=\"read-more\" href=\"https:\/\/www.linuxpro.com.br\/en\/2017\/05\/linguagens-de-programacao\/\" aria-label=\"Read more about As 7 principais linguagens de programa\u00e7\u00e3o!\">Read more<\/a><\/p>","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,2],"tags":[47,4],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-devops","category-linux","tag-devops","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":1376,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts\/132\/revisions\/1376"}],"wp:attachment":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}