How do we ensure that the DevOps we adopt is successful? Are there certain languages that are well suited for DevOps? Today, we’ll take a look at which of the many programming languages are best suited for DevOps (in no particular order). 1. JavaScript Many popular frameworks and libraries are written in JavaScript, such as Angular, React, and Node. Not only does the language provide server-side implementations, but the large community means there is always help on GitHub or Stack Overflow. JavaScript is a safe choice for developers. Even though JavaScript is a bit complex for DevOps (all those libraries and dependencies), it doesn’t mean they can’t work well together. 2. Go Golang. Google's open source programming language, more or less built for the joy of DevOps. Go is built for speed, but it emphasizes lean, network-efficient operations, which is important for DevOps. It's more concise than Java, and is built on C, which is somewhat free of any drawbacks. Docker, the king of containers, is written in Go. Why are all kinds of DevOps tools written in Go? Because it can be easily compiled into independent, static binary files for all major operating systems. No libraries, no dependencies, and nothing else. 3. Python Python is becoming one of the most popular languages. GitHub recently ranked it as the second most popular programming language. Stack Overflow called it the fastest growing major programming language, and Python is even considered the best language for machine learning. So, what can Python do for DevOps? Python can reduce maintenance issues through monitoring and deployment tools such as Ansible and Salt. Options like OpenStack provide developers with resources to create private and public cloud infrastructure.
4. C/C++ While C may be older, it is still inextricably linked to computing in many ways. C/C++ are the foundation of much modern computing, and if you need to directly manipulate the hardware itself, there is no better language than C. However, C/C++ faces a very large obstacle in DevOps: its size. C/C++ is definitely one or two orders of magnitude larger than languages like Go or Ruby. C/C++ takes longer to compile, and there are binary issues. Since C/C++ is compiled to native machine code, the size issue leads to its application binary interface problem. 5. Ruby Ruby may have passed its heyday, but it's still a practical language to learn. Many popular automation tools are written in Ruby, notably Chef. Ruby is an object-oriented, compiled, and full-featured programming language. If you know Python or Perl, the syntax will be familiar to you. It should be noted that Ruby is not as popular as it used to be. Other languages have extracted useful features from Ruby and implemented them in their own syntax. However, many projects on GitHub are still written in Ruby, including the popular Ruby on Rails. +1 Rust Don't ignore Rust, it could very well be the next big infrastructure language. Many Ruby enthusiasts are turning to Rust, in part because of the very detailed tutorials at Ruby for Ruby. In DevOps, Rust is taking on more and more responsibilities in system automation, container management, and container orchestration. It is even used in conjunction with Docker on some projects. Oracle's first container program was written in Rust. Obviously, Rust may be a technology to focus on in 2018. |
<<: Chrome 64 beta released: goodbye pop-ups and illegal redirects
>>: Tech Neo November Issue: Container Platform Management Practices
There will be heavy to torrential rain in norther...
[[436923]] Recently, there has been news that per...
Judging whether a website relies on inflating tra...
Combining his own practical development experienc...
I once naively thought Search for resources onlin...
We often hear about cases of hit activities and p...
Source: People's Daily If you have questions ...
Course Description: The course comes from Chen Da...
Many people have this question. The explanation i...
The butterfly-shaped thyroid gland is called the ...
Recently, the news that #36-year-old singer Fu So...
This is the most unfamiliar scenery in Sichuan, a...
The opening rate and reading volume of WeChat pub...
Data Brother teaches Qianchuan practical online a...