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

13

u/[deleted] Mar 14 '16 edited Mar 14 '16

TL;DR: It's an appstore for functions/methods/libraries. Where you pay-per-compile. Stay away.

Basically, they combined two universally hated paradigms: Agile Software Development and Multi-level Marketing. As you write your program (using a purchased IDE they call "Principal"), you include functions (provided by "Vendors") from the marketplace. Each time you compile your program, you have to make a payment (in Bitcoin) to the writer of each function you call. They in turn have to pay a fraction of that payment to the writers of the functions they used, all the way down to the foundation "vendors".

The tricks here are:

  1. They (Code valley) have already written a fair amount of the lower-level functions, so they'll probably be making a considerable amount off of each compilation in the market place.

  2. Developers will be spending money on the IDE, as well as during the development process, well before they can publish and hope to make money themselves.

  3. Code valley makes money off developers regardless of if those developers in the end profit or lose money on the market.

  4. The "value" that this market adds/creates is highly debatable. For one, when you write the "Vendor" for what you want done, it's basically the same thing as programming (in the same way that Lucid's syntax is a form of programming, despite it looking drastically different from a "traditional" language like C++). So, it's not like you're saving time or effort vs. the normal development process of a normal language, libraries, and StackOverflow snippets. Only difference is one is free and the other costs money per compile.

  5. It may "harness the expertise of thousands of software developers" in the sense that the function calls may spread out to include software written by that many people. But that is not much different, in neither scope nor scale nor code quality, from writing a C program that uses libc and compiling it with gcc. Or maybe the package dependency tree in a linux distribution like Debian is a better comparison. Only difference is one is free and the other costs money per compile.

Overall, it's a vaguely interesting idea (a centralized repository for API's and functions, with attributions, reputations and other metrics on each node) that's marred by poor execution (cost to access the repository, cost-per-compile, obfuscation of the code you're paying to use, bad marketing, horrible terminology for the various components [vendors, etc.]).

3

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

TL;DR: It's an appstore for software expertise, where the developer gets paid every time they apply their expertise to an application. Stay away if you don't have expertise or don't want to earn coin.

  1. They (Code valley) have already written a fair amount of the lower-level functions, so they'll probably be making a considerable amount off of each compilation in the market place.

Firstly, we have not written any vendors. We have built them.

Secondly, we have built many vendors by spreading our expertise thinly. Our vendors will become obsolete almost immediately, when other developers enter the network and build superior vendors. We look forward to the day this happens.

2) Developers will be spending money on the IDE, as well as during the development process, well before they can publish and hope to make money themselves.

Yes, this new paradigm costs money. But that money goes to the very places it should (but doesn't always, at present) - to the very developers whose expertise you (the payer) benefit from.

The development process is also fast-tracked. Yes, the developer will spend money during this process, but if they choose their suppliers wisely, they can be up and running very quickly, which means they can be profitable very quickly. The costs of getting up and running can be easily recouped.

3) Code valley makes money off developers regardless of if those developers in the end profit or lose money on the market.

Code Valley only makes money if developers make money. There is no way to 'lose' money in this system unless you build a vendor that is not needed, or is faulty (and then, you are only out of pocket for the startup costs of building the vendor, and testing the vendor).

4) The "value" that this market adds/creates is highly debatable. For one, when you write the "Vendor" for what you want done, it's basically the same thing as programming (in the same way that Lucid's syntax is a form of programming, despite it looking drastically different from a "traditional" language like C++). So, it's not like you're saving time or effort vs. the normal development process of a normal language, libraries, and StackOverflow snippets. Only difference is one is free and the other costs money per compile.

I thought you had understood the concept, but this comment makes me unsure. You (a developer wishing to build an application) don't 'write' (build) every single vendor that will go into building that application. These vendors are built by software experts the world over (there's the "effort" that is saved). And these experts are automated - the application can be built in minutes (there's the "time" that is saved). So your statement "it's not like you're saving time or effort" is completely incorrect.

5) It may "harness the expertise of thousands of software developers" in the sense that the function calls may spread out to include software written by that many people. But that is not much different, in neither scope nor scale nor code quality, from writing a C program that uses libc and compiling it with gcc. Only difference is one is free and the other costs money per compile.

Again, this comment makes me question your understanding. To take a comment made by Jesse (the architect of the supply-chain):

"Imagine taking all of the translation and "optimisation rules" which are currently locked away in a compiler and separating them out, then offering these up as services for tender. In this scenario we now have only the best (or cheapest, or whatever metric is preferred) developers applying their own optimisations in collaboration with one another. It’s a “living” compiler in the sense that it’s constantly improving in different areas as developers independently improve their work quality. And these improvements are applied asynchronously!

Now imagine looking at the standard libraries of a programming language and applying the same idea, at the same time. We separate the classes and functions out and offer them up for tender, and those developers are in communication with one another and in communication with the “compiler” developers. In this scenario, in addition to the generic optimisation at the byte-level (by the “compiler” developers), the “library” developers also have intimate insight into higher-level optimisations which are otherwise impossible for a standard compiler (there are many situations where it’s not safe for a conventional compiler to assume that an optimisation can be made, due to a lack of high-level context). The “library functions” are now specifically designed and optimised for the application being built, eliminating the bloat associated with many conventional libraries which, in the code-domain, require a copious amount of runtime checks (checks which simply are unnecessary when designed uniquely for every program (see “printf”!)).

Now imagine looking at all remaining functions (those which are more and more specific to the particular program) and applying the same idea, once again at the same time. At this point, all aspects of the program have been “put up for tender," from the high-level requirements right down to the machine code. There is no longer a single “compiler” program; instead the “translation and optimisation” rules of the conventional compiler are collectively performed by the community of developers."

Very different from your "not much different .... from writing a C program that uses libc and compiling it with gcc."