Unlike distributed redundancy, subsidiarity often increases efficiency by leveraging trust, rather than reducing efficiency to eliminate the need for trust.
This is bang on, I think, and why I think anything blockchain based is doomed to fail.
ELF file thing
Problem: I had a large, monolithic C file that I had to turn into a bunch of smaller ones, basically a function per file. It would result in a few hundred C files, with lots of inlining issues. Also, it's an upstream project whose changes we have to merge in occasionally.
Solution: I built with
-fdata-sections to get each function and data object into their own ELF section. Then I wrote a utility to extract each of the sections to their own object file, complete with relocations, symbol table adjustments, and some custom magic for special purposes.
Result: It worked and passed all the existing tests. Plus, it builds the complete set of library variants in 30 seconds instead of 5+ minutes using a different preprocessor conditional approach. Woohoo!
If anyone is interested in the details, I'm going to write something up about it when I get a chance, which should be soon.
(This does not work in general. It worked here because the conditions were right for it. I'm skipping over all that here.)
Just read the first couple paragraphs of this and I think it's going to hit on my problem with the use of the word "decentralization". There's a degree aspect and type aspect. And I think the degree is the wrong way to view it.
And if you use objcopy to filter things and only keep what you want, it ignores the relocations.
I was originally going to use objcopy to extract the sections, do a little magic, then glue things together. Turns out objcopy can't extract some basic info, even if you are trying to write to binary.
Just a person in the Toronto, Canada area. Posts are eventually deleted because you don't need to remember everything.
A bunch of technomancers in the fediverse. This arcology is for all who wash up upon it's digital shore.