frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Curlie web directory download – 2.9M editor approved websites for your AI

https://curlie.org/download
1•KnowledgeWeaver•1m ago•1 comments

Django 6.0 Released

https://www.djangoproject.com/weblog/2025/dec/03/django-60-released/
2•sirodoht•4m ago•0 comments

AI infrastructure is being built on a mountain of new DEBT

https://twitter.com/GlobalMktObserv/status/1995848679404507467
2•DivingForGold•4m ago•0 comments

Extending yeast lifespan boosts biosynthetic output of valuable compounds

https://phys.org/news/2025-11-yeast-lifespan-boosts-biosynthetic-output.html
1•PaulHoule•4m ago•0 comments

Show HN: Aim-Style Instant Messaging in VSCode

https://marketplace.visualstudio.com/items?itemName=devchat-dev.devchat-im
1•milowata•5m ago•0 comments

Sugars, 'Gum,' Stardust Found in NASA's Asteroid Bennu Samples

https://www.nasa.gov/missions/osiris-rex/sugars-gum-stardust-found-in-nasas-asteroid-bennu-samples/
1•e145bc455f1•5m ago•0 comments

Instant server hot-reload across the Wasm boundary

https://primate.run/blog/primate-035#server-hot-reload
4•sarumake•6m ago•0 comments

Show HN: ToolPlex Desktop – MCP marketplace and AI workflow builder

https://toolplex.ai
1•entrehacker•8m ago•0 comments

Ask HN: Is the absence of affect the real barrier to AGI and alignment?

1•n-exploit•9m ago•0 comments

The War for Seattle [video]

https://www.youtube.com/watch?v=LpaD9qpnzI0
1•surprisetalk•9m ago•0 comments

China will eventually open its borders to mass immigration

https://twitter.com/samoburja/status/1988128253891277071
3•surprisetalk•10m ago•2 comments

Is Watching Video Bad for Children's Skills?

https://www.nber.org/papers/w34466
1•surprisetalk•10m ago•0 comments

OpenAI is facing every startup's VC question: What if Google copies you?

https://gpt3experiments.substack.com/p/openais-vc-question-what-if-google
1•nutanc•10m ago•0 comments

Is "green AI" even possible?

https://manualdousuario.net/en/is-green-ai-even-possible/
1•rpgbr•10m ago•0 comments

Gratitude

https://philippdubach.com/2025/12/03/gratitude/
1•7777777phil•11m ago•0 comments

I fixed my lactose intolerance – by chugging ALL the lactose [video]

https://www.youtube.com/watch?v=h90rEkbx95w
1•EPendragon•11m ago•0 comments

RAG vs. Traditional ML

https://medium.com/@DavidLiCause/rag-vs-traditional-ml-390a34a2b045
1•davidlicause•12m ago•0 comments

Show HN: Local_faiss_MCP – A tiny MCP server for local RAG (FAISS and MiniLM)

1•nonatofabio•15m ago•0 comments

Show HN: Rephole, semantic code-search for your repos via REST API

https://github.com/twodHQ/rephole
1•riktar•17m ago•0 comments

OSHW: Small tablet based on RK3568 and AMOLED screen

https://oshwhub.com/oglggc/rui-xin-wei-rk3568-si-ceng-jia-li-chuang-mian-fei-gong-yi
1•thenthenthen•17m ago•1 comments

Show HN: Store Inspector – Free Chrome extension for Shopify competitor research

https://storeinspect.com
2•andersmyrmel•18m ago•0 comments

Why High Food Prices Will Make Public Groceries Inevitable

https://grocerynerd.substack.com/p/grocery-update-116-why-high-food
3•toomuchtodo•19m ago•0 comments

How to Benchmark C++ Code

https://codspeed.io/docs/guides/how-to-benchmark-cpp-code
5•art049•20m ago•0 comments

Diff of Claude Code system prompt over time

https://lukegil.github.io/claude-code-prompts/
1•lukegil626•21m ago•1 comments

Show HN: MCP Gateway – Unifying Access to MCP Servers Without N×M Integrations

https://www.truefoundry.com/mcp-gateway
5•supreetgupta•23m ago•1 comments

China's 1st reusable rocket explodes in fireball landing after reaching orbit

https://www.space.com/space-exploration/launches-spacecraft/chinas-1st-reusable-rocket-explodes-i...
5•perihelions•23m ago•0 comments

DNA analysis suggests first Australians arrived about 60k years ago

https://www.abc.net.au/news/science/2025-11-29/sahul-aboriginal-australia-65000-genetic-evidence/...
4•gmays•25m ago•1 comments

Real-world vector DB performance across the most popular providers

https://www.topk.io/blog/20251201-topk-bench
8•MarekDlugos•26m ago•5 comments

Code Walkthrough - Claude Code CLI and VS Code

https://codepointer.substack.com/p/claude-code-cli-bridging-terminal
1•ykhl1itj•28m ago•0 comments

Replace Your To-Do List with Interstitial Journaling to Increase Productivity

https://medium.com/better-humans/replace-your-to-do-list-with-interstitial-journaling-to-increase...
1•herbertl•28m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

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