frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI is a technology not a product

https://daringfireball.net/2026/05/ai_is_technology_not_a_product
1•ch_sm•1m ago•0 comments

PG&E to cut power in parts of Bay Area in anticipation of high winds

https://www.sfgate.com/weather/article/pge-power-shutoff-bay-area-22263223.php
1•turtlegrids•2m ago•0 comments

Nim-Presto – REST API Framework for Nim Language

https://github.com/status-im/nim-presto
1•TheWiggles•3m ago•0 comments

Intel Core i9-14900KF reaches 9.2Ghz setting a new CPU frequency world record

https://www.notebookcheck.net/Intel-Core-i9-14900KF-reaches-9-2Ghz-setting-a-new-CPU-frequency-wo...
1•theanonymousone•11m ago•0 comments

LogTape 2.1.0: Throttling, logfmt, and smarter redaction

https://github.com/dahlia/logtape/discussions/165
2•dahlia•16m ago•0 comments

(VBS-NN) ML – 512k context length pre-training on a 12GB GPU

https://github.com/ega4l/VBS-NN/tree/main/code
2•gromio•16m ago•0 comments

Stochastic Flocks and the Critical Problem of 'Useful' AI

https://www.techpolicy.press/stochastic-flocks-and-the-critical-problem-of-useful-ai/
1•bryanrasmussen•17m ago•0 comments

Construction on Meta's largest data center brings chaos to rural Louisiana

https://lailluminator.com/2025/11/22/meta-data-center-crashes/
2•bwoah•18m ago•0 comments

Coal Makes a Comeback, Fueled by War in the Middle East

https://www.wsj.com/business/energy-oil/coal-makes-a-comeback-fueled-by-war-in-the-middle-east-fb...
1•melling•18m ago•0 comments

AsymFlow: Turning Latent Diffusion Models into Pixel-Space Generators

https://firethering.com/asymflow-pixel-diffusion-image-model/
1•steveharing1•19m ago•0 comments

CUDA Books

https://github.com/alternbits/awesome-cuda-books
2•dariubs•20m ago•0 comments

Astronomers produce most detailed map of the cosmic web, across 13.7B years

https://news.ucr.edu/articles/2026/05/11/astronomers-produce-most-detailed-map-cosmic-web
1•giuliomagnifico•21m ago•0 comments

MatterSim-MT: A multi-task foundation model for materials characterization

https://arxiv.org/abs/2605.07927
1•ttths•23m ago•0 comments

Signals vs. Noise: How to spot architectural shifts

2•moniazamla•24m ago•0 comments

Reducing "show less like this" by 11% with NSFW filtering

https://blog.foryou.club/3mm2fbh4vp22r?auth_completed=true
1•lonk11•26m ago•0 comments

Yes, you can be allergic to water

https://www.popsci.com/health/water-allergy/
1•saikatsg•26m ago•0 comments

Learning-focused CTFs are Facing a Restructure

https://exploiting.systems/posts/2026-05-17-learning-focused-ctfs-are-facing-a-restructure
2•ropbear•27m ago•1 comments

Agentic Trading with Safe Guardrails

https://github.com/ShurikenTrade/shuriken-skills
2•jgan0978•28m ago•1 comments

Self-hosted browser fingerprinting and bot detection with real-world constraints

https://github.com/antoinevastel/fpscanner
1•mmarian•28m ago•0 comments

Show HN: I vibe coded a music box

https://www.quaxio.com/music_box/
1•amenghra•31m ago•0 comments

Hubski

1•Mamimina•32m ago•0 comments

Ask HN: How do you approach a new codebase?

2•praneetbrar•34m ago•3 comments

Post-Quantum JWT Library/Package for Node.js/JS/TypeScript (NIST FIPS 204M-DSA)

https://www.npmjs.com/package/@pq-jwt/core
2•bchain•34m ago•1 comments

The jobs apocalypse: a (very) short history

https://www.economist.com/finance-and-economics/2026/05/14/the-jobs-apocalypse-a-very-short-history
1•dcminter•36m ago•1 comments

What Do You Want?

https://dekodiert.de/en/articles/was-wollt-ihr-eigentlich
2•sdoering•40m ago•0 comments

'Once in a lifetime find': Dinosaur tail discovered trapped in amber (2016)

https://www.cnn.com/2016/12/08/health/dinosaur-tail-trapped-in-amber-trnd
1•downbad_•40m ago•0 comments

Async I/O in Zig 0.16, today

https://lalinsky.com/2026/05/11/async-io-in-zig-016-today.html
1•danborn26•41m ago•0 comments

Refactor: Unified Codebase for Better Performance

https://github.com/thesysdev/openui/pull/517
1•freakynit•44m ago•0 comments

WorkClarity – Free AI tools fo freelancers

https://workclarity.co
1•bmackler•44m ago•0 comments

Show HN: CLI for image/video to ASCII art

https://github.com/k-wong/ascii-art-generator
1•kevinwong•45m 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).