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

2

u/btcsleuth Mar 14 '16

What? Did you even read the OPs post "(This system doesn't use libraries, linkers, compilers, HLLs etc...)"?

5

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

Well, I was just simplifying for the TL;DR. But, the fact that the system doesn't literally use libraries, linkers or compilers doesn't mean it is a different or novel end-result. "vendors" aren't actually libraries, but they bear a striking resemblance to go-generate/function-producing factories/monads/java generics (to some extent)/etc. The "marketplace" produces binary data (a.k.a. compiles) the lower level vendor's products, into a form that can be integrated into the mid-level vendor's products (a.k.a libraries), then coalesces (a.k.a., links) all the vendors' productions into an executable binary.

Would make an awesome CS research paper. But not a viable business startup, IMHO.

3

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

The integration role has been reversed (see 'Reversing design responsibiliy' in the whitepaper). The supplier integrates, not the client. Therefore, it can't be a library. Thus, it scales beyond libraries.

3

u/[deleted] Mar 14 '16

Java generics and go-generate also "integrate" into (programatically alter themselves depending on) the "client" (calling code). They're still libraries.

3

u/jlovisa Mar 14 '16

Such techniques only modestly reduce the need for glue code. Vendors completely remove the need for glue code, and therefore scale. (The example above created a webserver from just a handful of contributions.)

Vendors also achieve their integration at design-time and hence this paradigm is capable of approaching optimal designs.