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


Insights From AI Index 2024 Report
17/04/2024

Published this week, the latest Stanford HAI AI Index report tracks worldwide trends in AI. A mix of its new research and findings from many other sources, it provides a wide ranging look at how  [ ... ]



The Experience AI Challenge
28/03/2024

The Raspberry Pi Foundation in collaboration with Google DeepMind has announced the Experience AI Challenge. Its intention is to guide young people under the age of 18, and their mentors, through [ ... ]


More News

raspberry pi books

 

Comments




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