Ballerina Improves Cloud Native Support
Written by Kay Ewbank   
Monday, 14 June 2021

A new "Swan Lake" beta release of Ballerina has been released that the developers say radically simplifies how developers build and deploy cloud-native applications through an intuitive syntax for developing services and APIs, seamless JSON support, and built-in concurrency control.

Ballerina is an open source programming language and platform that the developers say provides cloud native middleware as a programming language. Ballerina has been developed by open-source technology provider WSO2. Rather than treating a network as an I/O source, Ballerina includes client objects, services, resource functions, and listeners as part of the language.

ballerina

The new "Swan Lake" version adds a number of features designed to help when creating cloud-native applications. The improvements start with a redesign of the syntax for developing APIs and services, including procedure call (RPC) and RESTful style services and seamless support for JSON.

Ballerina also now includes client and service objects that can be configured to use multiple different protocols, using either an RPC-based interface type or a RESTful interface type such as HTTP or GraphQL.

Concurrency control has also been improved. Earlier versions of Ballerina already offered good concurrency support, but it now automatically works out when it is safe to run the concurrent components in an application parallel with the concurrency control features added in Swan Lake.

Data handling is another area to have received attention. Earlier versions of Ballerina had a query feature with a SQL-like syntax included as part of the language, and could be used to carry out type-safe and declarative transformation of JSON, XML, and tabular data. This feature has been enhanced to support ordering and joins, and the table type has been redesigned to work with other structural types. .

The final improvement of note is the ability to automatically create deployments for Kubernetes and Docker to make it easier to deploy Ballerina code to the cloud.

ballerina

 

More Information

Ballerina Home Page

Related Articles

Ballerina Improves IDE

Ballerina Adds New Log API

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


GR00T Could Be The Robot You Have Always Wanted
27/03/2024

We may not have flying cars, but we could well soon have robots that match up to predictions for the 21st century. Nvidia has announced GR00T, a cleverly named project to build robots using foundation [ ... ]



Can C++ Be As Safe As Rust?
10/04/2024

Herb Sutter is a well known and respected C++ champion and he thinks that the language only needs a few tweaks to make it as safe as Rust. Can this be true?


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info