frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Native Instant Space Switching on macOS

https://arhan.sh/blog/native-instant-space-switching-on-macos/
70•PaulHoule•1h ago•32 comments

Maine Is About to Become the First State to Ban Major New Data Centers

https://www.gadgetreview.com/maine-is-about-to-become-the-first-state-to-ban-major-new-data-centers
114•rmason•1h ago•137 comments

Netflix Prices Went Up Again – I Bought a DVD Player Instead

https://aywren.com/2026/04/09/netflix-prices-went-up-again-i-bought-a-dvd-player-instead/
82•speckx•39m ago•89 comments

PicoZ80 – Drop-In Z80 Replacement

https://eaw.app/picoz80/
63•rickcarlino•2h ago•10 comments

Hegel, a universal property-based testing protocol and family of PBT libraries

https://hegel.dev
54•PaulHoule•2h ago•17 comments

Old laptops in a colo as low cost servers

https://colaptop.pages.dev/
46•argentum47•2h ago•28 comments

Discovering, detecting, and surgically removing Google's AI watermark

https://github.com/aloshdenny/reverse-SynthID
17•_tk_•47m ago•1 comments

The Future of Everything Is Lies, I Guess: Part 3 – Culture

https://aphyr.com/posts/413-the-future-of-everything-is-lies-i-guess-culture
56•aphyr•7h ago•43 comments

Research-Driven Agents: What Happens When Your Agent Reads Before It Codes

https://blog.skypilot.co/research-driven-agents/
75•hopechong•3h ago•36 comments

Unfolder for Mac – A 3D model unfolding tool for creating papercraft

https://www.unfolder.app/
66•codazoda•3h ago•10 comments

Bitmap fonts make computers feel like computers again

https://korigamik.dev/blog/bitmap_fonts/
48•speckx•1h ago•34 comments

Charcuterie – Visual similarity Unicode explorer

https://charcuterie.elastiq.ch/
11•rickcarlino•45m ago•1 comments

Show HN: I built a Cargo-like build tool for C/C++

https://github.com/randerson112/craft
91•randerson_112•4h ago•82 comments

Top laptops to use with FreeBSD

https://freebsdfoundation.github.io/freebsd-laptop-testing/
237•fork-bomber•11h ago•133 comments

Little Snitch comes to Linux, but the core logic is closed source

https://the.unknown-universe.co.uk/privacy-security/little-snitch-linux/
44•TheIPW•4h ago•16 comments

EFF is leaving X

https://www.eff.org/deeplinks/2026/04/eff-leaving-x
802•gregsadetsky•3h ago•700 comments

OpenAI puts Stargate UK on ice, blames energy costs and red tape

https://www.theregister.com/2026/04/09/openai_puts_stargate_uk_on/
38•Bender•1h ago•17 comments

Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

https://braw.dev/blog/2026-04-06-reallocating-100-month-claude-spend/
245•kisamoto•12h ago•176 comments

Introduction to Nintendo DS Programming

https://www.patater.com/files/projects/manual/manual.html
189•medbar•1d ago•35 comments

A WebGPU implementation of Augmented Vertex Block Descent

https://github.com/jure/webphysics
108•juretriglav•8h ago•14 comments

Wit, unker, Git: The lost medieval pronouns of English intimacy

https://www.bbc.com/future/article/20260408-the-extinct-english-words-for-just-the-two-of-us
163•eigenspace•10h ago•99 comments

Meta removes ads for social media addiction litigation

https://www.axios.com/2026/04/09/meta-social-media-addiction-ads
484•giuliomagnifico•7h ago•195 comments

Doing Impressions: Monet's Early Caricatures (ca. late 1850s)

https://publicdomainreview.org/collection/claude-monet-caricatures/
38•prismatic•3d ago•1 comments

Show HN: CSS Studio. Design by hand, code by agent

https://cssstudio.ai
124•SirHound•9h ago•86 comments

Open source security at Astral

https://astral.sh/blog/open-source-security-at-astral
338•vinhnx•16h ago•91 comments

