frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Still on Its Way to Cleveland

https://longreads.com/2026/09/22/family-road-trip-early-internet-90s/
1•cainxinth•50s ago•0 comments

Kotlin keeps up with Rust in DHH's Campfire rewrite

https://www.wecodefire.com/p/kotlin-keeps-up-with-rust
1•kinabalu76•1m ago•0 comments

Building a Better NAS for My Homelab

https://bryananthonio.com/blog/building-a-better-nas-for-my-homelab/
1•photon_collider•3m ago•0 comments

SNTPings by Studenten Net Twente

https://pings.utwente.io/
1•bathory•4m ago•1 comments

New Version of OnemanBSD Includes WebKitGtk

http://bialamusic.com/onemanBSD/
1•OnemanBSD•5m ago•1 comments

Before Computer Science Became a Boys' Club, Margaret Hamilton Wrote the Code

https://www.nytimes.com/2026/10/08/science/space/margaret-hamilton-computer-science.html
3•ChrisArchitect•5m ago•1 comments

Scientists discover 180k giant tortoises on one Seychelles island

https://www.theguardian.com/environment/2026/oct/08/researchers-find-180000-giant-tortoises-livin...
1•mykowebhn•7m ago•0 comments

The Next Chapter of USV

https://twitter.com/mignano/status/2108196056525639693
1•tosh•9m ago•0 comments

Tomek Korbak: OpenAI's head of safety told they no longer trust me

https://twitter.com/tomekkorbak/status/2108266859397283953
2•doener•9m ago•0 comments

'Breathtaking,' 'Devastating': Mathematics Reels After New OpenAI Release

https://www.nytimes.com/2026/10/08/science/mathematicians-respond-openai-release.html
4•marojejian•11m ago•5 comments

Show HN: Higherlevel – Define and review what AI agents build

https://higherlevel.to/
1•cyan_indigo•13m ago•0 comments

Why Android apps can't talk to your camera when you're connected to a VPN

https://www.johnmaguire.me/blog/camera-connection-issues-with-android-vpns/
1•radlad•13m ago•0 comments

Folio – A free, open-source Markdown reader and editor for Windows and Linux

https://github.com/myrvmsr/folio
2•myrvmsr•14m ago•1 comments

Kairos Experiment – How I disproved my own AI memory framework

https://kairos-experiment.com/
1•giampycolella•16m ago•0 comments

Spring Boot JPA vs. JDBC: How Much Can a Small App Save?

https://pvrlabs.xyz/java-performance/experiments/spring-boot-jpa-vs-jdbc.html
2•fksubs•17m ago•3 comments

Can AI Agents Make Open-Ended Scientific Discovery? Evidence from Station

https://arxiv.org/abs/2610.08927
2•stephenchung•18m ago•0 comments

How people use social media may matter more than screen time for mental health

https://news.exeter.ac.uk/faculty-of-humanities-arts-and-social-sciences/focus-on-social-media-en...
1•giuliomagnifico•19m ago•0 comments

The Failed Fight to Unionize One of Gaming's Most Idealized Studios

https://kotaku.com/inside-the-failed-fight-to-unionize-one-of-gamings-most-idealized-studios-2000...
1•MYEUHD•19m ago•0 comments

Applying NASA's satellite-imaging trick to ancient museum objects

https://curios.jairus.ca/dstretch-museums/
1•Twiin•19m ago•1 comments

SupaQuery – Analytics that identify B2B website visitors

https://supaquery.com/
1•tryjude•21m ago•0 comments

That's how it's supposed to feel

https://wlls.dev/blog/thats-how-its-supposed-to-feel
1•devalexwells•22m ago•0 comments

Tesla Rebrands Full Self-Driving as Tesla Assisted Driving in Europe

https://qz.com/tesla-full-self-driving-rebranding-europe-assisted-driving-100926
3•ilreb•23m ago•5 comments

Underdog Saluki: Qwen3.8-27B in under 8GB with tool calling intact

https://huggingface.co/ConwayResearch/Underdog-Saluki-27B-1.0
1•acossta•24m ago•0 comments

Trace a Token Through TP/CP/SP/EP/DP/PP in Moe Inference

https://charlesxu.io/tp-cp-sp-ep-dp-pp/
1•charlesxu•24m ago•0 comments

Hiring US-to-China Oil Tanker Costs More Than Launching a Space Rocket

https://www.bloomberg.com/news/articles/2026-10-09/the-global-oil-tanker-shortage-is-getting-wors...
1•marc__1•25m ago•0 comments

Show HN: CPU First Decision Model

https://github.com/kouhxp/gutsy
2•mrkn1•26m ago•1 comments

Infinite Ascent – Our approach to open research and intelligence

https://infiniteascent.com/blog/open-research-and-intelligence/
3•Avid_F•26m ago•0 comments

Show HN: Widefleet – Open-source platform for agent-built apps and workflows

https://github.com/widefleet/widefleet
3•jonathan_laib•28m ago•1 comments

Hi Fellow Furries

1•Illoko•30m ago•0 comments

Swarmfile: A streaming version-control system

https://swarmfile.com/blog/swarmfile-a-streaming-version-control-system/
1•EngineeringStuf•32m 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).