New alternatives for mainstream server-side programming

Aug 30, 2018 by Cristian

According to w3techs.com, in August 2018 the usage of server-side programming languages for websites was dominated by PHP with 83.5%, followed by ASP.NET with 13.1% and Java with 2.2%. The same statistics show that PHP kept growing for the past 3 years, while ASP.NET and Java had a downsizing trend.

However, over the past decade new technologies have emerged, such as Ruby & the Ruby on Rails framework and Node.js, and although their popularity is still moderate, their ascend seems promising. Ruby is used by 0.6% of websites, while Node.js powers 0.3% of them. So let's see what these technologies have to offer to a web developer. We'll also look at three more up and coming programming languages, namely Go, Scala, and Rust.

 

Ruby & Ruby on Rails

Ruby was released in 1995 by the Japanese Yukihiro "Matz" Matsumoto as a general-purpose programming language. It was designed to support more than one programming paradigm, including object-oriented, functional and imperative. The vision of Matsumoto was to create a programming language that would make the experience of writing code enjoyable (many agree that he achieved his goal), while also increasing developers’ productivity. Thanks to it being closer to a naturally spoken language, Ruby quickly became the first language of choice for many beginner developers.

Ruby on Rails appeared in 2005 as an open-source full-stack web application framework, which boosted Ruby's popularity, and since then it has been used by companies such as Twitter, Amazon, Airbnb, Cisco, and EA. Developed by David Heinemeier Hansson, Ruby on Rails employs useful software engineering patterns: convention over configuration, active record pattern, model-view-controller, and don’t repeat yourself.

Some of the advantages of Ruby on Rails are:

  • higher development speed (thanks to a modular design);
  • multi-platform support;
  • changes are easier to be performed after the website is launched.

My opinion is that web developers will find writing code in Ruby as “precious” as a gem :)

 

Node.js

Node.js was created by Ryan Dahl, and resulted from his desire to have a programming language that can create websites with push capabilities (the publisher initiates the request for a given transaction). Node.js is written in JavaScript and C++, which means that web developers who are familiar with JavaScript will find themselves at home.

It has a vibrant open-source community that constantly produces new modules that add increased capabilities to Node.js applications. This is also fueled by the fact that you only need to know the JavaScript language to produce front-end as well as back-end code.

Some of the great advantages of Node.js are:

  • performance - it does not create a thread for each incoming connection, but instead will allocate a small heap of memory;
  • the fact that it is event-oriented;
  • it has a single-threaded non-blocking approach for requests.

Node.js should not be seen as a new platform which is here to replace other platforms, but rather as a platform that fills some particular needs, especially one that solves the I/O scaling problems, and it is best used in server-side web applications, chat applications, queued inputs, and data streaming.

Node.js is used by companies such as LinkedIn, Microsoft, Yahoo!, and Walmart. Microsoft also integrated a Node.js tool into its Visual Studio IDE, recognizing the place that Node.js has amongst web developers.

 

Go

Go (also known as Golang) is a programming language designed by Robert Griesemer, Rob Pike, and Ken Thompson at Google. It is a statically typed, compiled language, with garbage collection, memory safety, concurrency, and structural typing. Its source code is free and open source – anybody can contribute to the language by making proposals for new features and fixing bugs.

The primary reason for designing Golang was to solve software engineering issues at Google. Its authors also mention that Go was actually developed as an alternative to C++. Being a systems programming language, Go is best used for things such as distributed systems (due to concurrency support), microservices, and cloud systems (web servers, caches).

Some of the advantages of the Go language are:

  • simplified C-like syntax that is easy to read and write;
  • goroutines – a lightweight thread managed by the Go runtime;
  • it compiles quickly, thanks to regular grammar and supporting modules properly.

Go is used by Google for many projects, as well as by other companies such as Netflix, Twitch.tv, Uber, and Dropbox.

 

Scala

Scala is a general-purpose programming language designed by Martin Odersky and released publicly in early 2004. An object-oriented programming language, Scala also provides support for functional programming and is designed to be concise. 

Many of Odersky’s design decisions aimed to address various criticisms of Java. Scala is designed to express common programming patterns in a concise, elegant, and type-safe way. It has a flexible syntax and type system that enable the construction of advanced libraries and new domain specific languages.

Some of the advantages of Scala are:

  • immutable values that make it perfect for working with concurrency;
  • type inference, which allows developers to focus on the code itself, rather than on updating type annotations;
  • solid parallelism and concurrency mechanisms.

Scala is used by companies such as Twitter, Foursquare, Coursera, SoundCloud, and Duolingo. Some notable online news publications also use Scala: The Guardian, The New York Times, and The Huffington Post.

 

Rust

Rust was originally designed by Graydon Hoare and first appeared in 2010, while the first stable version was released in 2015. Sponsored by Mozilla, it boasts a feature set that has an emphasis on safety, control of memory layout, and concurrency. Its syntax is similar to C and C++, with blocks of code delimited by curly brackets.

