Nascent Google development language shows promise for more productive coding

It’s simply called “Go” but if you want to learn about the development language that’s gaining traction as way to help enterprises better deploy code in a rapidly scalable cloud environment, it’s best to search go “go lang.”

Go is an open source project developed by a team at Google and many contributors from the open source community, and distributed under a BSD-style license. Go’s native concurrency features such as goroutines and channels are well suited for network applications, so many Go projects to date are for networking, distributed functions or service such as APIs, Web servers, and minimal frameworks for Web applications.

Author and instructor William Kennedy has been teaching Go for several years and said most of his clients are larger enterprises, including GE and Cisco Systems. A common theme he’s found among all companies is that their development teams are easily able to use languages such as Python and Ruby, but are having issues when it comes to application deployment.

Deployment complications are becoming prevalent as enterprises embrace micro-services architectures and cloud computing as a means to scale up quickly, added Wade Chia, CTO at TradeRev, an online car auction service. “There’s a lot of complications that can happen in deployment,” he said. “In micro-services those complications are complex.”

The term “micro-service architecture” has sprung up over the last few years to describe a particular way of designing software applications as suites of independently deployable services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API.

As organizations are moving from legacy applications to micro-services, Chia said they are encountering challenges using Node.js to get services to talk to back-end REST API. Traditionally, he said, a great deal of faith is put into the compiler, but that’s where problems arise when you want to do scalable code in the code. “Go is just like a breath of fresh air. It feels like a cloud native development language.”

Kennedy said the goal of Go is to have a programming language that enables the developer to be as productive as possible and to minimize and simplify the amount of code they need to write to solve problems. It was designed to solve problems common to infrastructure and networking companies such as Google. “It hides as much complexity as possible, but allows a developer to have a mental model of what’s going on.”

He said the Go language is not trying to be the fastest on the planet, but many companies are seeing the productivity levels of their developers go up. “The performance is beyond what they were able to see before.” Otherwise, said Kennedy, developers have to write code in C or be well tuned as to how Java works.

That being said, he’s not saying that Go will replace other languages. “Java has proven itself very well.” It’s all about using the right tool for the right job. For example, if you’re developing an app for Apple iOS, then Swift is definitely the right approach, said Kennedy, but he “personally cringes” as the idea of Swift on the backend, and although Node.js enables a JavaScript developer to write for the backend, “it’s very difficult to maintain software integrity as projects get large.”

The day Kennedy was interviewed he had an iOS Swift developer in one his classes to learn Go for backend development, said anyone with knowledge of C and similar languages could easily pick it up, and he expects Go to become fairly prevalent in the next 12 to 18 months as many cloud platforms and container companies choose it for their backend development.

However, Kennedy doesn’t see Go moving into the desktop space, although at some point it might be suitable for iOS and Android, as well as Internet of Things applications as Google publishes more APIs.

Chia said that as a new language, Go didn’t initially see rapid adoption in the enterprise, but doesn’t see any disadvantages to using, especially as standard library support grows and it’s possible to have Go services talk to those written in Python or Java.

Google has thrown a lot of money at Go garner interest, added Kennedy, and version of Go that Google uses internally is the same one available to any developer. “It’s truly an open source project,” he said. There’s a large community support the language internally and externally.”

Would you recommend this article?

Share

Thanks for taking the time to let us know what you think of this article!
We'd love to hear your opinion about this or any other story you read in our publication.


Jim Love, Chief Content Officer, IT World Canada

Featured Download

Gary Hilson
Gary Hilson
Gary Hilson is a Toronto-based freelance writer who has written thousands of words for print and pixel in publications across North America. His areas of interest and expertise include software, enterprise and networking technology, memory systems, green energy, sustainable transportation, and research and education. His articles have been published by EE Times, SolarEnergy.Net, Network Computing, InformationWeek, Computing Canada, Computer Dealer News, Toronto Business Times and the Ottawa Citizen, among others.

Featured Articles

Cybersecurity in 2024: Priorities and challenges for Canadian organizations 

By Derek Manky As predictions for 2024 point to the continued expansion...

Survey shows generative AI is a top priority for Canadian corporate leaders.

Leaders are devoting significant budget to generative AI for 2024 Canadian corporate...

Related Tech News

Tech Jobs

Our experienced team of journalists and bloggers bring you engaging in-depth interviews, videos and content targeted to IT professionals and line-of-business executives.

Tech Companies Hiring Right Now