Show HN: Carton – Real Boundaries for Ruby
Category: library
Tags: ruby, modularity, dependency-isolation, ruby-box, boundaries
Score: 6.8/10 (Innovation: 8, Technical: 7, Documentation: 7, Utility: 5)
Carton introduces runtime-enforced module boundaries in Ruby using the experimental Ruby::Box feature, allowing per-Carton gem versions, isolated monkey patches, and explicit exports. It addresses real pain points in large Ruby apps where global constants and open classes cause cross-contamination, offering an in-process alternative to service extraction.
Target audience: Ruby backend developers, especially those maintaining large monolithic applications
Repository: https://carton.dtcristo.com/ · Ruby · MIT · 1 stars
View on Hacker News