r/coding • • Mar 14 '16

Creating a custom web server (including front-end content) from 200,000 contracts to a marketplace of developers. (This system doesn't use libraries, linkers, compilers, HLLs etc...)

https://www.youtube.com/watch?v=U6jtCVOQiuA
0 Upvotes

78 comments sorted by

View all comments

Show parent comments

0

u/jlovisa Mar 14 '16

I wasn't kidding when I said "no HLLs." No code is ever 'written' in this system. It is all vendors contracting other slightly lower-level vendors. The recursion ends when thousands of foundation vendors have been contracted. These foundation vendors don't contract other vendors, they co-operate to place bytes. Collectively, these bytes become the final executable (the web server, and sorting programs above, respectively).

Here is a bird's eye view of the entire process at work.

3

u/CalvinR Mar 14 '16

So a giant network of people writing machine code?

What technology are they going to use to place these bytes?

2

u/jlovisa Mar 14 '16

Only a small fraction of the network are foundation vendors, which are the only vendors that 'touch' the code. The rest are higher level, whose job is to 'map' requirements to lower-level requirements by contracting other lower-level vendors. These vendors never 'touch' the code.

The trick is to continue mapping until no more mapping can be done (i.e. the project has been contextually decomposed to the point where it is now a matter of bytes).

All vendors are automated. (There is no 'sweat shop' of developers writing machine code.)

2

u/CalvinR Mar 14 '16

So the high level vendors are software programs that map the requirements to lower level vendors until you eventually decompose the application into small enough requirements that someone can write the code?

How do these automated vendors know when the requirements are small enough that they can go to a foundation vendor?

What technology does the foundation vendors use to place the bits that become the code.

2

u/jlovisa Mar 14 '16

All good questions.

So the high level vendors are software programs that map the requirements to lower level vendors until you eventually decompose the application into small enough requirements that someone can write the code?

Very close. There is no 'someone' to write the code. It is all automated. Your later questions allude to this.

How do these automated vendors know when the requirements are small enough that they can go to a foundation vendor?

Think of it in reverse. A foundation vendor - say 'x86-64-bit-add' - will place binary CPU instructions to add two numbers together. The entire supply-chain is built from the bottom-up, so we start with these low-level foundation vendors, and then build higher-level vendors to contract them. Then build higher-level vendors to contract those and so on. So there is no need to "know" when the requirements are small enough that they can go to a foundation vendor, the foundation vendors are just inevitably contracted as part of the process.

What technology does the foundation vendors use to place the bits that become the code.

They do this using a protocol known as 'construction-site.' Further details on how it works (still pitched at a conceptual level) can be found in our whitepaper.