frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Pawmc a.k.a. talking diary, an LLM chat with compartmentalised memory

https://pawmc-demo.kolaegipet.workers.dev/?demo=1
1•kol3x•44s ago•0 comments

OpenAI CLI

https://github.com/openai/openai-cli
1•armcat•44s ago•0 comments

Language-Based Agent Control

https://arxiv.org/abs/2605.12863
1•matt_d•52s ago•0 comments

Qualcomm to cut jobs worldwide in performance-focused layoffs

https://www.reuters.com/business/qualcomm-cut-jobs-worldwide-performance-focused-layoffs-internal...
1•vismit2000•2m ago•0 comments

Show HN: TenseMem – deterministic memory for AI agents

https://github.com/tensemem/tensemem
1•shubh-singh•4m ago•1 comments

Show HN: Commit-quiz – A pre-commit hook that quizzes you on your own diff

https://github.com/Cristopheer96/commit-quiz
1•cristopheer96•12m ago•0 comments

The Data-Center Rebellion Is Just Beginning

https://www.theatlantic.com/technology/2026/10/year-world-turned-data-centers/689081/
1•fortran77•13m ago•0 comments

Dziga Vertov – Man with a Movie Camera (With Cinematic Orchestra) (1929) [video]

https://www.youtube.com/watch?v=3GyNB4-eN1E
1•gregsadetsky•16m ago•0 comments

BazelCon 2026 Recap

https://blogsystem5.substack.com/p/bazelcon-2026-recap
1•nsm•17m ago•0 comments

eMudhra fall out and downstream attack scenarios

https://ravenmail.io/blog/emudhra-key-compromise
1•abishekr•20m ago•0 comments

Test Applications on the Edge

https://github.com/bacloud22/TAOTE
1•open-listings•33m ago•0 comments

Lemoncode, Free Coding Agent

https://lemoncode.ai/
3•SafwanCodes•37m ago•2 comments

How to prove equations using diagrams, part 3

https://topos.institute/blog/2026-10-14-e-graphs-3/
1•measurablefunc•40m ago•0 comments

The Chalk and the Airplane

https://unintendedconsequenc.es/chalk-and-the-airplane/
1•paulorlando•41m ago•0 comments

Lift and Slide Doors: How They Work and When They Make Sense for Large Openings

https://livinggeorge.com/lift-and-slide-doors/
1•ruanowen40•43m ago•0 comments

Scentronic: AI–assisted olfactory interface for remote odor transmission

https://www.science.org/doi/10.1126/sciadv.aee9266
1•geox•48m ago•0 comments

Ebola has spread from Congo to 4 other countries. A look at where things stand

https://apnews.com/article/africa-ebola-congo-nigeria-abuja-virus-03b6388f86e305fad711606f22c6577f
3•mikhael•56m ago•1 comments

Meta strikes deal to protect Zuckerberg from California billionaire tax

https://finance.yahoo.com/media-advertising/articles/meta-hit-record-25bn-penalty-200405974.html
5•jonifico•1h ago•1 comments

Open Language Models – Nathan Lambert

https://natolambert.com/slides/2026/harvard/lecture.html
1•the-mitr•1h ago•0 comments

UK man juggled five remote government jobs

https://www.bbc.com/news/articles/cmze4w63ly42o
2•doctor_radium•1h ago•0 comments

Advice You'll Get Is the Advice You've Heard

https://marcrandolph.substack.com/p/the-best-advice-youll-get-is-the
1•fagnerbrack•1h ago•0 comments

Should you give the scarcest things to the fastest coders?

https://digitalseams.com/blog/should-you-give-the-scarcest-things-to-the-fastest-coders
1•bobbiechen•1h ago•1 comments

Ask HN: How has your company adapted interviews in the AI world?

1•parthdesai•1h ago•0 comments

MiniForth – A small Lean tutorial for programming language semantics

https://github.com/leodemoura/MiniForth
1•lioeters•1h ago•0 comments

ML Drift: Next-Gen GPU AI/ML Inference at the Edge

https://developers.googleblog.com/ml-drift-next-gen-gpu-aiml-inference-at-the-edge/
1•gmays•1h ago•0 comments

Learn Calculus by Coding in Python – Ed Pratowski (2025)

https://www.freecodecamp.org/news/learn-college-calculus-and-implement-with-python/
5•the-mitr•1h ago•0 comments

Terraform 2026 Update

https://terraformindustries.wordpress.com/2026/10/21/terraform-2026-update/
1•Klaster_1•1h ago•0 comments

I can't believe PowerShell is good

https://www.spacebar.news/powershell-is-actually-good/
31•corbindavenport•1h ago•14 comments

Prometheus, a Gift Link Search Engine

https://kottke.org/26/10/meet-prometheus-a-gift-link-search-engine
1•colinprince•1h ago•0 comments

Aulico: A TradingView Alternative

https://www.aulico.com/symbols/BTCUSDC
1•ratonbigger•1h ago•1 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).