typelevel / typelevel/cats-effect

Experiment with Loom

Open
#1,057 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:microscope: experiment
Dominant language
Scala
Stars
2.2k
Forks
576
Avg merge
2d 11h
Merged PRs (30d)
18

Description

I'm not really sure how feasible it is to run Scala on the Loom Early Access JDK builds, but we should start thinking about what IO would look like in that world. Some questions I'm interested in:

  1. How necessary is Async going to be?
  2. How will Loom virtual threads interact with different forms of tracing? i.e. stack tracing, thread tracing, fiber dumps
  3. Will a Fiber correspond to a Loom virtual thread?
  4. Will we need to support both native platform threads and virtual threads? i.e. should IO work seamlessly across different kinds of schedulers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by examining how cats-effect's IO, Async, Fiber, tracing, and schedulers relate to Scala on Loom Early Access JDK builds. A useful outcome would be a documented feasibility assessment addressing virtual versus platform threads and the four questions in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.