4 ms·
Replace JavaScript with .NET: it delivers byte code not source code, the byte code was specifically designed to allow JIT into efficient machine code with minim
by Const-me 5y ago
Replace JavaScript with .NET: it delivers byte code not source code, the byte code was specifically designed to allow JIT into efficient machine code with minimal overhead.
Replace HTTP and HTML with binary equivalents. A human-readable representation is nice when debugging things but binary equivalents are way faster, both throughput (handling strings is slow in general, too many branch mispredictions) and latency (to save bandwidth, text is typically combined with gzip or similar, they have internal buffers, they cause latency).
Implement data templating and data binding at HTML level. These things are essential for apps.
Keep the CSS, it's mostly fine.
Replace SVG with something binary, scriptless, and optimized for viewing only. Here's an example https://news.ycombinator.com/item?id=29629792 https://news.ycombinator.com/item?id=29629792