Building a framework-agnostic Ruby gem (and making sure it doesn't break)

https://newsletter.masilotti.com/p/on-building-a-framework-agnostic
45•joemasilotti•2d ago•6 comments

Aggro Is the Foundation (2022)

https://radimentary.wordpress.com/2022/11/07/aggro-is-the-foundation/
12•surprisetalk•6d ago•1 comments

Help Keep Thunderbird Alive

https://updates.thunderbird.net/en-US/thunderbird/140.0/apr26-1e/donate/
451•playfultones•13h ago•322 comments

Things I learned from Reddit fashion

https://acesounderglass.com/2026/01/25/things-i-learned-from-reddit-fashion/
16•surprisetalk•2d ago•2 comments

Launch HN: Relvy (YC F24) – On-call runbooks, automated

https://www.relvy.ai
35•behat•8h ago•22 comments
Open in hackernews

How ZGC allocates memory for the Java heap

https://joelsiks.com/posts/zgc-heap-memory-allocation/
86•lichtenberger•11mo ago

Comments

gopalv•11mo ago
The 32x virtual memory to physical memory ratio plays into relocation and colored pointers (i.e pointers where some bits serve as flag bits).

Putting the actual data layouts in 44 bits out of 64 is a neat trick which relies on the allocator being aware of the mappings between physical and virtual addresses.

twoodfin•11mo ago
When your comment and the article refer to “physical” addresses, those are physical in the context of the JVM, right? To the OS they’re virtual addresses in the JVM process space?
acchow•11mo ago
Correct. ZGC has no way to escape from the virtualization by the kernel (assuming your hardware and kernel uses an MMU)
MBCook•11mo ago
Thank you for the answer, I was wondering that as well.
hinkley•11mo ago
In the beginning of the 32 bit revolution, when the future was here but unevenly distributed, there was a lot of talk about how 32 bit pointers would fundamentally change how people wrote code. Among other things it got rid of a bunch of odd bookkeeping, and if you don’t have to do the bookkeeping you don’t have to write the code in a way that supports it, so you can do other things.

Not too long after someone asked what sort of interesting changes 64 bit will bring. And I’ve been keeping that question in the back of my mind ever since.

Aliasing memory multiple times in order to do read or write barriers and make GC much cheaper is a pretty good one. But another one I know of is that one of the secrets of the L4 microkernel is that its IPC speed comes substantially from reducing the amount of TLB work that needs to be done to switch to another process running in a different address space. They use the same address space and only swap out the access rights which cuts the call overhead in half. It’s pretty easy to put a bunch of processes into a 64 bit address space and just throw each one a randomly located 4GB slice of RAM.

twoodfin•11mo ago
Yeah, would love to see the CPU vendors invent some primitives to let user code pull those kinds of privilege isolation tricks within a single process and address space.

Something like: “From now on, code on these pages can only access data on these pages, and only return to/call into other code through these gates…”

hinkley•11mo ago
Thread based seems like it at least should be possible.
ahartmetz•11mo ago
I've had some ideas about avoiding format validation in IPC receivers if the data is encoded by trusted code, which is also the only code that has rights to send the IPC data / to connect to the receiver. I can't really think of an important problem that it would solve, though. DBus always validates received data, but it's not really meant or very suitable for large amounts of data anyway.
twoodfin•11mo ago
What I’m looking for is a way for a process to de/re-escalate its privileges to access memory, without an expensive context switch being required at the transition. The CPU would simply enforce different rules based on (say) the high-order bits of the instruction pointer.

Imagine a server process that wants to run some elaborate third-party content parser. It’d be great to be sure that no matter how buggy or malicious that code, it can’t leak the TLS keys.

Today, high-security architectures must use process isolation to achieve this kind of architectural guarantee, but even finely tuned IPC like L4’s is an order of magnitude slower than a predictable jump.

gpderetta•11mo ago
For a brief moment Intel supported MPX which did something similar.

You can also play tricks with the virtualization hardware, bit it need kernel support.

Eventually we will get segments back again.

MarkSweep•11mo ago
That would be pretty cool. Something like the Win32 function GetWriteWatch, but implemented in hardware instead of the page fault handler (I assume).

https://learn.microsoft.com/en-us/windows/win32/api/memoryap...

Or some sort of special write barrier store op-code, idk.

mike_hearn•11mo ago
It exists, that's called MPKs.
twoodfin•11mo ago
I don’t think MPK’s will fit the need I have. Simply: Run some arbitrary, untrusted, non-sandboxed code in the same thread with assurance it can’t read page X. When that code completes and I’m back in code I trust, X is readable again.

Is that something MPK makes possible? The doc I’ve read suggests either your process can flip permission bits or it can’t. Great for avoiding out-of-sandbox reads. But if there’s arbitrary execution happening, why can’t that code flip the access to secrets back on?

mike_hearn•11mo ago
Oracle Labs has tech that does that:

https://youtu.be/T05FI93MBI8?si=EieFgujaGiW2gbO8&t=958

The trick is to do a cascading disassembly of all untrusted code you'll execute to prove it can't change the MPK register.

twoodfin•11mo ago
Wow. Neat trick and exactly the kind of thing I was looking for.

Thanks!

EDIT: Looks like this is the relevant paper from the Graal team: https://www.graalvm.org/resources/articles/binsweep.pdf

jdougan•11mo ago
Is that something like the memory protection scheme on the Newton OS?
nyanpasu64•11mo ago
Isn't not swapping page tables during a call precisely what the KPTI mitigations had to turn off for Meltdown mitigations?
pron•11mo ago
For relevant upcoming changes see Automatic Heap Sizing for ZGC: https://openjdk.org/jeps/8329758