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


Spider Courtship Decoded by Machine Learning
07/04/2024

Using machine learning to filter out unwanted sounds and to isolate the signals made by three species of wolf spider has not only contributed to an understanding of arachnid courtship behavior, b [ ... ]



JetBrains Celebrates Software Developers
26/04/2024

JetBrains has launched a campaign celebrating software developers worldwide. The campaign is run on behalf of JetBrains IDEs, the company's range of integrated development environment products.


More News

raspberry pi books

 

Comments




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