wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Scala - a programming tool

profile
Sadiya Shaikh
Oct 08, 2023
1 Like
0 Discussions
120 Reads

 

What is Scala?

It is programming language developed by Martin Oderskey in 2001. It is an objected oriented programming language. Scala was developed with the influence of java hence it is very much similar to java and it also executes on Java Virtual Machine (JVM). Scala's code is first compiled by Scala compiler which creates a byte code and that byte code is transported to JVM later. But yet it differs from java as it is a scalable language that has clean, scalable and concised codes. It can handle large-scale data processing. 

 

Some Features of Scala

1) Type Inference - There is no need to mention the return type of function and data type explicitly because scala can automatically deduce the type of data.

2) Immutability - Which means you can’t change the value of variable once assigned but if you want a mutable variable you can also create mutable variable which can be changed

3) Lazy Evaluation - Scala doesn't evaluates expression when it is not required hence it increases the performance

4) Higher order function - A function can take another function as an input or argument and return an output as a function.

 

Scala in Data Science 

Scala allows you to store data in distributed manner and provides resources for parallel data processing. The language allows you to take advantage of big data processing. The most popular big data processing framework written by Scala is apache Spark. It is used as real time data streaming in apache Spark. In data analytics, the Spark Framework makes use of Scala. Apache Spark MLlib and ML are the libraries for Machine Learning tasks.

 

 


Comments ()


Sign in

Read Next

Smartsheet

Blog banner

12 Principles of Animation

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

Deadlock

Blog banner

Dudhasagar waterfall ?

Blog banner

TRIGGERS IN DATABASE

Blog banner

Smart Homes | Zigbee Alliance

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

Threads in OS

Blog banner

Big Data Architecture

Blog banner

Process, process creation and process termination

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

Operating Systems

Blog banner

Predicting Student Performance with Data Science

Blog banner

RAID - LEVELS OF RAID

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

INTERNET

Blog banner

Virtual memory

Blog banner

Install Ubuntu in Vmware

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Article on Fresh Book

Blog banner

Deadlock

Blog banner

Principal of concurrency

Blog banner

Deadlock and starvation

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

Operating system and overviews

Blog banner

Flipkart

Blog banner

Logical and physical address

Blog banner

The Sunny Side of Instagram

Blog banner

The launch of UniMap by HERE

Blog banner

Crypto tax evasion

Blog banner

Virus

Blog banner

Clustering Techniques

Blog banner

Business-to-Business

Blog banner

All you need to know about Cassandra

Blog banner

Uniprocessor Scheduling

Blog banner

Music is life

Blog banner

1.1 basic elements

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

virtual machine

Blog banner

Deadlocks

Blog banner

Linux VServer Architecture

Blog banner