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

1

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

This program was built by 'tapping into' the supply-chain (the marketplace) at the Behaviour level and contracting 8 vendors, who contracted other vendors, who contracted other vendors etc. In total, 202,052 contracts went into creating the web server program.

By contrast, this test program (which tests the design-contribution made by a 'sort-bytesequencearray' vendor) was built by tapping into the supply-chain at the Data layer (two levels down from Behaviour) and contracting 6 vendors, who contracted vendors, who contracted other vendors etc. In total, 2,855 contracts went into creating the sorting program.

Each vendor was created by a software developer, and earns money for that developer every time it is contracted. Using this system of software development, thousands of developers are paid every time a program is built.

4

u/CalvinR Mar 14 '16

So how much did it cost to compile the webserver? or the sorting program?

3

u/jlovisa Mar 17 '16 edited Mar 17 '16

The 'webserver' test expression would have cost $31 to build. That is when the webserver itself charges $4/contract. The additional $27 went to the other vendors contracted from the Principal in order to create the test program. (I could have used less vendors to verify that 'webserver' works, I just opted to include a few extra for the demo.)

The 'sort-bytesequencearray' test expression would have cost 6c to build, where 'sort-bytesequencearray' charges 2c/contract.

In future, all developers who use this system will build their very own acceptance test to test that their vendor does provide the design-contribution it will soon be contracted to provide. Once they have run this test program and verified that their vendor's design-contribution was sound, they can deploy that vendor in the Valley and begin accepting legitimate contracts from other clients.

Note: All prices included above are just used for our internal modelling purposes, and assume developers will price their vendor based on an approximate 30% profit margin (which is admittedly very high). Once these vendors are out in the wild, and this system is being used by developers the world over, price discovery will be in full effect, and the cost per contract will converge upon prices the market deems acceptable, which could be much greater or smaller than the prices I mentioned above. Of course, more sophisticated vendors (i.e. vendors that will return less code) can charge more for their superior design-contributions.

2

u/CalvinR Mar 17 '16

What would make someone want to use a web sever written in your product vs say a free and feature rich one like Apache or Nginx?

It seems like the cost of developing applications in your product are prohibitively high. Are you not imagining that people will want to compile multiple times during a release cycle, that they won't do things like test and fix bugs etc...

4

u/jlovisa Mar 17 '16

What would make someone want to use a web sever written in your product vs say a free and feature rich one like Apache or Nginx?

Apache and Nginx web servers have had the time to become feature-rich. They didn't start out that way. The same increase in sophistication over time applies to this system.

These are free web server alternatives, yes. In our system, the feature-rich webservers that will emerge will be driven by competition and commercialisation, which could yield more sophisticated products.

Certainly there will be nothing stopping developers from continuing to use existing methods, if they are seeking free alternatives.

It seems like the cost of developing applications in your product are prohibitively high. Are you not imagining that people will want to compile multiple times during a release cycle, that they won't do things like test and fix bugs etc...

Developers are welcome to compile multiple times during a release cycle, and the cost need not be prohibitively high. As I said, the prices we have assigned vendors are quite arbitrary. The cost of building may be much smaller in the early days of the network (and will stay that low if that is all the end-developer is willing to pay - such is the beauty of a free market).