frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Reversible Computation as a software construction paradigm

2•Nivdc•8h ago
Reversible Computation: (Possibly) the Next-Generation Theory of Software Construction

Hi everyone,

I’m from China, and recently I came across an interesting idea called Reversible Computation.

I’d like to share it with the community and see what you think.

I did a quick search on Hacker News and found that this term has been discussed before, but mostly in the context of physics.

The reversible computation I’m talking about here does originate from physics as well,

but it applies the idea to a very different domain: software engineering.

Let’s start with something familiar.

We all know that the best programmers (a.k.a. hackers) can design a clean, minimal abstraction. Let’s call that system P.

Then, less capable programmers (like me) come along and extend it with additional features. Let’s call my contribution Code.

So the result looks like this:

    App = P + Code
This process feels completely natural, doesn’t it?

Now, if we accept this forward process as natural, isn’t it also natural to imagine that a reverse process might exist?

Suppose we are faced with a huge, ugly, monolithic system W.

Shouldn’t there exist some form of inverse transformation that can refine it into a cleaner, simpler system L?

Something like:

    W + inverse Δ = L
You may not have seen something like this in everyday programming practice,

but mathematically, this kind of formulation is perfectly valid.

Let me switch perspectives and explain the idea in a more practical setting.

Imagine your company has developed a large, useful system.

One day, a customer comes along who wants something very similar—but not exactly the same.

Naturally, your company’s requirements and the customer’s requirements won’t line up perfectly.

What’s the traditional approach?

You extract the common parts into a smaller core system, and then maintain two diverging codebases derived from that core.

Under reversible computation, however, this step is not necessary.

Instead, you can focus entirely on maintaining your primary system, and write delta code that compensates for incompatibilities.

Let:

    X be your system
    Y be the system required by the customer
    Δ be the difference between them
Note that Δ includes both:

    features the customer wants to *add*, and
    features the customer implicitly wants to *remove* (i.e. things they simply don’t need).
This can be expressed as:

    Y = X + Δ
The key points are:

    1. X is never broken apart or refactored into pieces
    2. Differences are “attached”, not “torn out”
Here’s an example from the official documentation that contrasts different paradigms:

    Object-Oriented:        The inequality    A > B
    Component-Based:        Addition          A = B + C
    Reversible Computation: Delta composition Y = X + ΔY
What’s interesting here is that reversible computation can be seen as an extension of the compositional paradigm.

It introduces a surprisingly powerful subtractive primitive.

Traditional component reuse is based on the idea that only identical things can be reused.

Reversible Computation flips that idea into: “related things can be reused.”

As long as two systems can be expressed as X and X + Δ, they can share X with zero modification.

Interestingly enough, I think we’ve already encountered this idea before—in JavaScript’s prototype-based inheritance.

Reversible Computation simply pushes this intuition further, extending it from object models to entire software projects.

At the moment, I can’t yet see a clear practical revolution coming directly from this theory.

But the way it reframes how we think about software evolution is genuinely thought-provoking.

After all, the idea that you might write code specifically to remove behavior is kind of fascinating.

Comments

Nivdc•8h ago
The author of this theory is currently building a low-code platform based on reversible computation (and some of its extensions), called Nop Platform.

Its official slogan is:

    App = Delta x-extends Generator<DSL>
The extended theory gets fairly complex, and I don’t fully understand all of it myself.

If you’re curious, the documentation goes much deeper.

I haven’t found any academic papers on this yet—perhaps none exist. And, the Nop Platform is under the Apache-2.0 license.

So if you decide to share or reference this idea elsewhere, please make sure to credit the author and their ongoing work.

Heroes deserve proper recognition.

Official introduction:

https://gitee.com/canonical-entropy/nop-entropy/blob/master/...

Repositories:

    Gitee:  https://gitee.com/canonical-entropy/nop-entropy
    GitHub: https://github.com/entropy-cloud/nop-entropy

Show HN: A mini paged-KV and prefix-cache scheduler (learning inference engine)

https://github.com/tyfeng1997/tailor
1•bofeng1997•51s ago•0 comments

AI Skills Marketplace: A New Digital Economy?

https://vibeandscribe.xyz/posts/2026-01-11-skills-marketplace.html
1•ryanthedev•1m ago•0 comments

The Largest Protest in Human History: The Baltic Way

https://en.wikipedia.org/wiki/Baltic_Way
1•ViktorRay•1m ago•0 comments

