CodeCarvings
AboutContact
CodeCarvings Logo
CodeCarvings Logo
CodeCarvings Logo

Welcome to CodeCarvings.com

A little corner of the Internet carved out by Sergio Turolla

Hello World

My name is Sergio Turolla, and I'm a full stack web developer with over 25 years of experience.

I'm currently working on my most ambitious project: R-Machine. It started out as an i18n library, until I reached a conclusion: i18n and dependency injection are two sides of the same coin. I redesigned it from scratch, with DI as its backbone.

What came out of that is a vision: everything an application's code depends on — a localized string, a service, a slice of state — should have a stable name, like a table in a database, while the implementation behind it stays free to change.

The project

R-Machine

R-Machine is a TypeScript library that reduces the cost and the risk of change — in the code and in the tests — for React and Next.js projects.

A codebase is a dynamic entity: it evolves refactor after refactor, sprint after sprint, LLM iteration after LLM iteration. A useful question when evaluating an architecture is not only "can it do X?" but "how many files must change when X evolves?" — production code, tests, mocks, fixtures. Every file you touch is a cost, but also a risk: the more code changes, the more likely something breaks.

R-Machine unifies in a single model what today requires separate libraries for state management, i18n, dependency injection, and testing. The result is not the sum of four separate benefits: it's a new property, one I call "uniformity under change". You feel it at every scale: LLM iterations guided by the TypeScript compiler as an oracle, complex refactorings with a contained blast radius, fewer false greens in your tests.

Curious how this changes LLM-aided and agile development? Ask your favorite LLM, starting here.

Stay in the loop

Get notified about new articles, projects, and insights. No spam, unsubscribe anytime.

By subscribing, you agree to the
Privacy Policy.

CodeCarvings

A little corner of the Internet carved out by Sergio Turolla. Sharing digital experiences and exploring new solutions in the world of software development.

Powered by R-MachineR-Machine

Explore

HomeAboutContact

Social

GitHubLinkedInX

Copyright © 2026 Sergio Turolla.

Privacy PolicyCookies