3 billion items in Java Map with 16 GB RAM
One rainy evening I meditated about memory managment in Java and how effectively Java collections utilise memory. I made simple experiment, how much entries can I insert into Java Map with 16 GB of RAM?
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,843 posts.
One rainy evening I meditated about memory managment in Java and how effectively Java collections utilise memory. I made simple experiment, how much entries can I insert into Java Map with 16 GB of RAM?
by Laurence Chen There is a famous quote: Programming is thinking, not typing. After doing this job long enough, sometimes, I feel I am doing too much typing. No matter whether...
The soft maximum approximates the maximum function, and approaches it in the limit, but is easier to work with.
The most valueble code in my repo, is the code I didn't write.
I encounter this feeling frequently. I have a sudden need (or idea) and I realize that such and such a tool or service must already exist. As a software engineer, I’ve learned to not let that feeling pass. Usually, it’s a chance to learn something (because usually it does exist) and sometimes it’s a chance to to build…
As the story of C’s birth goes hand in hand with the creation of Unix, the first C compiler can be traced back to the early 1970’s.
How to use Nom to parse binary protocols at the level of individual bits
Over the past year I've been working on a minimal-dependency hobbyist computing stack (everything above the processor) called Mu . The goal is to:
How Ouster OS1 sensors create 3D HD maps, demonstrated by scanning San Francisco's iconic Ferry Building.
In February I open-sourced a library called Specter , and in my own work it has become by far my m...
This post is part of a series, you can see an overview of the whole series in [ rust-typestate-index ].
The current article describes a series of Java Virtual Machine (JVM) benchmarks with a primary focus on top-tier Just-In-Time (JIT) compilers, such as C2 JIT, and Graal JIT. The benchmarks are structured in three distinct (artificial) categories:
Earlier today Stephen Johnson, in a mailing list run by the The Unix Heritage Society , described the birth of the standard error concept: the idea that a program's error output is sent on a channel different from that of its normal output. Over the past forty years, all major operating systems and language libraries…
Raymond Chandler would have loved generative AI
Did you enjoy this article? Register for our newsletter to receive the latest hacker news from the world of Lisp and browsers!
Sofware dysfunction is more often motivated by worry than it is by a lack of technical skill
Now for queries containing sequences of 2-3 special characters such as [== vs ===] and [+=], Google will return results on the meaning of these sequences in programming …
Simplex Sigillum Veri
Explains features that make it easy to program in QED-Forth, including the interactive debugger, floating point mathematics, heap memory manager, arrays and matrices, structures, and the multitasking executive.
A lesson in X11, networking, and design.
Blog about anti-virus software vulnerabilities.
Usually I write about solutions to problems I’ve worked out, but I’ve found myself increasingly becoming interesting in where solutions come from. Maybe it’s because I’ve been reading Boorstin’s excellent The Discoverers , which I’d strongly recommend.