frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Memory Ordering in CPUs

https://fgiesen.wordpress.com/2026/08/25/memory-ordering-in-cpus/
1•Tomte•3m ago•0 comments

Placemark is now open source

https://macwright.com/2026/08/25/placemark-fully-open-source
1•Tomte•3m ago•0 comments

Run Open Models on Claude Desktop

https://ollama.com/blog/claude-desktop
1•ttunguz•22m ago•0 comments

Pilot program offering free bus rides to Detroit students to become permanent

https://www.detroitnews.com/story/news/local/detroit-city/2026/08/14/sheffield-makes-free-ddot-tr...
2•thunderbong•22m ago•0 comments

Ask HN: How do you explain system design to engineers who weren't in the room?

1•pandurang90•25m ago•1 comments

Kraftapp AI – Describe it. We build it. Customers find it

https://kraftapp.ai
1•ssurse•28m ago•0 comments

Show HN: Hands-on Docker security labs, from CIS checks to AI context poisoning

https://github.com/opscart/docker-security-practical-guide
1•opscart•31m ago•0 comments

I ran my code intelligence engine on 1k GitHub repositories

https://github.com/thecolourfoundation/rune�
1•malixp•34m ago•0 comments

I'm an Amazon SVP who hadn't coded in 25 years

https://www.aboutamazon.com/news/workplace/amazon-svp-ai-tools-employees-careers
2•dhruv3006•35m ago•0 comments

Show HN: MageCDN – Image CDN with unlimited bandwidth

https://magecdn.com/
1•shubhamjain•36m ago•0 comments

Drop JD and get customized interview course

https://www.interviewbasecamp.com/
1•balkrishnajha•40m ago•0 comments

Semantic caching has a structural gap that no threshold fixes

https://github.com/KushagraKanaujia/throttle/blob/main/scripts/negation_check.py
1•JohnScheuer•49m ago•0 comments

Show HN: A proxy that makes Forgejo speak the GitHub API

https://github.com/ThatXliner/anvil
1•thatxliner•56m ago•0 comments

The AI founders who walked away from Bezos-backed Prometheus to model universe

https://www.reuters.com/business/ai-founders-who-walked-away-bezos-backed-prometheus-model-univer...
2•petethomas•1h ago•0 comments

Extension 'ms-VSCode-remote.remote-SSH' CANNOT use API proposal

https://github.com/microsoft/vscode/issues/329735
2•themostunique•1h ago•0 comments

Students prefer Gemini over ChatGPT and Claude for AI essays in blind tests

https://studyarena.com/blog/chatgpt-vs-claude-vs-gemini-college-essays-2026
2•pasharayan•1h ago•1 comments

BetterReads: Read/Import/Track/Understand

https://www.betterreads.online
1•zlu•1h ago•1 comments

Data Centers Are Driving an Alarming Gas Power Expansion in the US

https://www.wired.com/story/us-data-centers-drive-gas-power-expansion/
3•newsomix9xl•1h ago•1 comments

Neuromancer Official Teaser

https://www.youtube.com/watch?v=g79GPZSQHBk
3•wslh•1h ago•0 comments

Ask HN: What is one simple thing LLMs are insanely bad at?

22•davidest•1h ago•38 comments

Plans for nuclear-powered merchant ships must confront risks

https://www.nature.com/articles/d41586-026-02388-6
1•mmooss•1h ago•0 comments

What platform has the best AI CMO?

1•probablygrillin•1h ago•0 comments

ILSpy in the Browser

https://osenkov.com/ilspy/
1•l33t_d0nut•1h ago•0 comments

Visual Analysis of Binary Files

https://binvis.io/#/
2•vismit2000•1h ago•0 comments

Show HN: Implementation of Kimi K3 in PyTorch

https://www.youtube.com/watch?v=U6sobPCsdaY
1•prasoon21•1h ago•0 comments

Darkbloom (AI inference on idle Macs) – security audit with PRs submitted

https://gist.github.com/mudiam/1ffc898333ac3d5bdc5d7fac96d33360
2•mudiam•1h ago•0 comments

RL Environments are all you need

https://twitter.com/madiator/status/2084657077637746957
2•gmays•1h ago•0 comments

Libracy – An ad-free, minimalist book tracker without social feeds

https://play.google.com/store/apps/details?id=com.libracy.app&hl=en_US
2•cehnzzdev•1h ago•0 comments

AWS Activate Credits

https://aws.amazon.com/
5•m4sk1994•1h ago•0 comments

Scottish photographer shot portraits of Alabama gingers to find American unity

https://www.al.com/news/2026/08/scottish-photographer-shot-stunning-portraits-of-alabama-gingers-...
2•thunderbong•1h 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).