Web Tech 2021

State of web-apis and technology:

  • Chrome/Blink-based: ca. 73% worldwide traffic. State-of-the-art, easy to support.
  • Firefox/Spidermonkey-based: ca. 4% worldwide traffic. State-of-the-art, easy to support.
  • Safari: ca. 20% worldwide traffic. Technologically laggard, harder to support.
  • Others, including IE – ca. 3% worldwide traffic. Not implementing recent Web-APIs. Ignored here.

Tech overview

Widely supported

  • Video stream
  • Video playback – be aware of supported codecs
  • WASM
  • WebGL 1
  • Crypto – be aware of supported codecs, see https://vibornoff.github.io/webcrypto-examples/index.html
  • network: websockets, fetch, and webrtc peer-to-peer connections
  • Storage: indexeddb
  • A2HS – add to home screen (only partially on apple)
  • WebWorker, ServiceWorker
  • ES6 modules

Supported on non-apple

  • Video Recording
  • WebWorker – Shared array buffer
  • WebGL 2 – requires hardware/drivers
  • WASM Threads
  • WebXR – partly supported/implemented in Blink/Spidermonkey including oculus

Under development

  • WebGPU – being developed, and behind flags, – not ready yet
  • WASM SIMD – behind flag in firefox/chrome
  • WASM GC – proposal in progress, unsure if/when implemented

Libraries and tools