Ballerina Swan Lake Released
Written by Kay Ewbank   
Tuesday, 15 February 2022

The latest version of the Ballerina language has been released. The "Swan Lake" version aims to make it simpler to build and deploy cloud-native applications.

Ballerina is an open source programming language and platform that is described as data-oriented rather than object-oriented. The developers say it 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.


The updated version of Ballerina, Swan Lake, adds what the developers say are "substantial language features and platform tools to produce programs that handle network interactions, data, and concurrency straightforwardly."

Ballerina services have been redesigned to better support data-oriented protocols, such as HTTP and GraphQL, and RPC-style protocols, such as gRPC, and services have become service objects that work uniformly with client objects.

A revised table type has been introduced along with a significantly enhanced integrated query language for iterable structures.

The Ballerina Visual Studio Code extension has also been improved, with a new "low-code editing experience" in the new VS Code plugin, making it possible to edit Ballerina programs graphically and textually.

Library modules that support RESTful-style network protocols have been improved with resource methods, and modules that support RPC-style protocols improved with remote methods.

New in this release is a feature called Code to Cloud, which the team says is designed to allow developers to write code without thinking about the deployment platform. The aim is that this will simplify the experience of developing and deploying Ballerina code in the cloud by building the containers and required artifacts by deriving the required values from the code. This initial release can generate the deployment artifacts of Docker and Kubernetes, with support for other container platforms planned for the future. Ballerina Swan Lake  is available now.



More Information

Ballerina Home Page

Related Articles

Ballerina Swan Lake Beta 2 Released

Ballerina Improves Cloud Native Support

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.


Interact With Virtual Historic Computers

Alan Turing's ACE computer is a legendary computer that is particularly special for I Programmer - our account of it was the first ever history article on the site when it launched in 2009. Now this i [ ... ]

Grafana 11 Improves Metrics

Grafana Labs, creators of the Grafana open-source metrics analytics and visualization suite, has announced the preview release of Grafana 11 with improvements to make it easier to view metrics, and ch [ ... ]

More News

raspberry pi books



or email your comment to:

Last Updated ( Tuesday, 15 February 2022 )