Search Results for: Type system

How to migrate Scala 2.13 project to Scala 3?

Reading Time: 9 minutes Are you a Scala developer looking to migrate your existing Scala 2.13 projects to the latest version of the language? If so, you’ll be happy to know that Scala 3 is now available and comes with a range of new features and improvements. With its streamlined syntax, improved performance, and better compatibility with Java 8 and above, Scala 3 offers a host of benefits for Continue Reading

Type Inference : An helpful feature of Scala

Reading Time: 4 minutes Scala comes with very interesting features. One such feature is Type Inference. Type Inference is a very powerful feature of Scala as it helps the developer to develop fast and efficiently. The Scala compiler can often automatically infer the type of an expression (everything in Scala is an expression). This helps the developer write the code without worrying about mentioning the types which are often known Continue Reading

Exploring the Exciting New Features of Scala 3

Reading Time: 4 minutes Introduction Scala 3 is a major revision of the Scala programming language which has many new features. Technically, Scala is a statically-typed object-oriented language that combines functional and object-oriented programming paradigms. In Scala 3, many new features and improvements have been added. It features a revamped type system that is more consistent and predictable. This change allows for new features such as union types, and Continue Reading

Type Parameterization and Type System: Introduction

Reading Time: 3 minutes Scala is a static type language, which means types are checked at compile time instead of runtime. Type System provides safety during the compile time because we are detecting the error beforehand as these can be a potential error at runtime. Type parameterization also called as generics combined with Scala’s type system. We can write generic code so that we can reuse that code. Suppose, Continue Reading

essential scala

Reading Time: < 1 minute Academy, Audit & Consulting Essential Scala Scala is a powerful functional programming language for building solid systems and Prerequisities One year of experience with any object-oriented or finctional programming language What you will learn As an introduction to programming in Scala, we’ll review the basic of: The Scala REPL SBT Scala programs and common patterns Algebraic data types Generics The Scala Standard Library Types: Classes, Continue Reading

How Scala met Dotty?

Reading Time: 2 minutes It all began in 2012 when the first commit for Scala 3 was made and it was decided to base Scala 3 on DOT. What is DOT? Before we go further into the story, let’s get to know about DOT. DOT, an abbreviation for Dependent Object Types, is a new type-theoretic calculus which models path-dependent types, abstract type members, and it creates a mixture of Continue Reading

Scala 3 Survey: The Conclusion

Reading Time: 3 minutes Scala 3 community build is here, and we are too excited about it. At Knoldus, we are actively exploring Scala 3, and we have been enjoying it a lot. Therefore, we thought why not to get a community perspective about the new and exciting features of Scala 3. We reached out to the community with a survey in December 2020, which we ran for a Continue Reading

Advanced Types in Rust are quite helpful

Reading Time: 3 minutes In this blog, we will discuss the advanced types available in Rust. Creating Type Synonyms with Type Aliases Rust provides the ability to declare a type alias to give an existing type another name. For this, we use the type keyword. For example, we can create the alias Kilometers to i32 like so:  Values that have the type Kilometers will be treated the same as values of type i32: Because Kilometers and i32 are the same type, we can add Continue Reading

Understanding schema in GraphQL

Reading Time: 3 minutes GraphQL schema is the centre of any GraphQL server. It allow clients to know about which operations can be performed by the server.

How to develop Event Driven Application using ZIO Actors

Reading Time: 5 minutes What is ZIO : ZIO is a cutting-edge framework for creating cloud-native JVM applications. ZIO enables developers to construct best-practice applications that are extremely scalable, tested, robust, resilient, resource-safe, efficient, and observable thanks to its user-friendly yet strong functional core. Difference between Akka and ZIO : Akka and ZIO are both the libraries in Scala for building concurrent, scalable, and fault-tolerant applications. Akka is a Continue Reading


Reading Time: 3 minutes Since the beginning of Block-Chain, it has become a hype in the field of technology. In November 2008. A Block-chain is an innovative technology which has emphasised the networking marketing very fast. What is BlockChain ? Blockchain technology is a series of data blocks that are cryptographically chained together. Each block contains a cryptographic hash of previous block and the timestamp (when the block created) Continue Reading

IRON, Framework on which you can rely while working on RUST

Reading Time: 3 minutes Hello Readers! Rust’s Iron framework is a high level web framework which is built in and built for Rust. It is basically built on hyper. It is designed to take advantage of Rust’s greatest features – it’s excellent type system and principled approach to ownership in both single threaded and multi threaded contexts. Rust’s Iron is highly concurrent and can scale horizontally on more machines behind Continue Reading

GraphQL | A query language for your API.

Reading Time: 4 minutes In this blog, we are going to learn about how we can use GraphQL to make APIs fast, flexible, and developer-friendly. What is GraphQL It is a query language for APIs and a runtime for fulfilling those queries with your existing data. It provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need Continue Reading