Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 8,469 posts.

Any year
7981

Understanding Concurrency, Parallelism and JavaScript

Up until now, I was not aware that concurrency and parallelism were actually different things since they are often used interchangeably by some. I just learned that this is not the case while reading Chapter 9 of the book “Clojure for the Brave and True.” This made me want to learn more about concepts related to…

7984

HTML-only conditional lazy loading (via preload and media)

The accepted practice is to not add lazy-loading to images above the fold, especially the LCP image, since doing so can delay their loading until the browser has determined they are definitely in the viewport. One problem though is that "above the fold" depends on screen size: an image can be above the fold on desktop…

7990

Project Silk

Editor's Note: An earlier version of this post appeared on Mason Chang's personal blog. For the past few months, I've been working on Project Silk which improves smoothness across ...

7991

Understanding JavaScript function invocation and "this"

Over the years, I've seen a lot of confusion about JavaScript function invocation. In particular, a lot of people have complained that the semantics of this in function invocations is confusing. In my opinion, a lot of this confusion is cleared up by understanding the core function invocation primitive,

7992

Gevent For the Working Python Developer

The structure of this tutorial assumes an intermediate level knowledge of Python but not much else. No knowledge of concurrency is expected. The goal is to give you the tools you need to get going with gevent, help you tame your existing concurrency problems and start writing asynchronous applications today.