DEV Community

Cover image for Top 5 languages to explore in 2022
Karan Pratap Singh
Karan Pratap Singh

Posted on

Top 5 languages to explore in 2022

In this article, we'll look at some of the languages that might be great to explore in 2022 based on factors such as their communities and growing job opportunities.

We won't be discussing the usual languages such as Python, JavaScript, Java etc. to make things interesting.


#5 - Swift

Swift is a compiled language created by Apple in 2014 and open sourced in 2015.

It has quickly surpassed objective C and is the best choice for developing applications for iOS, macOS, watchOS, and other apple products.

However, It was designed to be a general-purpose language that is easier to write and more concise. So, it is not only limited to Apple products.

#4 - Kotlin

Kotlin is an open source, statistically-typed programming language created by JetBrains in 2011. You may know them from their fantastic IDE's such as IntelliJ and PyCharm.

It is officially supported by Google and is 100% Interoperable with Java, which makes switching from Java to Kotlin a smoother experience for Android app developers.

I will say that Kotlin is very similar to Swift in terms of its ideas and goals. So, you cannot go wrong with either.

#3 - Rust

So Rust, is a multi-paradigm, general-purpose programming language designed by Mozilla for performance and memory safety.

The Rust compiler is built on top of LLVM and has a really efficient data ownership model which guarantees memory safety by using a borrow checker to validate references.

It is largely viewed as an alternative to other systems programming languages, like C or C++.

Mozilla says that it's a "language for the next 40 years" and I think they might be right.

Lastly, I'd say that It's a fantastic language but it comes with a steep learning curve since it has lots of features.

#2 - TypeScript

So, I'm sure TypeScript needs no introduction but...let's do it anyways.

TypeScript is an open source programming language developed by Microsoft.

It is often referred to as a superset of javascript which brings strict typing and many other important features.

Since its release in 2012, the language has remained in active development and continues to gain in popularity every year.

I've been working with TypeScript professionally for the last few years and it has made my life much easier. Based on my experience, if you're working with lots of javascript then TypeScript can offer significant benefits to your projects.

#1 - Go

And finally, at number 1 we have Go, sometimes also known as Golang

Go is a statically typed, compiled language designed at Google and it is also open source.

It has a really powerful standard library that offers amazing flexibility and strong CSP-style concurrency support.

While Go is considered a minimalist language, it still scales gracefully and reliably.

Apart from Google, Go is also used by companies such as American Express, Netflix, Capital One, and many more.

Personally, I think it's a really productive language and I highly recommend it.


If you haven't tried any of these languages, this might be a great time to do so!

Discussion (4)

Collapse
mucorolle profile image
Muco Rolle Tresor • Edited on

Hey Karan, I've considered to learn Go in many times but many think it is not goint to be productive on the web as Jascript(Nodejs) or PHP.

I'm a big fan of opinionated frameworks like Laravel or AdonisJS, do you think that someone coming from Nodejs will find Go productive especially building web systems ?

Collapse
karanpratapsingh profile image
Karan Pratap Singh Author

While I agree that Go is not for frontend web, and no where near what JS or PHP do for frontend web, it is amazing and much better for backend web services imo, it is more opinionated than JS/TS, strongly typed, easy to read and I find it very productive. It also has very strong concurrency support.

But at the end of the day every technology has it's pros and cons. I think someone from nodejs/typescript world will really like Go. For example, I recently switched from TS to Go for backend stuff but TS/JS still irreplaceable on frontend.

Collapse
mucorolle profile image
Muco Rolle Tresor

Thanks for your response,

Yeah I was mainly talking about Go on the backend what tools would you recommend for building a REST API in Go

Thread Thread
karanpratapsingh profile image
Karan Pratap Singh Author

You can try something like this go.dev/doc/tutorial/web-service-gin which uses Go + Gin framework