Microservices

Ballerina Programming Language

Ballerina is a statically typed, open-source cloud-native programming language developed and supported by WSO2.

With Ballerina, you could easily develop microservices, API endpoints and integrations, and any other application for the cloud.

With Ballerina’s compiler-level built-in support for widely used data types such as JSON and XML, your focus on handling structured data, network service interactions, and dealing with concurrency is made much more effective.

The current implementation of Ballerina runs on top of the JVM. Ballerina programming language, including the compiler, libraries and all the tooling is completely free and open source and available on github.

Why choose the Ballerina programming language?

  • Flexible type system
    The type system is the foundation for describing data and applying reasoning in a computer language. It enables you to create abstractions from the answers you supply. While some languages provide basic functionality, others aim to offer in-built capabilities for specific domains. The network-distributed programming domain has expanded as more cloud services become available. Because the developer is now responsible for working with networked resources in their code, the programming language must assist in this process.
  • concurrency.
  • Error Handling.
  • OpenSource
  • Supports declarative processing of JSON, XML, and tabular data with language-integrated queries.
  • Cloud Native-Network primitives in the language make it simpler to write services and run them in the cloud.
  • Reliable and maintainable.
  • It has both object-oriented and functional programming capabilities.
  • Ballerina runs on top of Java Virtual Machine(JVM) so it is totally interoperable with Java.

Installing Ballerina

This software can be downloaded from the below link: https://ballerina.io/downloads/

or

Can be Installed as VS Code extension

Sample Code Snippet

import ballerina/io;

public function main() {
    io:println("Hello World!");
}

Save the above code in hello_world.bal and go to command prompt and run following command.

bal run hello_world.bal

Loading

2 thoughts on “Ballerina Programming Language

  • Hey, Ithik yourr blog mivht bee havijg browser
    compatibility issues. When I look at your blog inn Opera, itt looks fine buut when openng in Internet Explorer, itt hass skme overlapping.
    I just waanted tto giv yyou a quick hesads up! Other thewn that, awesome blog!

    • vasu34k

      Thanks for the update.

Comments are closed.

Translate ยป