frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

I Made a Realtime C/C++ Build Visualizer

https://danielchasehooper.com/posts/syscall-build-snooping/
42•dhooper•2h ago

Comments

bgirard•47m ago
That's really cool. Fascinating to think about all the problems that get missed due to poor or missing visualizations like this.

I did a lot of work to improve the Mozilla build system a decade ago where I would have loved this tool. Wish they would have said what problem they found.

dhooper•31m ago
(OP here) Thanks!

My call with the Mozilla engineer was cut short, so we didn't have time to go into detail about what he found, I want to look into it myself.

xuhu•36m ago
Is there a tool that records the timestamp of each executed command during a build, and when you rebuild, it tells you how much time is left instead of "building obj 35 out of 1023" ?

Or (for cmake or ninja) use a CSV that says how long each object takes to build and use it to estimate how much is left ?

dhooper•25m ago
OP Here. Thats an interesting idea. What The Fork knows all the commands run, and every path they read/write, so I should be able to make it estimate build time just by looking at what files were touched.
Surac•31m ago
but why? I have to admit it's a fun project
rvrb•9m ago
here, I'll copy the first paragraph of TFA for you:

> Many software projects take a long time to compile. Sometimes that’s just due to the sheer amount of code, like in the LLVM project. But often a build is slower than it should be for dumb, fixable reasons.

corysama•25m ago
Looks like a general `fork()` visualizer to me. Which is great!
supportengineer•25m ago
Amazing! Great job!

What limits your tool to compiler/build tools, can it be used for any arbitrary process?

dhooper•19m ago
Thank you! Yeah it can be used for any type of program, but I haven't been able to think of anything besides compilation that creates enough processes to be interesting. I'm open to ideas!
DiddlyWinks•15m ago
Video encoding and 3-D rendering are a couple that come to mind; I'd think they'd launch quite a few.

This looks like a really cool tool!

Night_Thastus•17m ago
I am extremely interested in this.

I am stuck in an environment with CMake, GCC and Unix Make (no clang, no ninja) and getting detailed information about WHY the build is taking so long is nearly impossible.

It's also a bit of a messy build with steps like copying a bunch of files from the source into the build folder. Multiple languages (C, C++, Fortran, Python), custom cmake steps, etc.

If this tool can handle that kind of mess, I'll be very interested to see what I can learn.

aanet•10m ago
This is fabulous!!

Is there a version available for MacOS today?? I'd love to give it a whirl... For Rust, C++ / Swift and other stuff.

Thanks!

dhooper•7m ago
I'll be sending out the a macOS version to another wave of beta users after I fix an outstanding issue, if you sign up (at bottom of article) and mention this comment I can make sure you're in that wave.
Night_Thastus•7m ago
It looks like it doesn't have a public release for any OS yet, but has a way to enter for early access.
mgaunard•5m ago
The real solution is to eliminate build systems where you have to define your own targets.

Developers always get it wrong and do it badly.

tiddles•4m ago
Nice, I’ve been looking for something like this for a while.

I’ve noticed on my huge catkin cmake project that cmake is checking the existence of the same files hundreds of times too. Is there anything that can hook into fork() and provide a cached value after the first invocation?

Call of Duty Admits the Install Size Is Too Damn High

https://kotaku.com/call-of-duty-launcher-hq-mw2-mw3-wz-dmz-multiplayer-1851787273
1•PaulHoule•13s ago•0 comments

GPT-5 Router – Inevitable Future of Chat Interfaces

https://dipkumar.dev/posts/llm/gpt5-router/
1•immortal3•32s ago•0 comments

The Crisis of the University Started Long Before Trump

https://www.compactmag.com/article/the-crisis-of-the-university-started-long-before-trump/
1•speckx•1m ago•0 comments

Moving to Omarchy

https://public.3.basecamp.com/p/MHugfH7E8BUm5dzw7Bcuf7UK
1•tosh•2m ago•0 comments

Privacy-Preserving Age Verification and Its Limitations [pdf]

https://www.cs.columbia.edu/~smb/papers/age-verify.pdf
1•wmf•2m ago•0 comments

Project Hydra: Improving state resolution in Matrix

https://matrix.org/blog/2025/08/project-hydra-improving-state-res/
2•todsacerdoti•2m ago•0 comments

