frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Entire: Open-source tool that pairs agent context to Git commits

https://entire.io/
1•resiros•17s ago•0 comments

Markdown CLI viewer with VI keybindings

https://github.com/taf2/mdvi
1•taf2•59s ago•0 comments

Show HN: PocketBun (PocketBase Ported to Bun)

https://github.com/pekeler/pocketbun
1•xpekeler•1m ago•0 comments

Nvidia must live with guardrails around its AI chip sales to China, Lutnick says

https://www.reuters.com/business/media-telecom/nvidia-must-live-with-guardrails-around-its-ai-chi...
1•giuliomagnifico•2m ago•0 comments

Clacker News – A bot-only platform

https://clackernews.com/
2•headalgorithm•3m ago•0 comments

He Vowed to Revive RadioShack and Pier 1. Investors Say They Were Swindled

https://www.wsj.com/business/retail/tai-lopez-radioshack-pier1-investors-sec-66352aab
1•kwar13•3m ago•0 comments

Show HN: Standalone SEO library for PHP, v3 released

https://github.com/melbahja/seo/releases/tag/v3.0.2
1•exec7•3m ago•0 comments

Google Handed ICE Student Journalist's Bank and Credit Card Numbers

https://theintercept.com/2026/02/10/google-ice-subpoena-student-journalist/
4•lehi•4m ago•0 comments

An Open Letter on the Epistemic Loss of Retiring GPT‑4o

https://github.com/openai/openai-cookbook/issues/2426
1•vreticaltension•4m ago•1 comments

Pi Is Vim

https://www.generativist.com/notes/2026/Feb/10/pi-is-vim
1•pathdependent•4m ago•0 comments

Smallpox killed 300M people last century. One man helped stop it

https://www.vox.com/the-highlight/477307/smallpox-william-foege-disease-infectious-disease-measle...
2•MaysonL•5m ago•0 comments

$50K Polaris RZR Pro R Ultra Edition Adds Hydraulic Active Sway Bar Links

https://www.thedrive.com/news/50k-polaris-rzr-pro-r-ultra-edition-adds-hydraulic-active-sway-bar-...
1•PaulHoule•6m ago•0 comments

Electric hydrofoils could remake urban transport

https://www.economist.com/science-and-technology/2026/02/09/flying-electric-boats-could-remake-ur...
2•scythe•7m ago•0 comments

Leadership at the Peak

https://ma.tt/2026/02/lap/
2•jszymborski•7m ago•0 comments

Dueling AIs Reconstruct Rules of Mysterious Roman-Era Board Game

https://gizmodo.com/dueling-ais-reconstruct-rules-of-mysterious-roman-era-board-game-2000719655
1•nickthegreek•7m ago•0 comments

Deadlog – almost drop-in Mutex for debugging Go deadlocks

https://github.com/stevenctl/deadlog
1•dirteater_•7m ago•1 comments

Show HN: Hyperspectra – Desktop tool for exploring AVIRIS-3 hyperspectral images

https://github.com/christophernagel/hyperspectra
2•chrisnagel•9m ago•0 comments

Saying No to Good Ideas

https://www.modernleader.is/p/saying-no-to-good-ideas
1•mooreds•10m ago•0 comments

ClawHub

https://clawhub.ai/
3•druther•11m ago•0 comments

Show HN: Fix your CSV's files problems

https://www.repairmycsv.com/
2•bigmotion•11m ago•0 comments

Show HN: Race across the world using only public transport

https://geo-racers.com/
1•pattle•12m ago•0 comments

The $70M Website That Doesn't Work: Inside AI.com's Super Bowl Disaster

https://www.ibtimes.co.uk/70-million-website-that-doesnt-work-inside-aicoms-super-bowl-disaster-1...
1•cf100clunk•12m ago•0 comments

Marginal Revolution

https://sebastiangaliani.substack.com/p/marginal-revolution
1•jandrewrogers•12m ago•0 comments

London's Most Controversial Cyclist

https://www.the-londoner.co.uk/jeremy-vine-loves-him-motorists-hate-him-is-this-londons-most-cont...
1•cainxinth•12m ago•0 comments

100reqs/s in Pilot Protocol after agents gain discoverability across net

https://polo.pilotprotocol.network
1•teocalin37•13m ago•0 comments

LLMs: A Compiler for User Intent to Computer Code

https://codeagentsalpha.substack.com/p/the-highest-level-programming-language
1•olegkozlov•14m ago•1 comments

Python by Example

https://github.com/pycollege/python-by-example
3•dariubs•15m ago•2 comments

Alphabet to sell rare 100-year bond to fund AI expansion, bookrunner memo shows

https://www.reuters.com/business/alphabet-sells-bonds-worth-20-billion-fund-ai-spending-2026-02-10/
3•u1hcw9nx•18m ago•0 comments

Show HN: Track your input data and create colourful renders with it

https://github.com/huntfx/MouseTracks
1•Xarovin•18m ago•0 comments

NASA's Juno Mission redefines the size and shape of Jupiter

https://science.nasa.gov/blogs/science-news/2026/02/04/nasas-juno-mission-redefines-size-shape-of...
1•engelo_b•19m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

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