Ballerina is an actively used programming language created in 2015. Ballerina is a compiled, type-safe, concurrent programming language targeting microservice development and integration.It is an open source project started in 2015 by architects from WSO2 as code-based alternative to the configuration-based integration tools such as EAI, ESB, and workflow products.Ballerina has various constructs geared toward cloud-native development including support for modern data formats and protocols, reliability, distributed transactions, APIs, and event streams.. Read more on Wikipedia...

4Years Old 3,088Users 0Jobs

Example code from Linguist:

import ballerina.lang.system;

function main (string[] args) {
    system:println("Hello, World!");
}

Example code from Wikipedia:

// The simplest hello world REST API
// To run it:
// ballerina run demo.bal
// To invoke:
// curl localhost:9090/hello/hi

import ballerina/http;

service<http:Service> hello bind {port:9090} {
  hi (endpoint caller, http:Request request) {
      http:Response res;
      res.setTextPayload("Hello World!\n");
      _ = caller->respond(res);
  }
}

Last updated August 22nd, 2019