Scala Tutorial 8 – Scala while Loop and do-while Loop

6 days ago
Find code here : So what is a loop ? loops allow us to execute a statement or a block of statements multiple times. Like conditional statements, they are controlled by boolean expressions. The while Statement A while statement has the following syntax: If the condition is true, the statement is executed Then the […]

Scala Tutorial 7 – Scala – IF ELSE Statements

1 week ago
– if (condition) { statements } else { statements } -The value is the value of whichever block is chosen -If the value is to be used, both blocks should have the same type, otherwise the type of the result is the “least upper bound” of the two types – if (condition) { statements } […]

Scala Tutorial 6 – Scala String Interpolation

2 weeks ago
In Scala it’s common to inject variables in strings like this with the different types of string interpolation: Scala supports basically three kinds of String Interpolation: s String Interpolator – Prepending s to any string literal allows the usage of variables directly in the string f String Interpolator – Prepending f to any string literal […]

Scala Tutorial 5 – How to Install Scala IDE Windows 10 + First Scala Hello World Application

3 weeks ago
In this Scala Tutorial, you will learn How to Install Scala IDE on windows 10 and How to write your first Scala Hello World application by creating your first project in Scala IDE and then running it. Object is a class but it already has an instance, so you can not call new ObjectName. The […]

How to Install Scala and SBT on Ubuntu 16.04

4 weeks ago
Install Commands : JDK ——- $ sudo apt-get install openjdk-8-jdk JRE —— $ sudo apt-get install openjdk-8-jre Install Scala 2.11.8 ——————————- $ sudo wget $ sudo dpkg -i scala-2.11.8.deb $ scala -version Install SBT (Scala Build tool) ——————————————— $ echo “deb /” | sudo tee -a /etc/apt/sources.list.d/sbt.list $ sudo apt-key adv –keyserver […]

Scala Tutorial 4 – Data Types and Variables

1 month ago
Strong typing is very important in functional programming Most scripting like Ruby, Python, etc. are dynamically typed, which is supposed to be one of their advantages. Static typing makes programming much safer. But sometimes types declarations become a burden. Scala’s type inferencing mechanism minimizes the number of type declarations required. It’s not uncommon for user […]

Scala Tutorial 3 – How to Install and Setup SBT on Windows 10

1 month ago
SBT (Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java’s Maven and Ant. In this video I am going to show you How to Install and Setup SBT on Windows 10. Also i am going to show you How to execute sbt on […]

Scala Tutorial 2 – Introduction to SBT (Scala Build Tool)

1 month ago
SBT (Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java’s Maven and Ant. SBT is a modern build tool. While it is written in Scala and provides many Scala conveniences, it is a general purpose build tool. sbt is the de facto build […]

Scala Tutorial 1 – Introduction to Scala

1 month ago
– “Scala is an acronym for Scalable Language ” – Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. – Scala is written by Martin Odersky at EPFL. – Scala is Statically Typed – Scala Runs on JVM, full inter-op with Java. – Scala […]

Lightweight Relations with Michael Steindorfer @loopingoptimism

3 months ago
Graphs or many-to-many relations occur naturally in application areas such as compilers, runtimes of programming languages, or static analyses of object-oriented software. On the Java Virtual Machine, relations are not natively language-supported; rather the standard libraries of programming languages like Java, Scala and Clojure either provide implementations of multi-maps, or the map and set APIs […]

Polyglot Native: Java, Scala, Kotlin, & JVM languages w/ Christian Wimmer

3 months ago
Execution of JVM-based programs uses bytecode loading and interpretation, just-in-time compilation, and monolithic heaps. This causes JVM-based programs to start-up slowly with a high memory footprint. In recent years, different projects were developed to address these issues: ahead-of-time compilation for the JVM (JEP 295) improves on JVM startup time while Scala Native and Kotlin/Native provide […]

Technical Intro to Graal: A Multi-language VM Platform

3 months ago
Scott Lynn, Director of Product Strategy for Oracle Linux demonstrates GraalVM an open source polyglot virtualization environment, developed by Oracle Labs. With GraalVM, developers can use one programming environment for all languages, including JavaScript/Node.js, Java, Ruby, Scala, R, C/C++ and Kotlin. GraalVM can be extended to add other programming languages. By enabling developers to use […]