frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

My OpenAI Dot made a discovery without me asking

https://echo.ls/dots-cwc/
369•maplet•4h ago•153 comments

OpenAI: Smooth four-dimensional Poincaré conjecture disproved [pdf]

https://github.com/openai/math/blob/main/preprints/Exotic-four-spheres-detected-by-Khovanov-homol...
130•xhevahir•3h ago•77 comments

Did AI rediscover a cryptographic attack NSA had known since 2015?

https://an.dywa.ng/ecc.html
829•cbeuw•13h ago•581 comments

Tinybrowser: A browser running directly in the browser

https://tinybrowser.ericc.ch/
69•auraham•3h ago•37 comments

How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519

https://sethmlarson.dev/how-to-find-and-upgrade-256-bit-curve-keys
190•lumpa•6h ago•76 comments

Make Me a Million-Bench: a benchmark where AIs build companies in the real world

https://andonlabs.com/evals/mmm-bench
30•lukaspetersson•4h ago•20 comments

OpenAI's matrix multiplication paper solved a harder problem in computer science

https://www.newscientist.com/article/2602472-openai-solved-a-huge-problem-in-computer-science-and...
127•shinryuu•7h ago•17 comments

CleanYourTV: Remove Ads and Bloat from Android TV and Google TV

https://cleanyour.tv
463•kls0e•13h ago•165 comments

Into which trinitarian heresy hath ye fallen?

https://blesswrong.com
422•rachelshu•11h ago•320 comments

Claude still falls for old jailbreak exploits

https://spectrum.ieee.org/anthropic-ipo-security
334•speckx•11h ago•189 comments

The Demise of Deno

https://kitsonkelly.com/posts/demise-of-deno
17•todsacerdoti•1d ago•7 comments

Rare books destroyed in truck crash, upending Oakland man's future

https://oaklandside.org/2026/11/25/pratum-rare-books-big-rig-crash-wuum/
229•gnabgib•11h ago•69 comments

Our next chapter: Thunderbird Technologies Corporation

https://blog.thunderbird.net/2026/12/our-next-chapter-thunderbird-technologies-corporation/
197•abraham•11h ago•118 comments

Intellectual Debt After Generative AI

https://www.noemamag.com/intellectual-debt-after-generative-ai/
529•theanonymousone•21h ago•366 comments

Boris and Tibo: Silicon Valley Embraces the Franchise Player

https://www.dbreunig.com/2026/12/02/silicon-valley-embraces-the-franchise-player.html
22•dbreunig•2d ago•10 comments

Measuring model capabilities for pacing the frontier

https://www.anthropic.com/research/measuring-capabilities-pacing-frontier
160•georgehill•9h ago•76 comments

What broke when I enabled PQC for Git and SSH

https://nordlenord.github.io/my-shared-notes/?id=f86ed9e6f4ac17225617717a5a14255f
3•tukHelix•45m ago•0 comments

Open Source Volumetric Capture

https://ritmps.github.io/chumps/
142•bongoherbert•11h ago•1 comments

I just heard from a reliable source that ECC P-256 was broken

https://www.schneier.com/blog/archives/2026/12/nsa-urging-transition-to-post-quantum-cryptography...
355•arto•7h ago•164 comments

The spectrum between coding and vibe coding

https://dmitryfrank.com/articles/ai_for_coding_in_2026
175•dimonomid•12h ago•104 comments

An OS with no threads: The Actor Model

https://www.timdbg.com/posts/dbgos-actor-model/
315•ingve•19h ago•140 comments

Got PQC?

https://www.gotpqc.com
323•owenthejumper•17h ago•161 comments

UBS: 3,302 billionaires now hold almost $20T wealth

https://www.ubs.com/global/en/media/display-page-ndp/en-20261203-bar26.html
32•hliyan•1h ago•42 comments

Rust (game) is being rewritten in C#

https://rust.facepunch.com/news/skin-deep#RustEngine
99•flykespice•10h ago•120 comments

Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX

https://github.com/weavon/weavon
249•deyvium•13h ago•117 comments

Wax: A User-Friendly Syntax for WebAssembly

https://tarides.com/blog/2026-11-26-wax/
193•theanonymousone•14h ago•46 comments

Nvidia Delays Quarterly Report Due to Material Weaknesses in Internal Controls

https://www.wsj.com/finance/regulation/nvidia-delays-quarterly-report-due-to-material-weaknesses-...
165•recsv-heredoc•7h ago•108 comments

Darling: Steam, WebKit and the Road to Mac OS 9

https://blog.darlinghq.org/2026/12/03/steam-webkit-and-the-road-to-mac-os-9/
132•LubosD•10h ago•26 comments

C64 3D first person game written in assembly by an LLM

https://github.com/needlestack/lest-c64
114•cyril-crutches•9h ago•41 comments

Avoiding embarrassment is getting expensive

https://tornikeo.com/avoiding-embarrassment/
469•tornikeo•21h ago•263 comments
Open in hackernews

How ZGC allocates memory for the Java heap

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

Comments

gopalv•1y 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•1y 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•1y ago
Correct. ZGC has no way to escape from the virtualization by the kernel (assuming your hardware and kernel uses an MMU)
MBCook•1y ago
Thank you for the answer, I was wondering that as well.
hinkley•1y 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•1y 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•1y ago
Thread based seems like it at least should be possible.
ahartmetz•1y 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.
pron•1y ago
For relevant upcoming changes see Automatic Heap Sizing for ZGC: https://openjdk.org/jeps/8329758
twoodfin•1y 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•1y 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•1y 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•1y ago
It exists, that's called MPKs.
twoodfin•1y 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•1y 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•1y 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•1y ago
Is that something like the memory protection scheme on the Newton OS?
nyanpasu64•1y ago
Isn't not swapping page tables during a call precisely what the KPTI mitigations had to turn off for Meltdown mitigations?