Web2, Web3...
Let’s start with defining Web itself. My take:
#Web is a computing platform - like POSIX, Windows, Java, embedded etc. Web differs from the Internet the same way Windows differs from BIOS.
As a computing platform Web brings a number of protocols, toolchains, SDKs and technologies:
Networking is restricted to the TCP/IP subset: HTTP(s), WebSocket and WebRTC.
Supported instruction set architectures: WASM, JavaScript virtual machine(s), both browser- and server (NodeJS)-based.
UI uses HTML, CSS, DOM, WebGL, and Canvas. On top of that UI frameworks proliferate - like in the POSIX world, we have Qt, GTK etc in the Web world we have React, Angular, Vue, Svelte etc.
Why Web is so popular? It was the first computing platform created in the age of networking - and for network-based apps first. It allows you to run apps without installing them - and do that on any consumer UI-based device: desktop, laptop or mobile. It allows the simple creation of cross-platform apps. It avoids censorship of app stores.
The drawbacks of the Web are mostly direct consequences of its advantages:
low security: a remote code is executed locally;
privacy leaks as a result of the client-server model;
agility allowing cross-platform UI and schema-less network messaging results in “spaghetti code” and wired JavaScript VM non-determinism;
poor decentralization and censorship resistance: an inherited client-server model doesn’t allow proper decentralization.
The Web passed through generations: Web, Web2 - and now "Web3" is kinda there.
The main difference between Web and Web2 was:
interactivity (brought through JavaScript AJAX, and later WebSockets);
dynamic UI (with JavaScript DOM manipulations);
abandoning Java applets;
local storage for app data provided by web browsers;
move from CGI to custom web servers with embedded server-side business logic (NodeJS, Python and web frameworks in almost every language);
better markup languages (HTML5, CSS3), including graphic markup (SVG, Canvas, WebGL).
What people were looking for in the post-Web2-era etc?
better decentralization and censorship resistance;
integration of native internet money and payment methods;
smart contracts (complex automation based on cryptographic and economic incentives);
better privacy.
Does Web3 on that? No: it promises to deliver, but fails: there can’t be privacy nor scalability with blockchain-based things; there can’t be censorship-resistance with PoS; there can’t be decentralization with the old client-server hosting of content.
What should the proper “next Web” look like?
be based on P2P (where is possible) or relay-based systems (where P2P is impossible); with relays being self-hosted;
end-to-end encrypted communications
over Mix networks (Tor, Nym, I2P etc);
authentication based on public key cryptography (and not passwords) and decentralized identities (SSH, GPG and future systems);
based on a zero-knowledge state; i.e. not leaking privacy data to the web servers or nodes;
using deterministic functional computing;
using PoW and bitcoin single-use-seals - but not for storing a state like in Web2 (!); only for cryptographic commitments (OTS etc);
using client-side-valdiated smart contracts like RGB;
integrated with Lightning payments and #BiFi (bitcoin finance);
using decentralized data protocols like #Storm, #Slashtags, #Nostr-based and like solutions.
Last updated