frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

500M CSV rows in a browser tab at ~1 GB RAM. no row limit, zero deps, no server

https://github.com/p10node/office-engine
5•pierreneter•2m ago•0 comments

Aaronson-Ambainis Conjecture proved (By AI, of course)

https://scottaaronson.blog/?p=10295
1•shortlived•2m ago•0 comments

xAI's Jet Engine-Powered Data Center Has Experts Raising the Alarm

https://www.slashgear.com/2309379/xai-jet-engine-data-center-pollution-alarm/
1•cdrnsf•2m ago•0 comments

31,088 secrets in Claude Code's .claude/settings.local.json on public GitHub

https://blog.gitguardian.com/claude-code-settings-local-json-secrets-docker-hub/
1•guedou•2m ago•0 comments

Spacefast, Everything Your Agents Need to Bring Your Ideas to Life

https://automattic.com/2026/11/09/meet-spacefast/
1•joshbetz•3m ago•0 comments

Non Profit YC Research Led to OpenAI? How to build impactful Institutes?

1•atul-mehra•4m ago•0 comments

Breaking a Rust actor cluster on purpose, and what it taught us

https://heikoseeberger.de/2026-11-09-chaos-verifier/
1•hseeberger•4m ago•0 comments

Automattic debuts Spacefast to deploy vibe coding apps amid a changing internet

https://techcrunch.com/2026/11/09/automattic-debuts-a-platform-to-deploy-vibe-coding-apps-amid-a-...
1•fka•4m ago•0 comments

Show HN: ISBN Books in Claude

https://claude.ai/artifact/Q97dQ1R6C2qRt4mvqKmiDD
1•supernihil•4m ago•1 comments

I built a comics app with bonus features

https://blampow.com/blog/introducing-blampow
1•bradestey•5m ago•0 comments

A complete set of canonical nucleobases in the carbonaceous asteroid (162173) Ry

https://www.nature.com/articles/s41550-026-02791-z
1•GlibMonkeyDeath•7m ago•0 comments

Run Linux applications in hypervisor-isolated micro-VMs with Hyperlight

https://www.cncf.io/blog/2026/11/09/run-linux-applications-in-hypervisor-isolated-micro-vms-with-...
1•shscs911•7m ago•0 comments

The Race to Build a "Find My" for AI Chips

https://spectrum.ieee.org/find-my-ai-chip
1•oldnetguy•8m ago•0 comments

Show HN: Kiiwi – Mechanical Keyboard sounds for your Mac

https://kiiwi.app/
2•tamilini92•9m ago•0 comments

Keep the Agent's Packets Out of the Host Kernel

https://kunalkushwaha.github.io/2026/11/09/keep-agent-packets-out-of-host-kernel/
1•kunalkushwaha•11m ago•0 comments

Factorio Mod: Claude the Engineer

https://mods.factorio.com/mod/claude-the-engineer
1•kevinbowman•11m ago•0 comments

AMD admits GPU driver bug is writing data continuously, wearing out SSDs

https://www.tomshardware.com/pc-components/gpu-drivers/amd-adrenalin-bug-could-be-writing-data-co...
2•rogerthis•11m ago•0 comments

Show HN ::Duo Vibe–Couples App: Connect with yours and enjoy there

https://play.google.com/store/apps/details?id=com.duovibe.app&hl=en_US
1•AnonManAny•13m ago•0 comments

Tell HN: If your device hub iOS simulator won't work after Xcode update

1•15o9o•14m ago•0 comments

Google unveils two new variants of in-house chips

https://www.reuters.com/business/google-to-introduce-two-variants-its-in-house-chips-bloomberg-ne...
1•qclibre22•14m ago•0 comments

Data Center Energy Use and Grid Impacts (November 2026) [pdf]

https://eta-publications.lbl.gov/sites/default/files/2026-11/data_center_energy_use_and_grid_impa...
1•compumike•14m ago•0 comments

Ask HN: Am I the only one that thinks $100/month earns us freedom of work?

2•figassis•15m ago•1 comments

The Agents on Rails Files: enter lemans, a Ruby harness for fair agent races

https://evilmartians.com/chronicles/the-agents-on-rails-files-enter-lemans-a-ruby-harness-for-fai...
1•tux404•15m ago•0 comments

Show HN: LinkMartin – your bookmarks shown in a private card on Google search

https://linkmartin.com/
1•sashaverg•15m ago•1 comments

Programming and Fatigue

https://www.natemeyvis.com/programming-and-fatigue/
1•Brajeshwar•16m ago•0 comments

How Product Hunt Almost Died

https://www.ryanhoover.me/post/how-product-hunt-almost-died
1•tosh•18m ago•0 comments

Exact by Expo: A Rust-based cross-platform native app runtime

https://github.com/expo/exact
2•kamilkabir9•18m ago•0 comments

Scientists Discover Chimpanzees Making Weapons [video]

https://www.youtube.com/watch?v=P9AIVuVoxO0
2•thelastgallon•18m ago•0 comments

Launching the Vite Ecosystem Fund

https://blog.cloudflare.com/launching-vite-ecosystem-fund/
1•torutofu•19m ago•0 comments

Space Mirrors Promise Daylight in the Dark, but Rescue Teams Aren't Convinced

https://www.backpacker.com/news-and-events/news/space-mirrors-search-rescue-test/
1•internet_points•20m ago•1 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•1y ago
I'd like to do some statistics over the machine code gcc generates, such as a histogram of used instructions, average volatile/preserved registers usage of functions etc. For now just x86_64 SysV-ABI would be enough.

However I'm not aware of any pre-existing tool that lets me easily do this. The options I currently see are either make gcc output assembly and write a parser for the GNU Assembler format (possibly by reusing the asm-parser of the compiler-explorer project), or write a tool that reads (disassembles) object files directly using elfutils.

Any hints, prior work, further ideas, links to useful resources, or any other kind of help would be much appreciated.

Comments

baobun•1y ago
"Static analysis" should be a relevant search term. Assuming you don't need to tie the instructions back to C code then the "gcc" part seems circumstancial for implementation? I guess you might want to parse the ASM into an Abstract Syntax Tree (AST) represenation and work on that?

If you do want to tie it back to the source, this looks relevant: http://icps.u-strasbg.fr/~pop/gcc-ast.html

phafu•1y ago
For my purpose I don't need to get back to the original source, no.

The gcc part is only relevant with regards to what dialect of assembler I need to parse. If I go that route, I'd write a parser for the GNU assembler, and that would of course work with any code in that dialect, regardless from which compiler it came from (I haven't checked whether other compilers can produce GNU assembler though).