frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: NowThis – OSS task manager for Nextcloud and iOS supporting subtasks

https://nowthis.app/
1•andrewjneumann•58s ago•0 comments

The Submarine

https://www.paulgraham.com/submarine.html
1•bilsbie•3m ago•0 comments

SkyPilot Endpoints: Production-Ready Inference on Every Cluster You Own

https://blog.skypilot.co/skypilot-endpoints/
1•rombr•3m ago•0 comments

The Hotness Curve (how age changes a woman's appeal)

https://aella.substack.com/p/the-hotness-curve-how-age-changes
1•SLHamlet•5m ago•0 comments

My Pele Agent Trading the World Cup Prediction Markets with AI and Crypto

https://avc.xyz/my-pele-agent
1•rmason•8m ago•0 comments

Claude Skill that turns the 37signals decision guide into a thinking partner

https://github.com/FeroVolar/Decision-Framework-Skill/
2•alianinfo•9m ago•1 comments

Field Note #009: The Asymmetric Exposure

https://www.azimuth.so/p/field-note-009-the-asymmetric-exposure
2•bennieblanco•13m ago•0 comments

Anthropic Accuses Alibaba of 'Illicitly' Accessing AI Models

https://www.bloomberg.com/news/articles/2026-06-24/anthropic-accuses-alibaba-of-illicitly-accessi...
4•htrp•15m ago•0 comments

Discovery of pneumonia subtypes could lead to tailored treatments

https://www.cam.ac.uk/research/news/discovery-of-severe-pneumonia-subtypes-could-lead-to-tailored...
2•gmays•16m ago•0 comments

Stop Programming in Markdown

https://structural.chat/articles/programming-in-markdown/
2•pchiusano•17m ago•0 comments

FilenQ – a native macOS file manager for power users

https://filenq.app
2•webseidon•19m ago•0 comments

RBX Insider

https://rbxinsider.net
2•fefw•19m ago•0 comments

Arcade Supports EMA

https://www.arcade.dev/blog/arcade-supports-ema/
2•gnanagurusrgs•20m ago•0 comments

Why SELECT * is bad for SQL performance (2020)

https://tanelpoder.com/posts/reasons-why-select-star-is-bad-for-sql-performance/
2•downbad_•20m ago•0 comments

Lost Confidence

https://longform.asmartbear.com/confidence/
2•herbertl•22m ago•0 comments

Benefit Is Not Authority

https://instantial.substack.com/p/benefit-is-not-authority
2•groverbennett•22m ago•0 comments

GitHub shouldn't be a dependency for publishing Rust on crates.io

https://infosec.exchange/@mttaggart/116806641273303255
6•speckx•22m ago•0 comments

Stanford graduates rethink their futures as AI transforms tech

https://www.bbc.com/news/articles/c872j82j2qyo
4•jethronethro•23m ago•0 comments

You can see T-Mobile's acquisitions by where its logins are hosted

https://neobotnet.com/blog/cotw-t-mobile
2•caffeinedoom•23m ago•2 comments

50% of LG and Samsung smart TV apps embed residential proxies

https://cyberinsider.com/50-of-lg-and-samsung-smart-tv-apps-embed-residential-proxies/
8•Cider9986•25m ago•2 comments

Reliability Is an Enforcement Problem

https://instantial.substack.com/p/reliability-is-an-enforcement-problem
2•groverbennett•26m ago•0 comments

Slate Auto's simple electric truck starts at $24,950

https://techcrunch.com/2026/06/24/slate-autos-radically-simple-electric-truck-starts-at-24950/
2•tjwds•29m ago•1 comments

Claude Shannon: A Mathematical Theory of Cryptography

https://evervault.com/papers/shannon
2•ShaneCurran•31m ago•0 comments

Elon Musk denies Tesla's Autopilot caused crash that killed grandmother

https://arstechnica.com/tech-policy/2026/06/elon-musk-denies-teslas-autopilot-caused-crash-that-k...
3•worik•31m ago•2 comments

AI IQ Bio

https://www.aiiq.org/bio/
2•shea256•33m ago•0 comments

WebKit in Safari 27 Beta

https://webkit.org/blog/17967/news-from-wwdc26-webkit-in-safari-27-beta/
3•SllX•33m ago•0 comments

Find an open source alternative to anything

https://opensource.builders/
2•momentmaker•34m ago•0 comments

Meta pauses employee tracker for AI training amid privacy concerns

https://www.theguardian.com/technology/2026/jun/24/meta-pauses-employee-tracker-for-ai-training-a...
2•iamflimflam1•34m ago•1 comments

WikiHouse is a modular system for high performance, zero-carbon buildings

https://www.wikihouse.cc
2•momentmaker•36m ago•0 comments

A startup claims it broke through a bottleneck that's holding back LLMs

https://www.technologyreview.com/2026/06/19/1139313/a-startup-claims-it-broke-through-a-bottlenec...
3•theanonymousone•38m 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).