News for hackers. Stuff that matters.
Re:You Want Modules, Not Microservices by esailija on Wednesday January 04, 2023 @04:53AM (#34243837)
Module is not just code in a separate file. Litmus test: if you cannot have two modules be written in separate languages - you don't have modules. M

If all modules have to be deployed using the same build even though different build of the modules would have been API compatible - you don't have modules.

Re:You Want Modules, Not Microservices by int_19h on Thursday January 05, 2023 @05:03PM (#34267499)
That sounds way too strict to me. A C++ app might use the C++ ABI to communicate with its modules, which would preclude writing them in any other language without jumping through too many hoops. But that's an ABI constraint and says nothing about the actual modularity of the application.

IMO a module is defined as something that has a self-contained API, and versioning rules for that API if the module is evolving.