frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Garbage Collection Is Useful

https://dubroy.com/blog/garbage-collection-is-useful/
15•surprisetalk•2h ago

Comments

cmrdporcupine•17m ago
Had similar epiphanies some many years ago (ugh, I'm old) when I was playing around writing a garbage collected persistent (in the 'stored on [spinny spinny] disk' sense not the FP sense of the word) programming language / runtime. This was back when it was roughly infeasible to be holding large "worlds" of objects purely in-memory on machines of the style of the time, so intelligently paging objects in and out was imperative. (Aside, I think with the recent doubling... tripling of RAM prices this area of thinking is now again more imperative)...

In any case, if one is doing GC in such a language, a full tracing collector (whether copying or mark & sweep) is madness, as to find live references means walking nearly the entire heap including the portions living in secondary storage, and now you're in a world of pain.

In this case, an intelligent cycle collecting garbage collector in the Bacon style was the answer. You keep in in-memory table of reference counts, and you only trace when you hit cycles.

nxobject•11m ago
I’m curious - did fragmentation end up being a significant issue, whether in memory or offloaded?
cmrdporcupine•6m ago
I never got far enough to push that into a production system but I suspect it would have, yes.

I can see a periodic compacting phase could be useful in a system like that.

In the DB world there's good research around similar topics. e.g. LeanStore and Umbra -- Umbra in particular does some nice things with variable sized pages that I believe are expected to help with fragmentation https://db.in.tum.de/~freitag/papers/p29-neumann-cidr20.pdf

Scientists Have Trained Bumblebees to Understand a Form of Morse Code

https://www.sciencealert.com/scientists-have-trained-bumblebees-to-understand-a-form-of-morse-code
1•ColinWright•2m ago•0 comments

Americana troubadour Todd Snider, alt-country singer-songwriter, dies at 59

https://www.npr.org/2025/11/15/nx-s1-5609897/todd-snider-obit
1•bookofjoe•3m ago•0 comments

Dissecting Flock Safety: The Cameras Tracking You Are a Security Nightmare [video]

https://www.youtube.com/watch?v=uB0gr7Fh6lY
2•emsign•5m ago•0 comments

JavaScript Engines Benchmarks

https://ivankra.github.io/javascript-zoo/
1•homebrewer•5m ago•0 comments

Pg_lake: Integrate Your Data Lakehouse with Postgres

https://www.snowflake.com/en/engineering-blog/pg-lake-postgres-lakehouse-integration/
1•plaur782•6m ago•0 comments

The Ethical Computing Initiative

https://aol.codeberg.page/eci/
1•digisign•6m ago•0 comments

Elan School

https://elan.school/
1•frizlab•7m ago•0 comments

Natural Selection Is Already Shaping AI

https://bturtel.substack.com/p/darwins-llms
1•bturtel•7m ago•0 comments

Show HN: I built CostLens SDK to cut my AI bills by routing to cheaper models

https://costlens.dev/
1•j_filipe•8m ago•1 comments

Goethe on Coding Agents

https://dsyme.net/2025/11/12/goethe-on-coding-agents/
2•andsoitis•9m ago•1 comments

Ask HN: Which educational games and material do you use for kids on Linux?

1•Desafinado•11m ago•0 comments

Looking for Help on Diagnostics Modelling

1•Will_Neutralis•13m ago•0 comments

Show HN: OverlayFlow– Learn Blender with AI That Points You to the Right Buttons

https://overlayflow.com/
1•gpopmescu•13m ago•0 comments

NetBSD on the last G4 Mac mini (and making the kernel power failure proof)

http://tenfourfox.blogspot.com/2019/06/and-now-for-something-completely.html
2•fanf2•14m ago•0 comments

Study Links Genes Responsible for Childhood Intelligence with Longer Lifespan

https://scienceclock.com/study-links-genes-for-childhood-intelligence-with-longer-lifespan/
1•ashishgupta2209•15m ago•0 comments

What to Learn? CUDA vs. PyTorch vs. Jax vs. Triton/Pallas

1•bananc•15m ago•0 comments

Kosmos: An AI Scientist for Autonomous Discovery

https://edisonscientific.com/articles/announcing-kosmos
1•gmays•18m ago•0 comments

Show HN: ICT Model – a framework linking information, time and consciousness

https://zenodo.org/records/17584783
1•DmitriiBaturo•18m ago•0 comments

Binary Sudoku Puzzle – Foxtrot Comic

https://foxtrot.com/2025/11/16/binary-sudoku/
2•offsky•20m ago•0 comments

Post Quantum Cryptography in Sequoia PGP

https://sequoia-pgp.org/blog/2025/11/15/202511-post-quantum-cryptography/
1•haakon•22m ago•0 comments

The Best (and Worst) Ways to Spend Money

https://www.mr-stingy.com/best-worst-ways-spend-money/
2•andsoitis•26m ago•1 comments

FPGA Based IBM-PC-XT

https://bit-hack.net/2025/11/10/fpga-based-ibm-pc-xt/
1•andsoitis•29m ago•0 comments

Ein unauffällig auffälliger E-Paper-Raumluft-Monitor (Teil 1: Warum?)

https://www.nicolin-dora.ch/blog/E-Paper-Raumluft-Monitor-Teil-1/
1•nomarv•31m ago•1 comments

Show HN: Minivac 601 Simulator

https://minivac.greg.technology/
1•gregsadetsky•31m ago•0 comments

De Bruijn Numerals

https://text.marvinborner.de/2023-08-22-22.html
7•marvinborner•33m ago•1 comments

Show HN: Patternia – a header-only C++ DSL for expressive pattern matching

https://github.com/sentomk/patternia
1•sentomk•34m ago•0 comments

The GPU Observability Gap: Why We Need eBPF on GPU Devices

https://eunomia.dev/blog/2025/10/14/the-gpu-observability-gap-why-we-need-ebpf-on-gpu-devices/
1•ashvardanian•36m ago•0 comments

Apple Silicon Has a Real Problem: It's Just Too Good

https://www.inc.com/jason-aten/apple-silicon-has-a-very-real-problem-its-just-too-good/91262186
3•alwillis•40m ago•0 comments

GoAccess – Visual Web Log Analyzer

https://goaccess.io/
3•thefox•41m ago•0 comments

Our business model and a few words about other Shadcn/UI kits

https://shadcn.obra.studio/blog/our-business-model-a-few-words-about-other-shadcn-ui-kits
1•Wolfr_•41m ago•0 comments