frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Avoiding AI Debt with the A3 Delegation System

https://age-of-product.com/a3-delegation-system-agile-artifacts/
1•swolpers•58s ago•0 comments

World First Quantum Safe Election Software

https://www.suffrageq.com/
1•AMILLI_AI_CORP•1m ago•1 comments

Anime Professions

https://github.com/elmiram/anime-professions
1•Gray0Ed•1m ago•1 comments

PlainLink – clean tracking URLs at the clipboard, not the browser

https://github.com/HexCodeYT/PlainLink
1•hexcode_•1m ago•0 comments

Show HN: Health context/timeline builder for AI (mobile app)

https://apps.apple.com/us/app/kurozu-ai-health-context/id6788347862
1•wu375•1m ago•0 comments

Why workers are nostalgic for life before AI

https://www.ft.com/content/2ddef625-df80-4690-9475-f3ce86171593
1•1vuio0pswjnm7•2m ago•0 comments

Cartopolis: OpenStreetMap rendered like it's 1999

https://seriot.ch/cartopolis/
1•marklit•2m ago•0 comments

Show HN: CrispVoice – Studio voice enhancement that never uploads your voice

https://github.com/Francium-Tech/CrispVoice
4•bragboy•6m ago•0 comments

Show HN: Managing on-premise servers without Kubernetes

https://github.com/ricardoborges/Nautilus
4•r2ob•6m ago•0 comments

Ask HN: What are the most promising RL fields for a new master student?

4•zecice•9m ago•0 comments

Coinbase Switches to Chinese AI Models GLM and Kimi, Cuts AI Spending by 50%

https://mlq.ai/news/coinbase-switches-to-chinese-ai-models-glm-and-kimi-cuts-ai-spending-by-50/
3•mgh2•10m ago•0 comments

No-Look Coding and the Five Stages of Grief

https://blog.kindel.com/2026/07/24/no-look-coding-and-the-five-stages-of-grief/
2•yruzin•10m ago•0 comments

Silicon Valley Splits over Closing the Borders to Chinese A.I

https://www.nytimes.com/2026/07/25/technology/open-source-silicon-valley-china.html
2•thm•14m ago•0 comments

NASA Fire Information Interactive Map

https://firms.modaps.eosdis.nasa.gov/map/#d:2026-07-20..2026-07-26;@19.0,1.5,3.0z
1•Eridanus2•16m ago•0 comments

Ask HN: Graal VM Relevance

3•sid_op•17m ago•0 comments

Typhoon Noul forces more than 715,000 from homes and cancels flights

https://www.theguardian.com/world/2026/jul/26/typhoon-noul-china-hong-kong
2•tosh•17m ago•0 comments

The Assault on Science Funding Continues

https://www.science.org/content/blog-post/assault-science-funding-continues
1•mooreds•17m ago•0 comments

What a $15 pint of ice cream says about the economy

https://www.cnn.com/2026/07/25/economy/15-usd-pint-ice-cream-economy
2•mooreds•18m ago•1 comments

The New AI Superpowers: Focus and Followthrough

https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and
1•mooreds•19m ago•0 comments

Romanian shoots down drone entering country's airspace for third day in a row

https://www.france24.com/en/europe/20260726-romanian-jet-shoots-down-drone-entering-country-airsp...
2•olexsmir•25m ago•0 comments

Meta faces higher borrowing costs in latest $12B data centre financing

https://www.ft.com/content/822628c5-4f9c-47db-bd27-f3ad7f841700
3•1vuio0pswjnm7•27m ago•0 comments

Managing File Descriptors for Durability and Performance

https://blog.atimin.dev/handling-file-descriptors/
1•flipback•27m ago•0 comments

Building Drizzle ORM

https://underdogfounders.substack.com/p/the-story-of-building-drizzle-orm
1•matijash•28m ago•0 comments

LoRA Fine-Tuning and Profiling of a 0.5B Language Model on Apple Silicon

https://zenodo.org/records/21541601
1•tanmaydesh5189•29m ago•0 comments

Show HN: Cuts Long Horizon Inference Costs by 50% via external KV Cache Offload

https://github.com/openlake-project/openlake
20•arnav__1•29m ago•0 comments

Show HN: Temporal Context Map

https://ab.neudice.eu/
2•zebike•32m ago•0 comments

The Money AMD Is Chasing with Its Rackscale AI System Roadmaps

https://www.nextplatform.com/compute/2026/07/24/the-money-amd-is-chasing-with-its-rackscale-ai-sy...
1•rbanffy•34m ago•0 comments

Introduction to Microsoft Excel 1990 with Jan Brehm

https://www.youtube.com/watch?v=kOO31qFmi9A
3•chistev•35m ago•0 comments

Shared Claude chats showing up in Google results

https://old.reddit.com/r/ClaudeAI/comments/1v6fiyj/you_can_view_a_lot_of_shared_conversations_via/
1•dgellow•37m ago•0 comments

US tech groups cut 140k jobs despite AI spending boom

https://www.ft.com/content/96a33881-27fd-42cf-8cff-4cbc87fc835f
3•1vuio0pswjnm7•37m 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).