frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Baby's Second Garbage Collector

https://www.matheusmoreira.com/articles/babys-second-garbage-collector
23•matheusmoreira•3d ago

Comments

frutiger•1h ago
I wanted to read this but I couldn’t because of all the allusions in the article that distracted me from the points the author was trying to make.
allthetime•1h ago
On mobile all the text is about 3 times bigger than it needs to be as well making for an obnoxious amount of scrolling. Unreadable code examples.
matheusmoreira•30m ago
Thanks for the feedback. That's due to a viewport configuration meta tag which I added recently in an attempt to make it more responsive in portrait mode. I just reverted it. Should work just like on desktop now.
mananaysiempre•30m ago
TL;DR: Conservative collector. Not where I would have taken things, but valid.

Re forcing a register spill: assuming the GC is invoked via an ABI-compliant function call, you don’t actually need to save all the scalar registers manually, only the callee-save ones (as setjmp does). Alternatively, you can make the compiler do the spilling by inserting a function preserving no registers into the call chain—this is spelled __attribute__((preserve_none)) in sufficiently new Clang or GCC, but you can also accomplish this kind of thing on Watcom with #pragma aux, for example.

Re obtaining the top and bottom of the stack: in addition to __builtin_frame_address, there’s also the age-old option of declaring a local and looking at its address, as long as strict aliasing doesn’t bite you. And if you know you’re running on Linux or something sufficiently compatible (as seen from the reference to auxv), you can treat argv as the bottom of the stack for the main thread, as the startup stack on Linux is (IIRC) argv, then the argument strings, then the environment, then the auxiliary vector.

Artemis II crew see first glimpse of far side of Moon [video]

https://www.bbc.com/news/videos/ce3d5gkd2geo
215•mooreds•3h ago•153 comments

Eight years of wanting, three months of building with AI

https://lalitm.com/post/building-syntaqlite-ai/
287•brilee•5h ago•86 comments

Caveman: Why use many token when few token do trick

https://github.com/JuliusBrussee/caveman
459•tosh•9h ago•252 comments

A tail-call interpreter in (nightly) Rust

https://www.mattkeeter.com/blog/2026-04-05-tailcall/
58•g0xA52A2A•2h ago•2 comments

Reaffirming our commitment to child safety in the face of EuropeanUnion inaction

https://blog.google/company-news/inside-google/around-the-globe/google-europe/reaffirming-commitm...
16•upofadown•49m ago•10 comments

Computational Physics (2nd Edition)

https://websites.umich.edu/~mejn/cp2/
26•teleforce•2h ago•3 comments

Codex is switching to API pricing based usage for all users

https://help.openai.com/en/articles/20001106-codex-rate-card
132•ccmcarey•2h ago•89 comments

Just 'English with Hanzi'

https://www.oldnorthwhale.com/p/why-modern-chinese-is-just-english
18•scour•1d ago•6 comments

Nanocode: The best Claude Code that $200 can buy in pure JAX on TPUs

https://github.com/salmanmohammadi/nanocode/discussions/1
47•desideratum•3h ago•7 comments

Finnish sauna heat exposure induces stronger immune cell than cytokine responses

https://www.tandfonline.com/doi/full/10.1080/23328940.2026.2645467#abstract
198•Growtika•4h ago•117 comments

Lisette a little language inspired by Rust that compiles to Go

https://lisette.run/
205•jspdown•11h ago•106 comments

The threat is comfortable drift toward not understanding what you're doing

https://ergosphere.blog/posts/the-machines-are-fine/
621•zaikunzhang•8h ago•431 comments

German implementation of eIDAS will require an Apple/Google account to function

https://bmi.usercontent.opencode.de/eudi-wallet/wallet-development-documentation-public/latest/ar...
491•DyslexicAtheist•19h ago•449 comments

Baby's Second Garbage Collector

https://www.matheusmoreira.com/articles/babys-second-garbage-collector
23•matheusmoreira•3d ago•4 comments

Friendica – A Decentralized Social Network

https://friendi.ca/
76•janandonly•7h ago•29 comments

From birds to brains: My path to the fusiform face area (2024)

https://www.kavliprize.org/nancy-kanwisher-autobiography
7•everbody•1h ago•0 comments

My Google Workspace account suspension

https://zencapital.substack.com/p/sad-story-of-my-google-workspace
243•zenincognito•6h ago•127 comments

Hightouch (YC S19) Is Hiring

https://hightouch.com/careers#open-positions
1•joshwget•6h ago

The Melanesian: Dark-skinned people with blonde hair region of Oceania

https://guardian.ng/life/the-melanesian-dark-skinned-people-with-blonde-hair/
19•thunderbong•1h ago•0 comments

Perfmon – Consolidate your favorite CLI monitoring tools into a single TUI

https://github.com/sumant1122/Perfmon
19•paperplaneflyr•3h ago•4 comments

Iguanaworks has closed and our products are no longer sold

http://iguanaworks.net/products/usb-ir-transceiver.html
77•ripe•4h ago•13 comments

Someone at BrowserStack is leaking users' email addresses

https://shkspr.mobi/blog/2026/04/someone-at-browserstack-is-leaking-users-email-address/
320•m_km•4h ago•87 comments

Introduction to Computer Music (2009) [pdf]

https://composerprogrammer.com/introductiontocomputermusic.pdf
204•luu•16h ago•64 comments

Phone-free bars and restaurants on the rise across the U.S.

https://www.axios.com/2026/04/05/phone-free-restaurants-bars-bans-restrictions-offline
67•Brajeshwar•3h ago•46 comments

Tracing Goroutines in Realtime with eBPF

https://sazak.io/articles/tracing-goroutines-in-realtime-with-ebpf-2026-03-31
27•darccio•3d ago•4 comments

Shared mutable state in Rust (2022)

https://draft.ryhl.io/blog/shared-mutable-state/
32•vinhnx•3d ago•7 comments

Aegis – open-source FPGA silicon

https://github.com/MidstallSoftware/aegis
96•rosscomputerguy•12h ago•9 comments

Scientists Figured Out How Eels Reproduce (2022)

https://www.intelligentliving.co/scientists-finally-figured-out-how-eels-reproduce/
82•thunderbong•3d ago•16 comments

StackOverflow: Retiring the Beta Site

https://meta.stackoverflow.com/questions/438628/retiring-the-beta-site
33•stefankuehnel•2h ago•23 comments

Show HN: OsintRadar – Curated directory for osint tools

https://osintradar.com/
55•lexalizer•12h ago•6 comments