frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Backyard Coffee and Jazz in Kyoto

https://thedeletedscenes.substack.com/p/backyard-coffee-and-jazz-in-kyoto
201•wyclif•3h ago•100 comments

Making TRAMP go Brrrr

https://coredumped.dev/2025/06/18/making-tramp-go-brrrr./
108•celeritascelery•3h ago•49 comments

Minimal Boolean Formulas

https://research.swtch.com/boolean
25•mcyc•3d ago•0 comments

I Use My Terminal

https://jyn.dev/how-i-use-my-terminal/
68•todsacerdoti•3h ago•32 comments

Rocknix is an immutable Linux distribution for handheld gaming devices

https://rocknix.org/
85•PaulHoule•3d ago•23 comments

Launch HN: Reducto Studio (YC W24) – Build accurate document pipelines, fast

22•adit_a•2h ago•18 comments

uv: An extremely fast Python package and project manager, written in Rust

https://github.com/astral-sh/uv
113•chirau•1h ago•26 comments

New Linux udisks flaw lets attackers get root on major Linux distros

https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros/
297•smig0•3d ago•193 comments

NASA's Voyager Found a 30k-50k Kelvin "Wall" at the Edge of Solar System

https://www.iflscience.com/nasas-voyager-spacecraft-found-a-30000-50000-kelvin-wall-at-the-edge-of-our-solar-system-79454
71•world2vec•1h ago•41 comments

Interesting Bits of Postgres Grammar

https://steve.dignam.xyz/2025/06/20/interesting-bits-of-postgres-grammar/
14•sbdchd•3h ago•0 comments

Transparent Ambition: on translucent user interfaces

https://take.surf/2025/06/19/transparent-ambition
25•goranmoomin•1d ago•3 comments

How to store Go pointers from assembly

https://mazzo.li/posts/go-asm-pointers.html
59•pdziepak•5h ago•11 comments

Cataphract: Medieval-fantasy roleplaying wargame, in the Black-Sea C. 1300

https://samsorensen.blot.im/cataphracts-design-diary-1
122•vidro3•4d ago•26 comments

Python can run Mojo now

https://koaning.io/posts/giving-mojo-a-spin/
280•cantdutchthis•2d ago•131 comments

RaptorCast: Designing a Messaging Layer

https://www.category.xyz/blogs/raptorcast-designing-a-messaging-layer
25•wwolffrec•11h ago•10 comments

Klein Bottle Amazon Brand Hijacking (2021)

https://www.kleinbottle.com/Amazon_Brand_Hijacking.html
388•sebg•22h ago•184 comments

Using Home Assistant, adguard home and an $8 smart outlet to avoid brain rot

https://www.romanklasen.com/blog/beating-brainrot-by-button/
338•remuskaos•21h ago•173 comments

Homotopy Equivalences

https://bartoszmilewski.com/2025/06/20/weak-homotopy-equivalences/
50•ibobev•3d ago•8 comments

WhatsApp banned on House staffers' devices

https://www.axios.com/2025/06/23/whatsapp-house-congress-staffers-messaging-app
96•fahd777•2h ago•65 comments

Nano-Vllm: lightweight vLLM implementation built from scratch

https://github.com/GeeeekExplorer/nano-vllm
80•simonpure•13h ago•13 comments

Show HN: Lego Island Playable in the Browser

https://isle.pizza
210•foxtacles•19h ago•54 comments

Rivulet: An esolang inspired by calligraphy && code [video]

https://media.ccc.de/v/gpn23-35-rivulet-an-esolang-inspired-by-calligraphy-and-other-experiments-in-natural-language-code
11•exiguus•3d ago•1 comments

The X Window System didn't immediately have X terminals

https://utcc.utoronto.ca/~cks/space/blog/unix/XTerminalsNotImmediate
94•zdw•14h ago•53 comments

Radio Garden

https://radio.garden/?2025
186•LeoPanthera•20h ago•42 comments

Finding a billion factorials in 60 ms with SIMD

https://codeforces.com/blog/entry/143279
156•todsacerdoti•19h ago•10 comments

Scroll snapping, state queries, monster hunter, and gamification

https://utilitybend.com/blog/the-customizable-select-part-four-scroll-snapping-state-queries-monster-hunter-and-gamification
23•tobr•3d ago•10 comments

Backlash to artificial dye grows as Kraft ditches coloring for Kool-Aid, Jell-O

https://www.washingtonpost.com/business/2025/06/17/kraft-heinz-artificial-food-dyes-us-products/
73•bookofjoe•4h ago•151 comments

Polystate: Composable Finite State Machines

https://github.com/sdzx-1/polystate
95•goless•16h ago•32 comments

Tell me about your favorite tree (a slow-web proposal)

https://nannnsss.omg.lol/2025/tell-me-about-your-favorite-tree/
78•surprisetalk•3d ago•64 comments

Verlet Integration and Cloth Physics Simulation (2022)

https://pikuma.com/blog/verlet-integration-2d-cloth-physics-simulation
35•atan2•2d ago•11 comments
Open in hackernews

How to store Go pointers from assembly

https://mazzo.li/posts/go-asm-pointers.html
59•pdziepak•5h ago

Comments

jasonthorsness•2h ago
Go assembler is such a strange inclusion - I guess the idea is it lets you do low-level routines without requiring CGO?
nu11ptr•1h ago
That is my understanding. It lets you bypass CGo overhead, but I'd be lying if I said I fully understood it.
pjmlp•1h ago
Not really, having an Assembler around has been quite common in compiled languages, before the rise of scripting languages in the 2000's.

For all my complaints about Go's design, that is certainly one that I appreciate.

Thaxll•1h ago
It's heavily used where you need performance, for example crypto.

https://go.dev/wiki/AssemblyPolicy

https://github.com/golang/go/tree/master/src/crypto/internal...

nasretdinov•1h ago
My understanding is that for crypto specifically it constant-time algorithms matter due to security implications, and those are only available when you use specific branchless assembly instructions, so it's not just performance
charcircuit•56m ago
CPUs do not guarantee that branchless instructions always take the same amount of time.
Arnavion•54m ago
CPUs guarantee what they guarantee, and if they guarantee that a certain instruction takes an operand-independent time then it does.

For example a RISC-V CPU implementing the Zkt extension is required to implement a whole bunch of logical and arithmetic integer operations with operand-independent timing. This includes the two "branchless move" instructions from the Zicond extension, czero.eqz and czero.nez.

foobiekr•50m ago
Just to pick nits, the important thing is basically no secret-dependent { branches, loop bounds checks, memory accesses }. This is a lot more complex than simple "constant time."
cyberax•1h ago
Remember that Go actually compiles the code to machine code directly, so it needs to have an assembler for its compiler. And if you have it, then why not make it available?
Stratoscope•23m ago
> Go actually compiles the code to machine code directly

True.

> so it needs to have an assembler for its compiler.

No, it doesn't need an assembler for this. As you said correctly, it compiles to machine code directly.

While it was once fairly common to use assembly as an intermediate step, very few or any modern compilers do that. They just compile directly to binary machine code.

Go does have a -S flag to generate assembly language so you can review the generated code more easily. But that assembly code isn't part of the compilation pipeline, it's just optional output for human review.

foobiekr•49m ago
Sometimes you need assembly. There's nothing shocking here other than Go doing this well when it's a gap for most languages.