Skip to content

spagnuolocarmine/FLY-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resources
Gitter chat Join the chat at https://gitter.im/isislab-unisa/fly-language
Building status Build Status

FLY a Domain Specific Language for scientific computing on the Multi Cloud

FLY is a parallel work-flow scripting imperative language inspired by functional languages peculiarities. FLY uses two type of run-time environment: the local machine and/or cloud infrastructure. FLY perceives a cloud computing infrastructure as a parallel computing architecture on which it is possible to execute some parts of its execution flow in parallel.

FLY main goals are:

  • expressiveness, in deploying scientific large-scale computing work-flows;
  • programming usability, writing .fly program should be straightforward for domain experts, while the interaction with the cloud environment should be completely transparent; the users do not need to know the cloud providers APIs;
  • scalability either on symmetric multiprocessing (SMP) architectures or cloud computing infrastructures supporting FaaS.

FLY is compiled in native code (Java code) and it is able to automatically exploits the computing resources available that better fit its computation requirements. The innovative aspect of FLY is constituted by the concept of FLY function. A FLY function can be seen as an independent block of code, that can be executed concurrently.

Faas Cloud Computing Infrastructure Supported Under development Future development
Amazon AWS ✔️
Microsoft Azure ✔️
LocalStack ✔️
Google Function ✔️
IBM Bluemix/Apache OpenWhisk ✔️

Supported Languages:

Faas Cloud Computing Infrastructure Python Javascript
Amazon AWS ✔️ ✔️
Microsoft Azure ✔️ ✔️
LocalStack ✔️ ✔️

Requirements

  • Ubuntu or OSX OS
  • Java 8 (or greater)
  • Apache Maven 3 (or greater)
  • Amazon AWS CLI and SDK
  • Python 3
  • Node.js 8.10

Fly project maven archetype

Download the fly-project-quickstart.zip

Unpack the fly-project-quickstart.zip:

unzip fly-project-quickstart.zip

Go to the subfolder local-repo inside the fly-project-quickstart and install the azureclient dependency:

cd fly-project-quickstart/src/main/resources/archetype-resources/local-repo/

mvn install:install-file -Dfile=./azureclient-0.0.1-SNAPSHOT.jar -DgroupId=isislab -DartifactId=azureclient -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar

Go to to the top of folder fly-project-quickstart and install the maven archetype:

cd fly-project-quickstart/
mvn install
mvn archetype:crawl

Standalone FLY compiler

Download the fly_standalone.zip:

Unzip the :

unzip fly_standalone.zip

Compile and run a .fly program :

cd <path-to-compiler> 

./fly-cc <name-example>.fly

The Standalone compiler are tested on several platform:

Platform / Architecture x86 x86_64
Windows (7, 8, 10, ...) x x
Ubuntu (18.04 or later)
OSX (10.12 Sierra or later)

List of Publications:

  • Towards a Domain-Specific Language for Scientific Computing on Multicloud Systems, 1st International Workshop on Parallel Programming Models in High- Performance Cloud (ParaMo 2019).

License

Copyright ISISLab, 2019 Università degli Studi di Salerno.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.