frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

GC shape stenciling in Go generics

https://rednafi.com/go/gc-shape-stenciling/
23•ingve•4d ago

Comments

munificent•35m ago
Good article. Some related bits that other languages do:

Swift is able to avoid monomorphizing even when the type arguments have different GC shapes and allocation strategies. To do that, the dictionary (what Swift calls a "witness table") has entries for the functions the memory manager needs to allocate and trace a value of type argument's type.

Go's notion of dictionary and Swift's witness tables share a lot of DNA with how Haskell compiles generic code using type classes.

C#/.NET does an interesting hybrid approach. When source code is compiled to .NET bytecode, the generic code is only compiled once. Then at load time, the JIT will take that bytecode and monomorphize it to native code for each instantiation using a value type (primitive or struct). But instantiations of reference types all share a single JITTed implementation.

jaeyoungkim•3m ago
A related self-plug, but if anyone wants to see additional examples, I've written a detailed exploration of Go generics as part of a larger Go reverse engineering reference here: https://docs.google.com/document/d/1AG76FBur7aagm36o-hNbny1X...

Kimi K3 is now live

https://www.kimi.com/en
387•vincent_s•2h ago•201 comments

Microsoft Comic Chat is now open source

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/
115•jervant•1h ago•30 comments

Decoy Font

https://www.mixfont.com/experiments/decoy-font
45•ray__•1h ago•26 comments

Detecting LLM-Generated Texts with "Classical" Machine Learning

https://blog.lyc8503.net/en/post/llm-classifier/
28•uneven9434•37m ago•7 comments

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
401•pilililo2•7h ago•218 comments

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
98•yabones•3h ago•46 comments

Adaptional (YC S25) Is Hiring

https://www.ycombinator.com/companies/adaptional/jobs
1•acesohc•17m ago

How Our Rust-to-Zig Rewrite Is Going

https://rtfeldman.com/rust-to-zig
195•jorangreef•5h ago•103 comments

NotebookLM is now Gemini Notebook

https://blog.google/innovation-and-ai/products/gemini-notebook/notebooklm-gemini-notebook/
20•xnx•1h ago•5 comments

The lost joy of music piracy

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming
633•mcgin•12h ago•429 comments

56,000 lines of DOOM, in a language I made up

https://betlang.dev/about/
9•ghuntley•53m ago•6 comments

Launch HN: Traceforce (YC S26) – Company-wide security monitoring for AI apps

4•XiaHua•26m ago•1 comments

Immersive Linear Algebra Book with Interactive Figures

https://immersivemath.com/ila/
17•srean•1h ago•0 comments

Guide to data tools landscape for developers

https://sinja.io/blog/data-landscape-guide-for-developers
44•OlegWock•2h ago•9 comments

How to Train a Gen AI Kick Drum Model on Your Old Linux Desktop with 6GB VRAM

https://www.zhinit.dev/blog/training-a-kick-drum-diffusion-model
24•zhinit•2h ago•17 comments

GC shape stenciling in Go generics

https://rednafi.com/go/gc-shape-stenciling/
23•ingve•4d ago•2 comments

Sony Deletes a Bunch More Movies from the Accounts of People Who 'Bought' Them

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-...
349•nekusar•5h ago•192 comments

Let's Build PlanetScale from Scratch: Infrastructure

https://onatm.dev/2026/07/16/homescale-part-1/
95•onatm•5h ago•16 comments

Ente – Opening Our Books

https://ente.com/open/
156•Sherex•6h ago•47 comments

Show HN: Galois connections for composable numeric casts in Rust

https://github.com/cmk/connections
5•partialsolve•42m ago•0 comments

Show HN: Leaves – a text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
7•patonw•1h ago•1 comments

Building scalable AI agents with modular prompt transpilation

https://developers.googleblog.com/building-scalable-ai-agents-with-modular-prompt-transpilation/
6•yruzin•56m ago•1 comments

Show HN: Sentinel – open-source QA agent that reads your code before it clicks

https://blog.simbastack.com/announcing-sentinel/
9•asenna•1h ago•1 comments

Show HN: A modern port of Linux to a ten-year-old QWERTY phone

6•tmzt•1h ago•0 comments

Agent-talk: Enabling coding agents to work together

https://github.com/xhluca/agent-talk
9•xhluca•1h ago•0 comments

Kimi K3 Is Live

https://www.kimi.com/code/docs/en/kimi-code/models
9•milsebg•2h ago•1 comments

Photos of items from families in different countries with different incomes

https://www.gapminder.org/dollar-street
31•uneven9434•54m ago•1 comments

Accidental Anonymity

https://macwright.com/2026/06/24/accidental-anonymity
29•caminanteblanco•2d ago•4 comments

Helicone allows users to write SQL directly to a shared ClickHouse

https://www.justintorre.com/blogs/clickhouse-rls-query-parameters
6•justintorre75•2d ago•2 comments

1,300 Beautiful Wildlife Illustrations from the 19th Century Now Restored

https://www.openculture.com/2026/07/explore-1300-beautiful-wildlife-illustrations-from-the-19th-c...
200•gslin•14h ago•37 comments