frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Coq: The World's Best Macro Assembler? [pdf] [2013]

https://nickbenton.name/coqasm.pdf
14•addaon•1h ago

Comments

throwaway198846•27m ago
They are going by Rocq today
AdieuToLogic•14m ago
The linked PDF was created on 8/5/13.
volemo•9m ago
Then the title needs (2013), no?
addaon•7m ago
Yep, sorry. Added.
volemo•10m ago
I understand and respect the renaming, Coq was a much cooler name though.
addaon•11m ago
Poster here. I re-read this paper about once a year. I continue to think that it may be one of the most important papers I've read. As someone who works on high-reliability safety-critical real-time systems (automotive, avionics), being able to work in an environment where I could prove semantic properties of assembly code is pretty close to my dream -- the cost of demonstrating code correct is already so much higher than the cost of writing the code that the incremental cost of going to assembly seems minor, if there's even a small payback in time to demonstrate correctness. In practice, I think my dream language would be a relatively rich macro assembler plus a (guided, greedy) register allocator, designed entirely to simplify and allow semantic proofs. I don't really have a sense as to whether Coq (Rocq) is the right answer today, vs other options; or if there's a newer literature advancing this approach; but I'd truly love to see a deeper focus of making low level languages more useful in this space, rather than moving towards more constrained, higher level languages.
quanto•8m ago
This paper reminds me of a class assignment in grad school where the prof asked the students to write a compiler in Coq for some toy Turning-complete language in a week. Having no background in compiler design or functional programming, I found it daunting at first, but eventually managed it. The Coq language's rigor really helps with something like this.

I wonder if AI's compute graph would benefit from a language-level rigor as of Coq.

kragen•2m ago
The canonical URL, dating back to at least 02015, may be http://research.microsoft.com/en-us/um/people/nick/coqasm.pd..., which now redirects to https://www.microsoft.com/en-us/research/publication/coq-wor.... This site presumably belongs to the Nick Benton who is one of its authors.

Contrast best practices between OS and enterprise

https://gist.github.com/bdfinst/496d06b057c44edae7fd88d906e78f67
1•gpi•5m ago•0 comments

OpenAI API user data exposed in Mixpanel security breach

https://www.dqindia.com/news/openai-api-user-data-exposed-in-mixpanel-security-breach-10816218
4•donsupreme•5m ago•0 comments

How to Fix a Typewriter and Your Life

https://www.nytimes.com/interactive/2025/11/20/us/typewriter-repair-seattle-bremerton.html
1•gmays•8m ago•0 comments

Show HN: Era – Open-source local sandbox for AI agents

https://github.com/BinSquare/ERA
1•gregTurri•11m ago•0 comments

The Temporal Uncanny Valley: On the Nature of AI Work

https://substack.com/inbox/post/180071478
1•mpesce•12m ago•1 comments

Fracking has transformed an Argentine town

https://www.bbc.com/news/articles/cewj1e1yk2vo
1•1659447091•14m ago•0 comments

Evaluating Uniform Memory Access Mode on AMD's Turin

https://chipsandcheese.com/p/evaluating-uniform-memory-access
1•zdw•17m ago•0 comments

PostgreSQL CDC library with snapshot – 50x less memory than Debezium

https://github.com/Trendyol/go-pq-cdc
1•erayarslan•17m ago•0 comments

The Thinking Game – Full documentary [video]

https://www.youtube.com/watch?v=d95J8yzvjbQ
1•vinhnx•17m ago•0 comments

Tell HN: Happy Thanksgiving

3•prodigycorp•18m ago•0 comments

Cuffing Season: A look at culture and science

https://www.bbc.com/future/article/20251124-cuffing-season-is-winter-the-season-for-romance
1•1659447091•21m ago•0 comments

Two National Guard members in critical condition after shooting near White House

https://www.bbc.com/news/articles/c3r7qpqddnro
3•colinprince•23m ago•0 comments

Z-Image Turbo Released – 6B Parameter Text to Image Model

https://huggingface.co/Tongyi-MAI/Z-Image-Turbo
1•rossriley•23m ago•0 comments

Jony Ive and Sam Altman say they have an AI hardware prototype

https://www.theverge.com/news/827607/openai-hardware-prototype-chatgpt-jony-ive-sam-altman
1•ent101•26m ago•0 comments

$96M AUD revamp of Bom website bombs out on launch

https://www.bbc.com/news/articles/c2k4dy15nqqo
4•sam-cop-vimes•34m ago•1 comments

The AI Industry's Scaling Obsession Is Headed for a Cliff

https://www.wired.com/story/the-ai-industrys-scaling-obsession-is-headed-for-a-cliff/
1•zerosizedweasle•34m ago•0 comments

Building Agents Is Hard, Meet Stripe for Agents

https://grupa.ai/api
1•balmdotai•37m ago•0 comments

What happens if you throw sand into a jet engine? [video]

https://www.youtube.com/watch?v=QtxVdC7pBQM
2•gmays•43m ago•0 comments

Music eases surgery and speeds recovery, study finds

https://www.bbc.com/news/articles/c231dv9zpz3o
2•1659447091•43m ago•0 comments

Show HN: Interactive Relative Rotation Graphs for 500 Stocks (Python/Plotly)

https://prasnna.github.io/market-intelligence.html
1•prasnna•49m ago•0 comments

Show HN: Floaty – a tiny macOS tool to pin any window always on top

https://www.floatytool.com/
2•fayecat910•50m ago•1 comments

Scientists Unearth 15-Meter Snake Fossil in India, as Large as a T. Rex

https://dailygalaxy.com/2025/11/scientists-unearth-15-meter-snake-fossil/
1•zdw•51m ago•0 comments

Wingsuit pilot gains altitude mid-flight using a foil wing

https://www.redbull.com/int-en/peter-salzmann-soaring-wingsuit-foil-wing-breakthrough
1•melenaboija•54m ago•0 comments

Three Directions in Design: Gerald Jay Sussman (2024) [video]

https://www.youtube.com/watch?v=Tdwr9tweTDE
1•swatson741•54m ago•0 comments

Chile's Route 7: One of the Last Great Road Trips

https://www.bbc.com/travel/article/20251006-chiles-carretera-austral-a-tough-lonely-drive-to-the-...
2•skx001•55m ago•0 comments

Coq: The World's Best Macro Assembler? [pdf] [2013]

https://nickbenton.name/coqasm.pdf
14•addaon•1h ago•10 comments

Generalized Worley Noise

https://ianthehenry.com/posts/generalized-worley-noise/
2•todsacerdoti•1h ago•0 comments

Indonesia's Jakarta now the world's largest city, Tokyo falls to third: UN

https://www.aljazeera.com/news/2025/11/26/indonesias-jakarta-now-the-worlds-largest-city-tokyo-fa...
2•thunderbong•1h ago•1 comments

From Frustration to Foundation: Story Behind Building ADirectory

https://www.indiehackers.com/post/from-frustration-to-foundation-the-indie-hacker-story-behind-bu...
1•abdurbd•1h ago•0 comments

LLMs can invent their own compression

https://www.rajan.sh/llm-compression
1•dsr12•1h ago•0 comments