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

4

u/[deleted] Mar 14 '16

Seems interesting, but I'd like to see some examples of the various levels of "vendors". Also, how would the system choose between competing vendors, when they may have various trade-offs in respect to cost/processor efficiency/memory efficiency/etc.?

4

u/jlovisa Mar 14 '16

Excellent. You're thinking in the right space, and thinking the right kinds of thoughts.

What those examples above don't show is the 'selection' of vendors. The UI you're seeing is one iteration prior to the UI that developers will use when this technology is released. When a developer is laying out the expression of their vendor (and even when they are testing that vendor by contracting it and other vendors), they will have the ability to select different vendors from the same classification. For example, many vendors will compete to provide the 'fetch-each-byte-in-bytesequence' design-contribution, and it is up to the prospective client which vendor wins their contract. Each vendor will have metrics displayed in the Valley (the global repository that advertises all vendors available for contracting) which include; number of contracts successfully carried out, price, and code/data footprint. A smaller footprint is indicative of a superior vendor.

edit: A foundation vendor, if the developer was really good, could 'return' 0 bytes in some cases, the smallest footprint of all.

1

u/[deleted] Mar 14 '16

Ok, so when developer is designing a vendor, their interaction with the marketplace is limited to selecting which vendors they use directly (and submitting their own vendor when done, of course). They don't get to mix&match with the underlying vendors? (i.e. Lets say I like a specific webserver vendor someone made, but not the https encryption vendor they decided to use. I can't take that webserver and swap out the https encryption for a different one myself, since I don't own the webserver vendor?)

4

u/jlovisa Mar 14 '16 edited Mar 14 '16

Yes, you are correct. You inherit all the features, complexity and expertise of your suppliers.

If the 'webserver' vendor has degrees-of-freedom that do not give you the freedom to select the type of encryption (or even to dictate whether SSL is used), then you are left with two choices; to contract it anyway, or to go to one of its competitors, which may have degrees-of-freedom that allow for a client to specify the type of encryption. If that competitor doesn't exist, then you also have the option to create a 'void' which represents demand without supply. Any other developers scouring the Valley for business may see that void and jump on it, and create the 'webserver' vendor that you're seeking. The developer of the existing 'webserver' may even create a variation of his/her own vendor to fill that void themselves.

1

u/[deleted] Mar 14 '16

Any other developers ... [can] create the 'webserver' vendor that you're seeking.

Lets say that a developer decides to do so. Would they be able to create a webserver that goes all the way down to the foundation level, and thus avoid having to pass along revenue to sub-contractors?

4

u/jlovisa Mar 14 '16 edited Mar 14 '16

Technically, yes. But a supply-chain inside the development process means intense competition at every level. Each classification is competing for business in the glare of that international competition (the supply-chain can span the globe). Each vendor you would need to build is making a career out of improving their design-contribution through the cooperation with their peers. Think register-allocation at foundation, cache-line packing at data, execution-migration between threads at the systems level. I am sure you are a skilled developer, but can you compete with the world's best at every level?

Your 'webserver' vendor would return poor quality metrics through the use of suppliers that operate low on the technology-progression curve (although granted, this may be offset somewhat by your lower cost basis) and if your 'webserver' vendor is used in an application, your vendors all the way down must cooperate with seasoned vendors that would complain about your vendors not supporting the protocols for the kind of deep cooperation that they use to look good in their metrics.

1

u/[deleted] Mar 14 '16

If I were a professional developer (which I'm not; I'm a medical doctor with a hobby), I'd just flood the marketplace with "vendors" cloned of BSD or (if brave enough to risk an FSF lawsuit) GPL licensed opensource projects. It'd be relatively low-effort. No subcontracting means no profit-sharing, or "build" cost during testing. And being proven software, it would have reasonably good metrics. Plus I can always swap out any sub-standard parts for any better "vendors" that show up in the market.

4

u/jlovisa Mar 14 '16 edited Mar 14 '16

To reiterate, "the supplier integrates, not the client."

Library routines don't integrate themselves into projects.

So, knock yourself out. Your "clones" won't be very useful.