Skip to content

Celluloid

Ruby framework for asynchronous, multithreaded programs built on actors

Permissive (OSI) · MIT
  • Linux

Listed by , founder & editor

24

Health

Dormant

Overview

Stars

3,865

Last commit

4 years ago

Jan 2023

Repository age

15 years

since Mar 2011

Latest version

–

Contributors

–

Releases

0

last 12 months

Language

Ruby

Celluloid is a Ruby library for writing concurrent programs with object-oriented ideas. You build actors, which are Ruby objects that run in their own threads and talk through messages, instead of managing threads and locks by hand. It is MIT licensed.

A family of related projects extends it: Celluloid::IO for evented IO, Celluloid::ZMQ for 0MQ, DCell for distributing actors over 0MQ, plus DNS and SMTP servers and the Reel web server. Documentation lives in a wiki and in YARD API docs, and there is a Gitter chat and a Google Group.

The code dates to 2011. A revival effort during Google Summer of Code aimed to refactor the codebase toward a stable release without deprecation warnings. The last commit was in January 2023 and there have been no recent releases, so treat it as dormant.

It is a developer library, not an end-user application. It is useful if you maintain existing Ruby code that already depends on it.

Who it's for

Ruby developers maintaining actor-based code

Existing projects built on Celluloid and its companion gems keep working against a familiar API.

Skip if: You are starting a new project and need an actively maintained concurrency library.

Developers studying the actor model in Ruby

The documentation and related projects show actors, evented IO and distribution in Ruby.

Skip if: You want a current, maintained reference rather than a historical one.

The problem it solves

Writing threaded Ruby by hand means dealing with locks, shared state and race conditions. Celluloid wraps objects as actors so concurrency follows the object model you already use.

Strengths

  • Actor model with each object running concurrently in Ruby
  • Companion gems for evented IO, 0MQ, DNS and SMTP
  • Permissive MIT license
  • Wiki and YARD API documentation

Trade-offs

  • Dormant: last commit in January 2023 and no releases in the past year
  • Revival refactor was announced but the stable release is not out
  • Ruby only, and aimed at developers rather than end users

Frequently asked questions

Is it free?

Yes. It is distributed under the MIT License.

Is it actively maintained?

Not currently. The last commit was in January 2023 and it has had no releases in the past year.

What language does it use?

Ruby. It is a library you add to Ruby programs.

Where is the documentation?

There is a project wiki and YARD API documentation, and a Gitter chat for discussion.

Similar tools in Media players

MediaInfo

Media players

Command-line and GUI tool that shows technical and tag data for video and audio files

2.1k 202 yesterday Active BSD-2-Clause

Kazumi

Media players

Cross-platform anime streaming app driven by user-written XPath rules, with danmaku

44k 1.5k today Thriving GPL-3.0

Simple Live

Media players

Flutter app for watching live streams from Huya, Douyu, Bilibili and Douyin

16k 3.2k 10 months ago Dormant GPL-3.0

cloudstream

Media players

Extension-based Android media player for phones and TV with Chromecast

11k 1.2k 2 days ago Active GPL-3.0

Jellyfin Desktop

Media players

Desktop client for Jellyfin servers with mpv playback and audio passthrough

6.1k 599 3 days ago Active GPL-2.0

wiliwili

Media players

Third-party Bilibili client built for gamepads, handhelds and desktop PCs

5.7k 300 7 months ago Dormant GPL-3.0