Ballerina is an actively used programming language created in 2015.

4Years Old 1,025Users 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);
  }
}
Edit

Last updated February 11th, 2019