frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rig: Build modular LLM apps in Rust – 20 providers, one unified interface

https://github.com/0xPlaygrounds/rig
1•michidk•12s ago•0 comments

Ask HN: Will AI be the end of new programming languages?

1•otherayden•25s ago•0 comments

Women were never meant to give birth on their backs

https://www.bbc.com/future/article/20260401-women-were-never-meant-to-give-birth-on-their-backs
1•ilt•1m ago•0 comments

Show HN: Orcastrate – Sync GitHub Actions workflows across repos via templates

https://github.com/michidk/orcastrate
1•michidk•1m ago•0 comments

Mourning for dinosaurs, 65M years too late

https://www.cnn.com/2026/04/05/science/dinosaurs-tiktok-documentary-cec
1•mooreds•2m ago•0 comments

The AI Compute Race: Microsoft's Miss and Oracle's Opportunity (2025)

https://isolveproblems.substack.com/p/the-ai-compute-race-microsofts-miss
1•mooreds•3m ago•0 comments

Zipf's Law

https://en.wikipedia.org/wiki/Zipf%27s_law
1•mooreds•4m ago•0 comments

Loqi, a memory system that preserves context after LLM compaction

https://github.com/wf802222/loqi
1•nobris•6m ago•0 comments

The Forgotten Ones: Actron AM1608 16-Bit CPU. – The CPU Shack Museum

https://www.cpushack.com/2026/04/01/the-forgotten-ones-actron-am1608-16-bit-cpu/
1•rbanffy•8m ago•0 comments

Apple at 50: My journey to the Mac – anderegg.ca

https://anderegg.ca/2026/04/01/apple-at-50-my-journey-to-the-mac
1•rbanffy•11m ago•0 comments

Show HN: Genetic algorithm engine that evolves trading strategies

https://github.com/NeuZhou/finclaw
1•neuzhou•12m ago•0 comments

Musician says AI company is cloning her music, filing claims against her

https://twitter.com/i/status/2040577536136974444
1•lando2319•14m ago•0 comments

Emilia Britannia (public domain freedom mascot)

https://github.com/Joy-less/EmiliaBritannia
3•Joy-less•14m ago•0 comments

Show HN: RPLY - one Inbox for iMessage, WhatsApp, Slack, and Gmail on macOS

https://www.heynox.com
3•mcantillon•20m ago•3 comments

Track what top investors own (13F) and why they own it (10K AI Analysis)

https://superinvestorsbelike.com
3•oodelally•21m ago•0 comments

Framework? I sure hope it does

https://blog.valknight.xyz/framebroken.html
1•coinfused•27m ago•0 comments

Artemis II Tracker – Live Mission Control

https://artemis.cdnspace.ca/
1•rbanffy•27m ago•0 comments

Days Since OpenClaw CVE

https://days-since-openclaw-cve.com/
2•verandaguy•31m ago•0 comments

Show HN: MailMark – Cold email tool where you own your domain and mailboxes

1•debasishbarai•32m ago•1 comments

Show HN: Arbory – Native iOS dashboard and widgets for Plausible Analytics

https://arbory.io/
2•jorijn•38m ago•0 comments

An elegant Pomodoro timer for your terminal

https://github.com/kaushalvivek/pom
1•kaushalvivek•38m ago•0 comments

/Render – 3D Model Skill for Claude Code

https://github.com/mfranzon/render
4•mfranzon•41m ago•0 comments

Can We Measure Software Slop? An Experiment

https://pscanf.com/s/352/
1•RohanAdwankar•41m ago•0 comments

Chinese Chip Firms Hit Record High Revenue Driven by the AI Boom and U.S. Curbs

https://www.cnbc.com/2026/04/03/chinese-chip-firms-record-revenue-ai-boom-us-curbs.html
2•karakoram•43m ago•0 comments

Why Your Engineering Team Is Slow (It's the Codebase, Not the People)

https://piechowski.io/post/codebase-drag-audit/
3•BerislavLopac•43m ago•0 comments

Journalist detained for booing Trump at Kennedy Center Chicago performance

https://www.advocate.com/news/kennedy-center-journalist-detained-trump
5•wahnfrieden•43m ago•0 comments

Securing AI infrastructure to prevent backdoors and sabotage

https://www.the-substrate.net/p/securing-ai-infrastructure-to-prevent
2•erwald•46m ago•0 comments

Code Is Worthless

https://nathanielfishel.substack.com/p/your-code-is-worthless
1•birdculture•47m ago•0 comments

YAML is (not) my preferred configuration format

https://belkadan.com/blog/2026/03/YAML-Is-Not-My-Preferred-Configuration-Format/
3•frizlab•49m ago•0 comments

Eggplant

https://xn--gi8h42h.ws/
1•memalign•51m ago•1 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•10mo 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•10mo 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•10mo 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).