GithubHelp home page GithubHelp logo

chapel-examples's Introduction

Chapel

Chapel is a modern programming language that is...

  • parallel: contains first-class concepts for concurrent and parallel computation
  • productive: designed with programmability and performance in mind
  • portable: runs on laptops, clusters, the cloud, and HPC systems
  • scalable: supports locality-oriented features for distributed memory systems
  • open-source: hosted on GitHub, permissively licensed

As I got to know the language more, I found it much simpler and familiar language. It is very much similiar to the python/C++ programming languages and people who already learnt or in process of learning should try this language out.

Compilaton

All programs are compiled by the following command- chpl -o array array.chpl

Note-

Installation of chapel and setting the path from the terminal is required for compilation of chapel programs.

Examples

  • 2Darray - Implementation of 2D array and nested for loop is displayed in the example. Also by this example, we can understand multi-array mechanism in Chapel.
  • array - Implementation of array and simple for loop can be seen here.
  • Basic maths operations Implementation of basic mathematical operations like sum, difference, product and division is present in this example.
  • classes - Implementation of classes to find fibonacci series
  • dataTypes - Different primitive data types are implemented in this example.
  • nestedIfElse - Implementation of nested If-Else can be seen in this example.
  • procedures - Procedures/function can be seen in this example, also how a main procedure/function can also be seen in the example.
  • select - Implementation of "select case"/"switch case"

chapel-examples's People

Contributors

ayushpradhan9 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.