# kilim/kilim

Lightweight threads for Java, with message passing, nio, http and scheduling support.

Repository: https://github.com/kilim/kilim
Canonical: https://ross.abutalabs.com/products/kilim
Language: Java
License: MIT
License Family: permissive
Last push: 2022-03-25T23:47:44+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5990, "days_push": 1622, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1782, forks 343 (observed 2026-08-28T04:05:35.711922+00:00)

## What it is
Kilim is a Java library providing lightweight threads (fibers/continuations) via bytecode weaving, enabling millions of concurrent tasks with cooperative multitasking. It includes an actor model with mailboxes (channels), generators, NIO, HTTP, and scheduling support.

## Use cases
- run millions of lightweight concurrent tasks on the JVM
- actor-based message passing in Java
- avoid callback hell in async Java code
- build a high-throughput async web server
- cooperative multitasking without OS threads
- generators and coroutines in Java

## When to choose
- you need massive concurrency (millions of tasks) in Java
- you prefer synchronous-style code over futures/callbacks
- you want an actor/mailbox model on the JVM

## When to avoid
- you're on modern Java versions beyond 13
- you can't tolerate bytecode weaving in your build or runtime
- you need structured concurrency or virtual threads (Project Loom) instead

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, message-queue, http-server, scheduling, middleware
- domain: developer-tools, backend, microservices
- platform: jvm, cross-platform
- tags: fibers, coroutines, actors, bytecode-weaving, continuations, mailboxes, nio, real-time

## Member repositories
- kilim/kilim (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.711922+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:24:22.148414+00:00, confidence not recorded.
  - readme: https://github.com/kilim/kilim (fetched 2026-08-28T04:05:35.711922+00:00, sha f4807524cdb9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
