Modern Systems Programming with Scala Native: Write Lean, High-Performance Code without the JVM, 1st Edition

Modern Systems Programming with Scala Native: Write Lean, High-Performance Code without the JVM, 1st Edition

AUTHOR: Richard Whaling

PUBLISHER: Pragmatic Bookshel

PAGES: 230

ISBN-10: 1680506226; ISBN-13: 978-1680506228

Access the power of bare-metal systems programming with Scala Native, an ahead-of-time Scala compiler. Without the baggage of legacy frameworks and virtual machines, Scala Native lets you re-imagine how your programs interact with your operating system. Compile Scala code down to native machine instructions; seamlessly invoke operating system APIs for low-level networking and IO; control pointers, arrays, and other memory management techniques for extreme performance; and enjoy instant start-up times. Skip the JVM and improve your code performance by getting close to the metal.

Developers generally build systems on top of the work of those who came before, accumulating layer upon layer of abstraction. Scala Native provides a rare opportunity to remove layers. Without the JVM, Scala Native uses POSIX and ANSI C APIs to build concise, expressive programs that run unusually close to bare metal. Scala Native compiles Scala code down to native machine instructions instead of JVM bytecode. It starts up fast, without the sluggish warm-up phase that's common for just-in-time compilers. Scala Native programs can seamlessly invoke operating system APIs for low-level networking and IO. And Scala Native lets you control pointers, arrays, and other memory layout types for extreme performance.

Write practical, bare-metal code with Scala Native, step by step. Understand the foundations of systems programming, including pointers, arrays, strings, and memory management. Use the UNIX socket API to write network client and server programs without the sort of frameworks higher-level languages rely on. Put all the pieces together to design and implement a modern, asynchronous microservice-style HTTP framework from scratch.

Take advantage of Scala Native's clean, modern syntax to write lean, high-performance code without the JVM.

What You Need:
A modern Windows, Mac OS, or Linux system capable of running Docker. All code examples in the book are designed to run on a portable Docker-based build environment that runs anywhere. If you don't have Docker yet, see the Appendix for instructions on how to get it.

About the Author
Richard is a data engineering consultant at Spantree Technology Group in Chicago, where he designs large data pipelines using Scala-based technologies like Spark and Akka. He's made open-source contributions to Scala Native and Apache Kafka, and he blogs and speaks frequently about Scala and other functional programming topics.

Book Category

Android Developer / Asp.Net / Asp.Net MVC / Blockchain / C# / C++ / Computer Science / Database / Game Developer / Java / JavaScript / jQuery / Linux / Maven / MS Sql / MySQL / Networking / Oracle / PHP / Python / Spring / VB.Net / Visual Studio / Web Developer

HRMS & Payroll Web Application

Procurement Management System (PMS)

The company must have an efficient procurement management process flow in place to oversight the cash flow expenses. Embracing digital solutions that offer automation procurement life cycles that simplify processes for improved operations. Moving toward automation is one of the best decisions for the purchasing department in a long-term business and increased productivity. read more »

Labor Cost Project Charging

This module is to keep track of detailed labor costs to input the daily workhour of moving workers from different projects assigned by the team leader or project engineer on their performing works. To get accurate project charging must be done every payroll pay period after the payroll process approved by the payroll head. The hourly rate charging is the employee gross-income divided by a total hour’s worked in pay period timesheet. read more »

BIR Relief Importation Data Entry

HRMS & Payroll Online System adopted this module to simplify the process to comply the BIR requirement in regards of Relief Importation to generate .DAT file format in monthly basis. The receipt of importation is required to attach in data entry for storage in easy retrieval of document receipt. read more »

BIR Relief Sales Data Entry

HRMS & Payroll Online System adopted this module to simplify the process to comply the BIR requirement in regards of Relief Sales to generate .DAT file format in monthly basis. The receipt of sales is required to attach in data entry for storage in easy retrieval of document receipt. read more »

BIR Relief Purchases Data Entry

HRMS & Payroll Online System adopted this module to simplify the process to comply the BIR requirement in regards of Relief Purchases to generate .DAT file format in monthly basis. The receipt of purchases is required to attach in data entry for storage in easy retrieval of document receipt. read more »