frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Disney will stream Super Bowl this year

https://variety.com/2026/tv/news/disney-plus-streaming-super-bowl-lxi-2027-1236904265/
1•mikeaskew4•4m ago•2 comments

World Models Breakthrough in 2027 – Top Researchers

https://changxu.dev/radar/world-models
1•KazaNLP•4m ago•1 comments

Vede Website

https://www.vedaos.org/
1•vahmoh25•5m ago•0 comments

Woogles.io: A FOSS Word Game Platform

https://woogles.io
1•randlet•6m ago•0 comments

How the bad science of AI doomerism is good for big business

https://thebulletin.org/2026/09/how-the-bad-science-of-ai-doomerism-is-good-for-big-business/
1•pseudolus•6m ago•0 comments

MapRoulette security incident – October 2026

https://community.openstreetmap.org/t/maproulette-security-incident-october-2026/148566
2•raybb•12m ago•0 comments

Gigabyte W775-V10-L01 GB300 AI-Workstation

https://www.servethehome.com/gigabyte-w775-v10-l01-hands-on-bringing-nvidia-gb300-deskside/
2•jacquesm•20m ago•1 comments

Jane Austen themed reading room

https://study.scrivium.com/
3•curo•21m ago•2 comments

Show HN: Run Claude Frontend with Non-Anthropic Models

https://github.com/mkornreich/llm-desktop-electron
1•enjoyyourlife•22m ago•0 comments

When should an agent own the control flow?

https://www.calm.rocks/blog/pipeline-vs-agent/
2•calmrocks•26m ago•0 comments

US Bars Microsoft, Indian Firms from Visa Program in Blow

https://news.bloomberglaw.com/daily-labor-report/us-suspends-visa-program-for-tech-firms-includin...
7•nomagicbullet•30m ago•0 comments

AHM Statement on OpenAI's October 6 Release of Mathematical Documents

https://terrytao.wordpress.com/2026/10/07/ahm-statement-on-openais-october-6-release-of-mathemati...
2•doppp•33m ago•0 comments

Is society growing stupider? The clues are simple and repeated

https://www.washingtonpost.com/opinions/2026/10/07/culture-is-getting-simpler-that-should-worry-you/
8•pseudolus•35m ago•3 comments

From 35 seconds to half a second: 70× faster dashboards in plain Postgres

https://foresite.dev/blog/postgres-daily-rollups
2•cheesemoopy•35m ago•0 comments

Ranked: The Biggest Military Drone Exporters

https://www.visualcapitalist.com/ranked-countries-exporting-most-military-drones/
6•snarky-comments•38m ago•0 comments

Bending the Curve of Discovery: AI in Science Today and Tomorrow

https://institute.deepmind.com/essays/bending-the-curve-of-discovery-ai-in-science-today-and-tomo...
4•rkp8000•40m ago•0 comments

He built his own Flock-style camera to track police. The police didn't like it

https://san.com/cc/he-built-his-own-flock-style-camera-to-track-police-the-police-didnt-like-it/
3•crummy•40m ago•0 comments

PEP 848: Generational Incremental Garbage Collection

https://discuss.python.org/t/pep-848-generational-incremental-garbage-collection/109214
4•lumpa•42m ago•0 comments

Pyronaut

https://pyronaut.io/2026/10/02/introducing-pyronaut/
3•ejboy•44m ago•0 comments

Metadata Reactor – image to structured exportable text

https://metadatareactor.com/
2•nationalsun•47m ago•0 comments

Europe changes time forward soon, North America next, for the last time?

https://anarc.at/blog/2026-10-08-dst-warning/
3•lumpa•47m ago•0 comments

Why AI hasn't fixed software delivery yet, and what will

https://m1spec.com/why/
2•ahmedfouad•52m ago•0 comments

Linux Distro Called

https://waydro.id
6•aceave•52m ago•1 comments

Show HN: Auro, a package manager built for easy creation of packages

https://github.com/EliCJonas/auro
3•CodeGuyEli•52m ago•0 comments

SpaceX Makes Big Play to Become a Wireless Carrier

https://www.wsj.com/business/telecom/spacex-makes-big-play-to-become-a-wireless-carrier-a90b2a1b
5•bcaulfield•54m ago•0 comments

Show HN: Peer-to-peer web search over the YaCy network

https://search.my-yacy-node.org/
5•nikitakarpei•54m ago•1 comments

Plausibly fastest prime counting algorithm

https://github.com/zerafamik/Gold1
4•mikzerafa•56m ago•0 comments

Plausibly fastest prime sieving algorithm

https://github.com/zerafamik/Red2
2•mikzerafa•57m ago•0 comments

Show HN: Nace.ai Document Intelligence 1.0

https://www.nace.ai/developers
5•itomatik•58m ago•0 comments

The Olive Tree

https://worldsensorium.com/the-olive-tree/
3•dnetesn•1h ago•0 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).