Ballerina Adds New Log API
Ballerina Adds New Log API
Tuesday, 11 July 2017

There's an updated version of the open source programming language Ballerina with new APIs.

Ballerina is a new open source, general purpose, concurrent and strongly typed programming language. It has both textual and graphical syntaxes, optimized for integration. The main reason Ballerina was created was to find a better way to carry out service integration work.

Ballerina lets you go further than just drawing and using sequence diagrams to describe scenarios. It was designed to make it easier for programmers and software architects to work together when working on networked services.  The language lets you have textual, visual, and swagger representations of your code. It supports XML, JSON, and DataTable as built-in data types for data handling, and makes parallel programming easier by including workers and fork-join. The underlying language is largely a mix of Java and Go, but it has a concurrency model built around a sequence diagram metaphor.


The key to Ballerina is that while programs can run as separate processes with a single entry point, they can also run as services invoked via some network protocol. That is, services are an inherent concept in Ballerina instead of just a style of writing programs.

It comes with a standard library of capabilities (network connectors for data/services/APIs, utility functions and annotations) that make it easy to write programs that integrate with a significant number of data sources, services and APIs.  It ships with support for standard network protocols including HTTP/1.1, HTTP/2, WebSockets, JMS and FTP(S)/SFTP.

Ballerina has a packaging and module system to write, share, and distribute code; there's an editor/composer where you can create your programs using a mix of drawing and coding. You then have a built-in debugger and test framework called testerina.

The latest update to Ballerina is version 0.89. It adds two new APIs; a log API for logging messages within Ballerina programs, and a Date/Time API. Other improvements include support for service intercepters, and improvements to the HTTP transport performance and connection handling.




More Information

Ballerina Site

Ballerina On GitHub

Related Articles

Choosing A Computer Language - I Programmer

Go 1.8 Goes Faster

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, FacebookGoogle+ or Linkedin.



Jupyter Receives ACM Award

The Project Jupyter team has been awarded the Association of Computing Machinery (ACM) Software System Award for developing a tool that has had a lasting influence on computing. It is the largest [ ... ]

Udacity Launches Data Scientist Nanodegree

Udacity has launched a new Data Scientist Nanodegree program. At an advanced level it has projects designed by Bertelsmann, Figure Eight, IBM Watson, Insight, Kaggle and Starbucks which map to the ski [ ... ]

More News






or email your comment to:


RSS feed of news items only
I Programmer News
Copyright © 2018 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.