frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tokenizer Mono

https://george.mand.is/2026/11/the-tokenizer-font/
1•georgemandis•48s ago•1 comments

Think Less, Aim for Less (When It Comes to Hardware)

https://techrights.org/n/2026/11/03/Think_Less_Aim_for_Less_When_It_Comes_to_Hardware.shtml
1•amcclure•1m ago•0 comments

Show HN: GTMshortlist – I asked Claude for the best AI SDR. It wasn't yours

https://gtmshortlist.ai/
1•bigryanhacks•1m ago•0 comments

Textual has a new home, and it is us (macOS IRC client)

https://www.textualapp.com/news/a-new-chapter
1•dewey•2m ago•0 comments

How we made evals 100× cheaper with multi-agent architecture

https://cleric.ai/blog/how-we-made-evals-100x-cheaper-with-multi-agent-architecture
1•fritzschopen•2m ago•0 comments

Europe's Agentic Opportunity [pdf]

https://cdn.openai.com/pdf/europes-agentic-opportunity.pdf
1•gmays•3m ago•0 comments

Is Curiosity Good for Us?

https://www.lrb.co.uk/the-paper/v48/n20/adam-phillips/is-curiosity-good-for-us
1•bookofjoe•4m ago•0 comments

Omarchy 4.5 will ship with full compatibility for M1, M2, M3, and Neo

https://twitter.com/dhh/status/2117992511407014110
1•lwhsiao•4m ago•0 comments

Powering Artificial Intelligence [pdf]

https://iea.blob.core.windows.net/assets/cd360a30-aaef-43cd-84e6-a125c3a0bc67/PoweringArtificialI...
2•gmays•5m ago•0 comments

Steven Vaughan-Nichols Is Slop

https://techrights.org/n/2026/11/04/Steven_Vaughan_Nichols_is_Slop.shtml
1•amcclure•5m ago•0 comments

A 16-step drum sequencer in the browser

https://plastic.audio/drum-sequencer/
1•madbyte•6m ago•0 comments

People Against Genocide Smash Military Satellites on Balfour Anniversary

https://aftershock.media/military-satellites-balfour/
2•slowin•7m ago•0 comments

'It's just vape, nail, charity shops': Can anything save UK high street?

https://www.theguardian.com/business/2026/nov/04/what-can-save-the-british-high-street-rotherham
3•theanonymousone•8m ago•0 comments

Show HN: GPUWorks – A 40 MB GPU cluster manager for vLLM/SGLang, no K8s needed

https://github.com/flitai-io/gpuworks
2•wangweinoo1•10m ago•0 comments

USA vs China: Who Spent $4T Better? [video]

https://www.youtube.com/watch?v=RKs-33twRv8
2•karakoram•12m ago•0 comments

Learn how to design AI systems

https://github.com/daneb/ai-system-design-primer/
1•danebalia•12m ago•1 comments

OpenAI targets Microsoft's GitHub with deal to acquire dev tools startup

https://finance.yahoo.com/technology/ai/articles/exclusive-openai-targets-microsofts-github-11290...
2•theanonymousone•12m ago•0 comments

Shlemiel the Painter Is Back: How Zig's Libc Rewrite Made SQLite 12,000× Slower

https://dennisforbes.ca/blog/microblog/2026/10/the_accidental_12000x_sqlite_slowdown/
1•theanonymousone•13m ago•0 comments

Show HN: 25posts – Guess the impressions of real LinkedIn posts

https://25posts.com/play
2•bilyas509•14m ago•1 comments

MSecure password manager hack prompts password reset warnings

https://www.bleepingcomputer.com/news/security/msecure-password-manager-hack-prompts-password-res...
1•sashk•15m ago•0 comments

Show HN: Meshword - crosswords meet nonograms

https://meshword.org/
2•oliwary•15m ago•0 comments

And now, all of the conditions are set for universal basic income

https://twitter.com/Joshbocanegra/status/2117992864638750744
3•jbai•15m ago•0 comments

LZ4 v1.11.0: multithreading in the library, speed gains for small data

https://github.com/lz4/lz4/releases/tag/v1.11.0
1•mfiguiere•15m ago•0 comments

Westchester voting snafu stemmed from a change in one Ardsley contest

https://www.lohud.com/story/news/politics/elections/2026/11/03/westchester-rockland-putnam-electi...
1•quuxplusone•16m ago•1 comments

Deterministic security and privacy checks for code from AI assistants

https://github.com/ankush1982/ai-secure-by-design
1•ankush82•16m ago•0 comments

Glyph Keyboard (Typewriter Type)

https://boilingsteam.com/epomaker-glyph-keyboard-review/
1•ekianjo•17m ago•0 comments

Uber only fulfilled 4 rides from AI agents last quarter

https://www.theverge.com/transportation/1026306/ber-ai-agents-q3-earnings-disintermediation
1•mattas•19m ago•0 comments

'A historic beatdown': Americans take back their country in rebuke to Trump

https://www.theguardian.com/commentisfree/2026/nov/04/a-historic-beatdown
5•hkhn•19m ago•0 comments

Buttons are back and storage is king when it comes to car interiors

https://arstechnica.com/cars/2026/11/yes-to-storage-no-to-piano-black-how-car-interior-design-is-...
2•Brajeshwar•19m ago•0 comments

As Mangrove Forests Expand in China, Bird Species Multiply

https://e360.yale.edu/digest/china-mangrove-restoration-bird-species
1•Brajeshwar•19m 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).