76 points · by tgirotto · 10mo ago · 50 comments
Physical space itself enforces a set of laws that make any two objects "compatible", regardless of any established interoperability agreements.
However, in software, there is no such constraint. Two randomly chosen software components are, in general, less composable than a chair and a galaxy.
This is the core reason why we have only been able to achieve interoperability in very specific domains. It's not because we're bad at design or planning --- it's because the space of ideas itself is simply so overwhelmingly large that it takes time and incredible coordination to get anything like pre-built IKEA blocks which fit together naturally.
There are for example products like keycloak. OpenID/OAuth2/Token/Security IdP in a box.
Why there is not ticket system in a box? Yeah, we all know Jira and friends, but these are products not building blocks.
Another angle is: Why the hack does everyone rewrite their microservice foundation. Inbox/Outbox/Worker Queue/Throtteling/tracing/..... What happened to the application servers of the past?
I am a big supporter of that narrative. Why do I need to write more than my dedicated business logic and wire up some UI (and do not get me started on UI space).
IMHO, this can be a real differentiator for the language platforms. Ruby has parts of it, but is still far of.
Auth is a building block you can slot into your system and the shape of the hole isn't all that complex. A framework is something you need to slot your system into, and it has a lot of twists and turns so it ends up restricting how you do all the other things.
There are lots of microservice-foundation-related building blocks. E.g. I use a library somewhere that just does circuit-breaking. I slot that into my app rather than the other way around, and if I wanted to replace it, it's a fairly isolated thing. I don't use any frameworks for it though
Frameworks also tend to grow more and more complex as they evolve. If I as a user want a different auth for example, that needs to be supported by the framework. Over time, all things become pluggable and configurable, until at some point it's complex enough that someone restarts the process, or makes an opinionated spin of the framework.
I think what you are thinking about is a standard API for ticket systems, that would allow you to transparently swap them. Unlike authentication, nobody has bothered to standardize something like that because ticket systems are more varied, not as often integrated into other platforms, and even more rarely replaced.
There exist stable solutions for all of this, at least in the java world. Spring Boot and the exhaustive Spring Boot auto configurations are all about this…
> What happened to the application servers of the past?
It‘s no called kubernetes. With the caveat of it not having first class integration for any language, but second class integration for all languages.
No, it is, code writers are bad at design, testing and debuging. That's why LLMs are so popular: just throw together some code, see if it compiles.
How many (between them) incompatible GTK or QT versions are there ? Why someone has to come every few years with a new graphics library ? Is the JPEG, TIFF or PNG standard changed ? And who thinks that adding layers of abstractions solve problems ?
No, we don't. The scale of his own code contributions relative to "Postgres, Timescale and S3), a view layer (a set of Vue web apps) and a business logic layer, consisting of a set of NestJS") is negligible. The price he paid was the time it took to climb a learning curve.
What is missing is the glue, or the business logic, or maybe just the custom frontend you can charge a lot of money for ;)
Using any blogging software and stripe or square or paypal you can setup an online store that comes close to the experience that shopify offers - to the customer. But the backend is nowhere near as good as shopify - you are copy-pasting addresses over to usps or ups, tracking orders with notes attached to stripe payments, and god forbid you should want to automate any transactional emails related to it. Oh, and your system falls apart when you start taking orders via ebay or etsy - since you linked so much process to stripe. So the whole thing devolves into a carefully crafted google sheet.
Which is all to say, i agree with the author - but i feel like we are winning the war, it’s just the battlefront moved from deploying backed services to gluing the pieces together.
His dependency count is in hundreds. 90% of his code is glue code between those dependencies. Yet he thinks he is the one that created something.
Just some examples over the years
Odoo, flutter, eclipse, enterprise java beans, wpf, n8n, package manager based approaches, microsoft power apps, app builders, supabase,
Which one is ikea?
software is an abstract quantity dependent on nothing but human whim, tech progress, and popularity and cost to build, and changes year over year - you cannot build a ikea like collection or library of components when everything changes year over year like a house or sand and no one agrees on anything
Now if you could pick and choose a few things and have a CRUD app maybe -but most people have reqs that need specific workflowsand that breaks the analogy
To me, AI iteration is biggest revolution of the past few years- ai might allow fuzzy modifications to largely built stacks to work something like an ikea style approach
The market learned a long time ago that "high level" text-based languages with libraries are the sweet spot, and many other things about how they are.
People are constantly trying to crystallize higher-level ideas—build some version IKEA or lego, or whatever. It may be that one day this will work. Certainly we see consolidation around strategies as time goes on. But so far, higher-level systems cannot adapt to enough use cases while also adopting to changes in technology and absorbing innovations.
The type of IKEA the author speaks about is Web2.0 software. I was around when we invented all that, and it wasn't that long ago.
Now we're already living through another radical change that software will adapt to—agentic software. If we all used IKEA software, much of it would be thrown out the window in the transition, and we'd lose the value accrued in those systems.
Instead, systems that have been adapting for decades are adapting like they always have. Python, the language of engineering just adds libraries. C/C++/Rust, the anti-IKEA, have new uses. GPU stuff is repurposed for ends never imagined. Nobody uses JQuery anymore.
It's a brutal state of affairs, really. Werner Herzog says it best: https://www.youtube.com/watch?v=pF5xBtaL3YI
As I get more personal projects under my belt, I believe I'll be able to stand up projects more and more quickly, although it's never perfect. Even though I've been using a similar stack among my side projects for a couple of years now, dependencies get outdated. Sometimes you gotta jump to a new major version. Sometimes you wanna try out the "new way".
I like the idea of building up my own personal stack of tooling, frameworks, and patterns that I use, and could even encourage the use of at $dayjob, but for the reasons outlined above, I agree with the conclusion of the article, which is that an "IKEA of software" doesn't exist currently.
For now I'll keep happily tinkering in my side projects. This article was a good read.
In another view, standard libraries do a pretty good job.
Like the author says - fleet-tracking system, a bus-ticketing platform or IoT platform share some basically similar requirements. And this is what those SAP types offer - standardised templated versions of workflows.
But slowly, as they get more and more standardised, they start feeling like calcified systems that the end users start hating. Because they are now forced to work as per the templates.
And then the need for customization. And move beyond IKEA-like standardization.
But I see the allure of the idea.
Let’s not ignore, SAP, Salesforce and dozens of other “you can run your company on that” software suites that have exactly what author proposes.
Oh yeah but you want that only don’t want to pay….
But has any efforts made it far that is universally plug and play? Open source projects had come close. Now those OS projects used by AI coding assistants come close. But no so much plug and play. I think I know why it wasn't happened, and may be can happen.
But I think the idea of abstractions in software engineering, which has guided OOP and even the classes today, is because it was somehow pioneered and may be natural to us to think of the systems that way. Abstractions change from person to person and from teams to teams. Two fleet system components for the same purpose built by two different team will internally behave differently. So universal plug and play for same flows might not work as we think it should be.
Even a low code/no code components, which has a high reusability among completely different projects by different people may introduce overhead that will not work for a said system? because their abstraction of the system isn't the one same as the component was designed? They end up reusing the abstractions of how the system should be around what is already there.
Whats happening now with AI coding assistants, would be the reusability of components software as it should be in this engineering world. It reuses the approaches from any OS project, we can even alternate between the approaches and we get the best out of it (if you know what you're doing) from the different choices and also via our own abstractions of how software should be.
I think we are there, antifragile way of software reusability. We should embrace the choas. A universal metaphorical plug and play for software engineering.
Java beans, from the same era, were envisioned to allow the creation of LEGO blocks with which you could build an application. They expected there would be market places where you could buy and sell Beans that did all sorts of things, from pure data representation to Swing UI components like charts and dashboards. I think OSGi built on that idea.
The problem was people thought OSGi was too complex, hard to learn, hard to debug and so on. I believe that was a problem with the execution, not the idea.
Now that I consider it, perhaps emacs is another example of this concept. You have access to use and modify nearly everything with small code snippets. It even has a UI system though that’s a bit outdated and really just text based ! People are trying to create similar systems using more modern technology but it’s very hard to do it well.
Perhaps yet another example is Smalltalk. Have a look at the Glamorous Toolkit (GTK) and its support for UIs that live inside the programming environment itself.
From that perspective, the idea of microservices is basically "IKEA for software" relying on (primarily) HTTP as the interface between components. But this doesn't really solve it entirely, or very elegantly, because you still need to write the server boilerplate and deploy it, which will be different depending on the programming language being used. Also, your app may require different protocols, so you'll be relying on different standards for different component interactions, therefore the interface is not constant across your entire application.
I believe there's one way we can achieve this reliably, which is via WebAssembly, specifically via the WASM component model [1].
But we need an ecosystem of components, and building an ecosystem that everyone uses and contributes to will likely be the challenging part. I'm actually working on this right now, the platform I've been building (asterai.io) started out as an agent building platform (using WASM components for tool calls) but is evolving into being mostly a registry and (open source) lightweight runtime for WASM components.
The idea of using WASM to solve for this is very simple in concept. Think about a tool like Docker, but instead of images you have an "environment" which is a file that defines a set of WASM components and ENV vars. That's basically it, you can then run that environment which will run all components that are executable. Components can call each other dynamically, so a component can act as a library as well, or it may be only a library and not an executable. A component can also only define an interface (which other components can implement), rather than contain any implementation code.
This architecture solves the main challenges that stop "IKEA for software" from being a reality: 1. You can write WASM components in any programming language. 2. You can add components to your environment/app with a single click, and interfacing is standardised via WIT [2]. 3. Deploying it is the same process for any component or app.
Of course, it still would require significant WASM adoption to become a reality. But I think WASM is the best bet for this.
[1]: https://component-model.bytecodealliance.org [2]: https://component-model.bytecodealliance.org/design/wit.html
It was a good data processing tool in earlier versions. I always liked its splash screen picture of v4: a file cabinet of the size of an office building. It was a very good metaphor. But even then there always were rather hard and strange limitations of what you can do and the main skill you developed was to invent a disgustingly clever way to overcome them.
(Example: sometimes people want to sort entries in a pop-up menu in a custom way, but there is no built-in capability to do that: the entries are always sorted alphabetically. So one of "solutions" is that: you give each entry a prefix that consists of zero-width spaces. First entry gets one space, second two spaces, and so on. As a result when they are sorted, they are sorted by that prefix, but since the prefix is invisible, the user only sees the entries themselves. If you are careful and lucky and the users aren't too inventive these spaces won't contaminate the data, although generally contaminated data is the normal state of most data in FileMaker.)
(the box where "bespoke javascript" goes could obviously use some work in this picture)
"top-to-bottom" needs a better name that doesn't omit the "reverence for the artisans" (aka supply chain nous) that's in IKEA's DNA
https://archive.ph/2020.05.30-154951/https://hbr.org/2013/09...
(We can argue that Toyota or IKEA are both losing out to China in other threads)
This could motivate an algebraic-theological def for Love:
"The Creator cannot be decoupled from His [Software (sorry*)] Creations"
*As in Lean4 syntax, perhaps
https://proofassistants.stackexchange.com/questions/4541/lea...
Back in the 80's with OOP starting to take off, it was IC for Software, then Components (famously successful during the 90's on Windows world), now it is IKEA.
Yii (PHP) had a code generator that created all the CRUD logic for you. After generation, you could remove the code that you didn't need.