Study reveals salps play outsize role in damping global warming (2023)

https://www.vims.edu/newsandevents/topstories/2023/salp_pump.php
1•bmau5•8m ago•0 comments

You do the best you can

https://ryanglover.net/blog/you-do-the-best-you-can
1•rglover•10m ago•0 comments

Meta Leaks Part 2: How to Kill a Social Movement

https://archive.org/details/meta_leaks_part_2
1•icw_nru•11m ago•0 comments

Show HN: The Blog of Alexandria

https://the-blog-of-alexandria.ricciuti.app/about
1•pablopang•11m ago•0 comments

L1B3RT4S Liberation Prompts for LLMs

https://github.com/elder-plinius/L1B3RT4S
1•wjrb•13m ago•1 comments

Show HN: Constant Entropy Mixtape Vol.01

https://jsr.io/@imcotton/contropy/0.10.2/src/mix/vol01.ts
1•imcotton•14m ago•0 comments

Show HN: My job search was a mess of spreadsheets, so I built an AI copilot

https://sagarty.com/
2•razf6•15m ago•2 comments

Mississippi may require age verification, Supreme Court says

https://www.cnn.com/2025/08/14/politics/supreme-court-netchoice-mississippi-age-verification
2•wylie39•17m ago•3 comments

Show HN: Happy Coder – End-to-End Encrypted Mobile Client for Claude Code

https://github.com/slopus/happy
9•ex3ndr•18m ago•0 comments

Context with Lars Grammel (Vercel AI SDK, Interview) [video]

https://www.youtube.com/watch?v=vNUSbZCYzq8
1•clemo_ra•18m ago•0 comments

Logistics advice for the independent map seller

https://docs.google.com/document/d/1LTgFCOMtSCPB6JM_3VvxFH0BFsQyKhpWRNB1HUbbWrE/edit?tab=t.0#heading=h.x8w141n1huw0
1•speckx•20m ago•0 comments

Most creators will fail in the next 12 months

https://letters.thedankoe.com/p/most-creators-will-fail-in-the-next
2•jger15•20m ago•2 comments

Claude Code Output Styles

https://docs.anthropic.com/en/docs/claude-code/output-styles
3•tzury•22m ago•0 comments

Show HN: FirstUser – Exchange reviews for your product launches

https://firstuser.app
1•sgraphics8•22m ago•0 comments

AI's Serious Python Bias: Concerns of LLMs Preferring One Language

https://medium.com/techtofreedom/ais-serious-python-bias-concerns-of-llms-preferring-one-language-2382abb3cac2
2•thunderbong•25m ago•0 comments

Running Wayland Clients as Non-Root Users on Yocto

https://embeddeduse.com/2025/08/11/running-wayland-clients-as-non-root-users/
2•jandeboevrie•29m ago•0 comments

OpenWebRx Turn any SDR device into a Web-based Receiver

https://www.openwebrx.de/
1•lemonberry•29m ago•0 comments

Misunderstood "photophoresis" effect could loft metal sheets to exosphere

https://arstechnica.com/science/2025/08/misunderstood-photophoresis-effect-could-loft-metal-sheets-to-exosphere/
1•LorenDB•29m ago•0 comments

Safeguarded AI Meeting

https://johncarlosbaez.wordpress.com/2025/08/14/safeguarded_ai_meeting/
1•mathgenius•30m ago•0 comments

Anyone else noticing that enterprise support is just ChatGPT/copilot?

https://old.reddit.com/r/sysadmin/comments/1mpcn6k/anyone_else_noticing_that_enterprise_support_is/
2•speckx•31m ago•0 comments

Italian unicorn Bending Spoons secures over €500M in debt

https://sifted.eu/articles/bending-spoons-500m-e-debt-raise
2•franch•32m ago•0 comments

Russian hackers seized control of Norwegian dam, spy chief says

https://www.theguardian.com/world/2025/aug/14/russian-hackers-control-norwegian-dam-norway
5•bookofjoe•32m ago•0 comments

Tensorflow.js Typosquatting Attack

https://safedep.io/malicious-npm-package-targeting-tensorflow-users/
1•infiniteregrets•33m ago•0 comments

Migrating from Monolith to Serverless

2•natholea•37m ago•0 comments