Great article about very interesting questions : )
13
1

Arnaud Masson

Adam Warski

Adam Warski

·

Follow

1 min read
·
Feb 4, 2020

--

Yes, or even better, using some abstraction that allows you to run two computations in parallel and get their results, while also properly handling errors/exceptions and interruption/cancellation. See also the notes on structured concurrency, which are about such situations.

--

--

Adam Warski

Written by Adam Warski

2.3K Followers

Software engineer, Functional Programming and Scala enthusiast, SoftwareMill co-founder

More from Adam Warski

Adam Warski

Adam Warski

in

SoftwareMill Tech Blog

Starting with Scala 3 macros: a short tutorial

Writing a simple “debug” macro step-by-step using Scala 3 / Dotty metaprogramming.

9 min read·May 4, 2020

--

Adam Warski

Adam Warski

in

SoftwareMill Tech Blog

Cancelling HTTP requests on the JVM

The article discusses the issues with abandoned HTTP calls and offers an overview of how JVM HTTP clients enable their cancellation.

8 min read·Mar 6

--

Adam Warski

Adam Warski

in

SoftwareMill Tech Blog

Will Project Loom obliterate Java Futures?

Project Loom has three main goals: introducing continuations, fibers, and tail-call elimination.

19 min read·Jan 28, 2020

--

Adam Warski

Adam Warski

in

SoftwareMill Tech Blog

Small & fast Docker images using GraalVM’s native-image

How to reduce the size of the docker images and decrease the time it takes the application to run.

7 min read·May 30, 2019

--

See all from Adam Warski

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech