frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Somebody's watching me – Adventures in Cellular Location services

https://nickvsnetworking.com/somebodys-watching-me-adventures-in-cellular-locating/
1•speckx•1m ago•0 comments

Lix 2.95 "Kakigōri"

https://lix.systems/blog/2026-03-25-lix-2.95-release/
1•PuercoPop•1m ago•0 comments

A nature-based early wildfire detection system

https://pyri.io/
1•mooreds•1m ago•0 comments

She uncovered a terrifying lab hidden in California, with alleged ties to China

https://www.latimes.com/california/story/2026-03-25/she-uncovered-terrifying-lab-hidden-in-califo...
2•latchkey•2m ago•0 comments

ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases

https://arxiv.org/abs/2510.20270
1•BalinKing•2m ago•0 comments

Airport wait times are longest in TSA history, agency says

https://www.usatoday.com/story/news/nation/2026/03/25/tsa-line-airport-wait-times-highest-in-hist...
1•geox•2m ago•0 comments

FreeCAD Version 1.1 Released

https://blog.freecad.org/2026/03/25/freecad-version-1-1-released/
1•sho_hn•3m ago•1 comments

PostHog: What we wish we knew about building AI agents

https://twitter.com/posthog/status/2036847339466301918
1•nadis•4m ago•0 comments

Show HN: Yoink – Spotify to lossless with full metadata, self-hostable, ad-free

https://yoinkify.com
2•chasefrazier•5m ago•0 comments

People's Choice Award – Wildlife Photographer of the Year

https://www.nhm.ac.uk/wpy/peoples-choice
1•Tomte•6m ago•0 comments

RocketMapper Satellite Tracker

https://rocketmapper.com/satellites
1•jonbaer•7m ago•0 comments

Show HN: Got a tough conversation coming up? This AI app will help you prepare

https://toughconversations.app/
1•ddesposito•7m ago•0 comments

Claude Code gets 'safer' auto mode

https://www.theverge.com/ai-artificial-intelligence/900201/anthropic-claude-code-auto-mode
2•datadrivenangel•8m ago•0 comments

Apple randomly closes bug reports unless you "verify" the bug remains unfixed

https://lapcatsoftware.com/articles/2026/3/11.html
1•zdw•8m ago•0 comments

China still on track to supplant US as No 1 economy in 10 years

https://www.scmp.com/economy/china-economy/article/3347863/china-still-track-supplant-us-worlds-n...
1•mikhael•8m ago•0 comments

IXI's autofocusing lenses are almost ready to replace multifocal glasses

https://www.engadget.com/wearables/ixis-autofocusing-lenses-multifocal-glasses-ces-2026-212608427...
2•andsoitis•10m ago•0 comments

Automatically generate all 3D print files for organizing a drawer

https://geniecrate.com/
1•woktalk•10m ago•0 comments

Shader Development Studio

https://www.shader.se
1•memalign•12m ago•0 comments

Project N.O.M.A.D. Offline Survival Computer Bundles AI, Wikipedia, Khan Academy

https://github.com/Crosstalk-Solutions/project-nomad
2•tagami•12m ago•1 comments

Microsoft Rust Training Books

https://github.com/microsoft/RustTraining
1•serial_dev•13m ago•0 comments

High-performance denoising library for ray tracing

https://www.openimagedenoise.org/
1•teleforce•13m ago•0 comments

Updates to GitHub Copilot interaction data usage policy

https://github.blog/news-insights/company-news/updates-to-github-copilot-interaction-data-usage-p...
5•prefork•13m ago•1 comments

Ball Pit

https://codepen.io/mrdoob_/full/NPRwLZd
4•memalign•14m ago•0 comments

Show HN: I built a voice AI that responds like a real woman

1•shalomer•14m ago•0 comments

Model collapse is already happening

https://cacm.acm.org/blogcacm/model-collapse-is-already-happening-we-just-pretend-it-isnt/
12•zdw•16m ago•6 comments

The OpenAI Safety Bug Bounty Program

https://openai.com/index/safety-bug-bounty/
1•Agreed3750•17m ago•0 comments

Google's TurboQuant offers LLMs up to 6x compression

https://arstechnica.com/ai/2026/03/google-says-new-turboquant-compression-can-lower-ai-memory-usa...
2•cwt137•17m ago•0 comments

Pulling the Lever

https://zaferbalkan.com/pulling-the-lever/
1•feldrim•18m ago•1 comments

Crocker's Rules

https://blainsmith.com/articles/crockers-rules/
1•speckx•19m ago•0 comments

At least 40% of Russia's oil export capacity halted, Reuters calculations show

https://www.reuters.com/business/energy/least-40-russias-oil-export-capacity-halted-reuters-calcu...
2•doener•21m ago•0 comments
Open in hackernews

A single-file C allocator with explicit heaps and tuning knobs

https://github.com/xtellect/spaces
1•enduku•1h ago

Comments

enduku•1h ago
I wrote this because I wanted more explicit control over heaps when building different subsystems in C. Standard options like jemalloc and mimalloc are incredibly fast, but they act as black boxes. You can't easily cap a parser's memory at 256MB or wipe it all out in one go without writing a custom pool allocator.

Spaces takes a different approach. It uses 64KB-aligned slabs, and the metadata lookup is just a pointer mask (ptr & ~0xFFFF).

The trade-off is that every free() incurs an L1 cache miss to read the slab header, and there is a 64KB virtual memory floor per slab. But in exchange, you get zero-external-metadata regions, instant teardown of massive structures like ASTs, and performance that surprisingly keeps up with jemalloc on cross-thread workloads (I included the mimalloc-bench scripts in the repo).

It's Linux x86-64 only right now. I'm curious if systems folks think this chunk API is a pragmatic middle ground for memory management, or if the cache-miss penalty on free() makes the pointer-masking approach a dead end for general use.