Some of the advantages of Rust are:

  • catching errors during compile time (since it’s statically typed);
  • built-in support for concurrency;
  • the fact that it compiles to machine code, allowing for extra efficiency.

In regards to web development, there are many approaches to creating web apps in Rust: you can compile Rust code to client-side JavaScript, or write a RESTful API, or even build an isomorphic web app.

Although it has a difficult syntax and a steep learning curve, Rust has been ranked as the most liked language by developers for three years running in StackOverflow surveys.

 

In many areas of software programming, new technologies are replacing the outdated ones, but in web development this is not the case, because new technologies are providing new ways for solving various issues. Web developers should not be overwhelmed by the number of programming languages and frameworks available out there, but instead they should choose the proper technology depending on their needs.


Tags: Go  Node.js  Ruby  Ruby on Rails  Rust  Scala 


Comments


akhil commented on 10/25/2018 5:17:58 AM

Reading this article was an experience. I enjoyed all the information you provided and appreciated the work you did in getting it written. You really did a lot of research.
     

black jacket commented on 10/27/2018 11:16:09 AM

Great reading experience !!!
     

william commented on 11/16/2018 4:59:40 AM


Reading this article was an experience. I enjoyed all the information you provided and appreciated the work you did in getting it written. You really did a lot of research.

     

Joe Johnson commented on 12/7/2018 11:09:17 AM

For the first time, I visit here. I feel this is a great platform for me. I felt this is very comfortable for me. The author could select an interesting topic to write. I could read many of your blogs. Every article is truly interesting and helpful for every reader. I would like to say thanks to the author for sharing such an interesting post here. For more, you can visit https://buyessays.us/
     

Verma commented on 12/14/2018 9:47:16 AM

Great and an informative article!
     

Free SEO Tools commented on 1/2/2019 9:12:02 PM

Every email you send should have your signature with the link to your web site or weblog. That usually brings in some visitors.

     

Robert commented on 2/1/2019 11:29:20 AM

Best article Cristian you have really done your homework for this article i really glad that some blog do have a good potential for giving knowledge, In bloging community you guys are really rare to find.Please keep up the good work.
     

MHR Writer commented on 2/5/2019 8:19:28 AM

This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you.
     

Hire Mongodb developer commented on 2/11/2019 10:39:49 AM

Great reading experience !!!
     

Accountants Tunbridge Wells commented on 3/14/2019 10:01:51 PM

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!
     

Tele brand Pakistan commented on 3/15/2019 1:18:46 PM

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
     

Accountants Hove commented on 3/16/2019 1:06:09 PM

I think this is a standout amongst the most critical data for me. What"s more, i"m happy perusing your article. Be that as it may, ought to comment on some broad things
     

Galerie commented on 3/21/2019 4:12:09 PM

I have express a few of the articles on your website now, and I really like your style of blogging. I added it to my favorite’s blog site list and will be checking back soon…
     

bihar board commented on 3/23/2019 1:07:51 PM

The Bihar School Education Board (BSEB) is the body responsible for conducting the board exam and declaration of the Bihar Board 10th Results 2019. The BSEB will declare the Bihar Board Class 10 2019 result by the last week of June tentatively.
     

karnataka sslc result commented on 3/26/2019 8:33:58 AM

KSEEB Result 2019 which is very important examinations for the students who are studying the class 10 in the Karnataka
     

Online Istikhara commented on 3/26/2019 10:56:34 PM

I see some amazingly important and kept up to length of your strength searching for in your on the site
     

consolidate payday loan commented on 3/28/2019 12:20:03 AM

As a seller of legal steroids, you can buy Crazy Bulk products, explore stacks and finally get the body you’ve always wanted
     

Derma Roller in Pakistan commented on 3/30/2019 1:51:43 AM

Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
     

Online Quran tutor commented on 4/1/2019 5:29:41 PM

This was incredibly an exquisite implementation of your ideas
     

Accountants Crawley commented on 4/2/2019 10:57:40 PM

i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me.
     

Accountants East Grinstead commented on 4/4/2019 9:22:04 PM

Nice knowledge gaining article. This post is really the best on this valuable topic.
     

Thesis Writing Servic commented on 4/7/2019 12:42:17 AM

I must admit that your post is really interesting. I have spent a lot of my spare time reading your content. Thank you a lot!
     

Accountants Brighton commented on 4/7/2019 1:00:10 PM

This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it,
     

elebrand commented on 4/8/2019 12:58:18 AM

Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign !
     

Zonnepanelen commented on 4/9/2019 1:59:14 AM

Very educating story, saved your site for hopes to read more!
     

Webdesign commented on 4/9/2019 10:17:06 AM

I have express a few of the articles on your website now, and I really like your style of blogging. I added it to my favorite’s blog site list and will be checking back soon…
     

