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

The contracting 'tree' is pyramid in shape. That is where the similarities end. Each vendor serves a purpose. Each vendor is contracted to add more detail to the overall design of the program. Finally, foundation level vendors are contracted, whose job is to place bytes (binary CPU instructions), which are concatenated to become the final executable.

5

u/CalvinR Mar 14 '16

So how does the code get written?

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.)

7

u/BezierPatch Mar 14 '16

Oh, and now your product actually makes sense. Yeah, you really need to redo your marketing...

It's not decomposed into bytes, but into functional units.

Your don't have vendors, you have nodes that decompose unto smaller units.

When all your units are decomposed to an atomic level, it reassembles. He'll, it's just dynamic programming in a way.

3

u/jlovisa Mar 14 '16

You've used the words 'unit' and 'atomic.' We use 'vendor' and 'foundation.'

5

u/BezierPatch Mar 14 '16

Oh, wait, Indian? Ah, that explains the communication issue. Put it this way, vendor, foundation, bytes sound like buzzwords in American/British English.

They're empty business words.

3

u/jlovisa Mar 14 '16

A vendor gets paid for each contract it completes. A vendor is not a unit in the final program, it provides a service that contributes to creating the final program.

All new paradigms come with new terms.

→ More replies (0)

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.