Writing a Work Log

https://fredrikmeyer.net/2026/01/11/work-log.html
1•FredrikMeyer•2m ago•0 comments

One Thousand Words

https://drewmayo.com/1000-words/
1•pabs3•3m ago•0 comments

Happy 50th Birthday KIM-1

https://github.com/netzherpes/KIM1-Demo
1•JKCalhoun•4m ago•0 comments

Why Silicon Valley Tech Wunderkinds Will Only Ever Have 1 Good Business Idea

https://www.forbes.com/sites/ericjackson/2012/06/18/why-silicon-valley-tech-wunderkinds-overestim...
1•maxilevi•5m ago•0 comments

Show HN Split expenses website. No sign-ups. No apps

2•JaimeAlonsoHN•6m ago•0 comments

A global 'coalition of decency' could tackle X over sexualised images

https://observer.co.uk/news/national/article/uk-considers-ban-on-x-as-anger-over-sexualised-ai-im...
1•amarcheschi•6m ago•0 comments

Budgie 10.10

https://buddiesofbudgie.org/blog/budgie-10-10-released
1•pentagrama•7m ago•0 comments

Dangerous and alarming: Google removes AI summaries after users' health at risk

https://www.theguardian.com/technology/2026/jan/11/google-ai-overviews-health-guardian-investigation
2•throwaway5465•9m ago•0 comments

West of Eden

https://gist.github.com/avkcode/1ad9718d5f17fae7e7fc345e3bddc6f2
1•KyleVlaros•10m ago•0 comments

The Most Satisfying Workflow: Real-Time Infographics with Qwen and DeepDiagramAI

1•twwch•11m ago•0 comments

Exploring pq, a plain-text database connector for plan9

https://mccd.space/posts/pq/
1•4diii•15m ago•0 comments

Beginning of the end for 'enshittification' – our chance to make tech good again

https://www.theguardian.com/commentisfree/2026/jan/10/trump-beginning-of-end-enshittification-mak...
1•pseudolus•15m ago•0 comments

Hongdown: An opinionated Markdown formatter in Rust

https://github.com/dahlia/hongdown
1•birdculture•17m ago•0 comments

Can an economy remain stable while becoming inefficient?

1•latentframe•17m ago•0 comments

Effortless animations with CSS view transitions

https://giacomocavalieri.me/writing/effortless-animations-with-css-view-transitions
3•mpweiher•21m ago•0 comments

We Used Opus 4.5 to Re-Architect Multi-Tenancy in 2.5 Weeks and Save Six-Figures

https://enragedcamel.dev/2026/01/11/how-opus-4-5-saved-us-100k-worth-of-dev-work/
2•enraged_camel•26m ago•0 comments

Show HN: Terminal UI for GCP

https://github.com/yogirk/tgcp
2•yogirk1•27m ago•0 comments

Show HN: Is AI hijacking your intent? A formal control algorithm to measure it

6•daikikadowaki•27m ago•6 comments

Show HN: Open-source library to unify Polymarket and Kalshi APIs

https://github.com/qoery-com/pmxt
1•SamTinnerholm•27m ago•0 comments

OpenTelemetry Is Broken

https://mosheshaham.substack.com/p/opentelemetry-is-broken
2•puppion•28m ago•0 comments

Towards a Disaggregated Agent Filesystem on Object Storage

https://penberg.org/blog/disaggregated-agentfs.html
1•avinassh•28m ago•0 comments

Split expenses website. No sign-ups. No apps

https://splitcostonline.com/
2•JaimeNonica•31m ago•0 comments

Wcurl: A simple wrapper around curl to easily download files

https://github.com/curl/wcurl
1•tosh•31m ago•0 comments

Uutils/coreutils: Cross-platform Rust rewrite of the GNU coreutils

https://github.com/uutils/coreutils
3•tosh•37m ago•0 comments

US Commerce Department drops plan to impose restrictions on Chinese-made drones

https://www.reuters.com/world/china/us-commerce-department-drops-plan-impose-restrictions-chinese...
2•rguiscard•37m ago•0 comments

INSPEC: An IR smart camera that detects REM sleep from video in real time

https://www.inspec.me
1•MichaelCoder•37m ago•0 comments

Show HN: Reinforcement learning tic-tac-toe in C, annotated

https://github.com/andportnoy/rl-tic-tac-toe
2•aportnoy•38m ago•0 comments