Accountants Haywards Heath commented on 4/9/2019 7:41:08 PM

Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post .
     

Chapewerken commented on 4/10/2019 12:56:56 AM

I think I have never seen such blogs ever before that has complete things with all details which I want. So kindly update this ever for us.
     

Accountants Hove commented on 4/12/2019 2:29:58 AM

Great tips and very easy to understand. This will definitely be very useful for me when I get a chance to start my blog.
     

santaclausgreeting commented on 4/13/2019 7:43:26 AM

Yet the crew made it back to the harbor at Bari, where the townsfolk and clergy processed, singing joyous hymns, to greet the saint.
     

fast cd duplication commented on 4/13/2019 1:00:22 PM

Very nice blog and articles. I am realy very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post.
     

Accountants Forest Row commented on 4/13/2019 2:14:20 PM

I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you!
     

manmohini commented on 4/14/2019 11:08:35 AM

I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.
     

santaclausgreeting commented on 4/15/2019 8:42:04 AM

Yet the crew made it back to the harbor at Bari, where the townsfolk and clergy processed, singing joyous hymns, to greet the saint.
     

consolidate my payday loans commented on 4/15/2019 12:40:34 PM

I love the way you write and share your niche! Very interesting and different! Keep it coming!
     

Accountants Horley commented on 4/16/2019 4:15:48 AM

This post is very simple to read and appreciate without leaving any details out. Great work!
     

Dedicatedhosting commented on 4/16/2019 10:09:03 AM

Great post I love these kinds of the article where you can get tons of knowledge with little bit example keep writing like this and many people go for your content.

<a href="https://www.dedicatedhosting4u.com/">Cheapest dedicated</a>
     

option tips commented on 4/18/2019 11:09:06 AM

With so many books and articles coming up to give gateway to make-money-online field and confusing reader even more on the actual way of earning money,
     

ivory research commented on 4/20/2019 10:49:05 AM

With so many books and articles coming up to give gateway to make-money-online field and confusing reader even more on the actual way of earning money,
     

Samehadaku Boruto commented on 4/21/2019 12:14:12 PM

I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject.
     

sgx nifty commented on 4/22/2019 8:11:06 AM

Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.
     

Tax Accountants commented on 4/22/2019 6:49:56 PM

It should be noted that whilst ordering papers for sale at paper writing service, you can get unkind attitude. In case you feel that the bureau is trying to cheat you, don't buy term paper from it.
     

this link commented on 4/24/2019 10:45:17 AM

I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post.
     

ukessays commented on 4/24/2019 1:36:01 PM

I see some amazingly important and kept up to length of your strength searching for in your on the site

     

Tax Advisors commented on 4/24/2019 6:17:07 PM

Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
     

Townhouses for sale marbella commented on 4/25/2019 5:01:01 AM

Top Floor Apartment Marbella, Costa del Sol.
     

voyance par telephone commented on 4/27/2019 12:48:27 PM

I would like to say that this blog really convinced me to do it! Thanks, very good post.
     

best essay writing websites commented on 4/27/2019 5:48:11 PM

Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.
     

Sea Freight Services commented on 4/27/2019 6:12:32 PM

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
     

voyance par telephone commented on 4/28/2019 10:16:52 PM

I would also motivate just about every person to save this web page for any favorite assistance to assist posted the appearance.
     

forskolin for sale commented on 4/29/2019 12:44:29 PM

Belly fat is the most harmful fat in your body, linked to many diseases. Here are 6 simple ways to lose belly fat that are supported by science.
     

iPhone Repair Dubai commented on 5/1/2019 11:34:09 AM

Really impressive post. I read it whole and going to share it with my social circules. I enjoyed your article and planning to rewrite it on my own blog.
     

Bons Plans commented on 5/1/2019 11:52:15 AM

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.
     

Tyres Shop in Dubai commented on 5/2/2019 11:01:49 AM

Thanks for the informative and helpful post, obviously in your blog everything is good..
     

Free ebooks download commented on 5/6/2019 11:56:36 AM

Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks
     

Andrologist for Varicocele Problem commented on 5/8/2019 7:19:08 PM

I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject.
     

dream market url commented on 5/9/2019 4:33:01 PM

this is really nice to read..informative post is very good to read..thanks a lot!
     

Health List commented on 5/12/2019 11:27:07 AM

I'm happy to see the considerable subtle element here!.
     

Museum commented on 5/15/2019 8:58:36 AM

This is the best source to find the best Art
     

Designer Brands Sale in UAE commented on 5/15/2019 10:19:05 AM

Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks
     

giving app commented on 5/18/2019 7:05:04 PM

I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job !
     

Your Comment:






Blog Home   SBP Home
RSS Feed       Contact




Archives




 Blog Archives  |  Terms of Use  |  Privacy Policy
© 2019 SBP Romania. All rights reserved.