Faster JavaScript Calls
Faster JavaScript calls by removing the arguments adaptor frame
Topics /
The most popular blog posts about systems & performance on Hacker News. 553 posts.
Faster JavaScript calls by removing the arguments adaptor frame
Performance comparison of counting and sorting word frequencies in various languages (Python, Go, C++, C, AWK, Forth, and Rust)
Linux in a Pixel Shader - A RISC-V Emulator for VRChat
Hi there! This is a guest post from Robert Mader, who contributed enormous improvements to Firefox’s graphics stack on Linux. TL;DR In the upcoming Firefox 94 release we will enable the EGL b…
This has been on my mind for a while, and with a couple of things lately stoking my ire (the NFT resurgence, and Signal integrating MobileCoin), I’ve finally pushed myself to put it into words.
There's more to code than just instructions.
Several weeks ago we received a bug report from a customer that said their game was crashing when using IL2CPP scripting backend. QA verified the bug and assigned it to me for fixing. The project was quite big (although far from the largest ones); it took 40 minutes to build on my machine. The instructions on the bug…
One of the main reasons some people tend to avoid updating their PCs is that “it makes it slower”. Especially with Windows 10’s Software as a Service approach, where it gets the s…
Robert O'Callahan. Christian. Kiwi. Software guy. All content human-authored unless otherwise noted.
Firefox will monitor available system memory and, should it become that a crash is imminent, Firefox will respond by unloading memory-heavy.
SQL's UNION operation isn't usually regarded as a way to optimize query performance, but in many cases it can be used to achieve massive improvements in speed.
Today we're excited to announce WebContainers, a new type of WebAssembly-based operating system that boots instantly and enables Node.js environments to run natively in-browser.
TL;DR I set out to build the smallest container image that I could that was still able to do something useful. By taking advantage of multistage builds, the scratch base image, and a tiny assembly-based HTTP server, I was able to get it down to 6.32kB!
In 2018, I've written an article about Clickhouse, this piece of content is still pretty popular across the internet, and even was translated a few times. More than two years have passed since, and the pace of Clickhouse development is not slowing down: 800 merged PRs just during last month!
When I ask my colleagues why mmap is faster than system calls, the answer is inevitably “system call overhead”: the cost of crossing the…
After beginning a compiler for the Apple M1 GPU , the next step is to develop a graphics driver exercising the compiler. Since the last post two weeks ago, I’ve begun a Gallium driver for the M1, implementing much of the OpenGL 2.1 and ES 2.0 specifications. With the compiler and driver together, we’re now able to run…
Near the end of January I was pointed to a twitter thread where a Windows user with a powerful machine was hitting random hangs in explorer. Lots of unscientific theories were being proposed. I don…
How to free space without dropping indexes or deleting data
When a program is mostly just accessing memory randomly, a standard cost model is to count the number of distinct random accesses. The general idea is that memory access is much slower than most other computational tasks. Furthermore, the cost model can be extended to count "nearby" memory accesses as free. That is…
Porting Linux to Apple Silicon
Take a rip-roarin' tour through hundreds of PRs worth of performance improvements for .NET 6.
Virtual iOS, Android, and Arm devices to speed up security testing, research, and DevSecOps for security teams, mobile pentesters, and software developers.
Recently, I’ve come across a not so efficient implementation of a isEven function (from r/programminghorror ).
By Kevin Dangoor Back in December 2019, I first wrote about Goliath, Khan Academy’s project to migrate our ... Read more