Better HN
topnewbestaskshowjobs
Log inSign up

charlietap

8 karma · joined Apr 12, 2023 (3y ago) · 4 submissions

Submissions

comment 1y ago · link · parent

This article is nonsensical. If you're reading this please don't start mmap'ing files just to read from them. It proposes an incredibly unrealistic scenario where the program is making thousands of random incredibly small unbuffered reads from a file. In reality 99 percent of programs will sequentially reading bytes into a buffer which makes orders of magnitude less syscalls.

Mmap is useful in niche scenarios, it's not magic.

comment 2y ago · link · parent

If you run it in chasm you can run it absolutely everywhere: -JVM -Browser -Mobile -Desktop

https://github.com/CharlieTap/chasm