frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pcons: new software build tool in Python, inspired by SCons and CMake

https://github.com/DarkStarSystems/pcons
1•darkstarsys•1h ago
I've been really gratified to see a bit of uptake of pcons in the open-source community, so I thought I'd post an update since it's up to v0.14.1 now. Pcons is a new open-source build tool that's the best of SCons and CMake with fewer of their problems.

Since v0.7 (last HN post), there's now a porting guide, LaTeX toolchain, full C++20 module support, Fortran toolchain (including MODULE/USE), WebAssembly via WASI and EMSDK. It can generate pkg-config files, finds MSVC more reliably, added Ninja restat support for even faster builds, better target.depends(), better logging and debugging, CMake-style template-based config headers and a lot of improvements and fixes.

I was one of the original developers of SCons and helped maintain it for years. I love that Python is the configuration language — it makes build descriptions incredibly flexible. But over time, working with CMake on other projects, I came to appreciate things SCons doesn't do as well: the separation between describing a build and executing it, transitive dependency propagation, package manager integration, and modern python semantics. I'd been thinking about a fresh start for years but never had the time. Recently, working collaboratively with Claude Code, it finally became feasible. So, meet pcons.

You can use it as `uvx pcons` for true zero-install (great for other open source projects). There's a comparison with other common build tools here: https://github.com/DarkStarSystems/pcons/blob/main/COMPARISO... — corrections and updates appreciated!

Major features as of v0.14.1: - Toolchains for GCC, LLVM/Clang, MSVC, and clang-cl with auto-detection, LaTeX, gfortran, WebAssembly etc. - Generators for Ninja, Makefile, Xcode, compile_commands.json, and Mermaid/DOT dependency diagrams - Can create installers: msix on Windows, pkg/dmg on Mac, tgz on Linux - Package management via pkg-config, Conan 2.x, and a pcons-fetch tool for building dependencies from source - Compiler cache support (ccache/sccache), semantic presets (warnings, sanitizers, LTO, hardening), cross-compilation presets (Android NDK, iOS, WebAssembly) - Platform-specific helpers: macOS bundles/frameworks/.pkg/.dmg, Windows manifests/MSIX, and an msvcup module for installing MSVC without Visual Studio - An extensible module/add-on system for domain-specific tasks - Debug tracing (--debug=resolve,subst) with source-location tracking on every node - Plenty of examples included, unit tests for all features, tested on Mac, Windows and Linux

It's under active development — ready for experimentation, but it's quite stable — enough for light production. I'd love bug reports, feedback on the API design and what you'd want from a modern Python-based software build system. I take my tools seriously and intend to support it well, so please try it out!

Open source, MIT licensed. GitHub: https://github.com/DarkStarSystems/pcons | Docs: https://pcons.readthedocs.io | PyPI: `uvx pcons` or `pip install pcons`

Why Capitalism Can't Survive AI

https://www.newconsensus.com/blog/series/why-capitalism-cant-survive-ai
2•kjohnston71•4m ago•0 comments

Instacart co-founder launches hedge fund backing AI agents

https://www.privatebankerinternational.com/news/instacart-co-founder-launches-hedge-fund-backing-...
1•nlpnerd•9m ago•0 comments

Temperature Trends in India

https://www.dataforindia.com/temperature-trends-in-india/
1•neehao•10m ago•0 comments

AdaExplore: Search for Efficient Kernel Generation

https://stiglidu.github.io/AdaExplore/
1•matt_d•17m ago•0 comments

Sparkit: A Research Agent in an API

https://sparkit.science
1•JLSteenwyk•19m ago•0 comments

Britain Has a Tiny-Window Epidemic, and Old Ladies Are to Blame

https://www.wsj.com/world/britain-has-a-tiny-window-epidemic-and-old-ladies-are-to-blame-9ece9791
3•cwwc•28m ago•0 comments

$0.5 solve GPQA, top 5 worldwide

https://github.com/butereleaou-pixel/Compare_Hotblaz
1•markliuhotblaz•32m ago•1 comments

Show HN: Claude Exporter – Export Chats to PDF/Word/Notion

https://chromewebstore.google.com/detail/claude-exporter-claude-ch/mhckealbblinipeplfddmbcohdidkfjf
4•nongquy•34m ago•1 comments

(One) Good AI Is Here – Anil Dash

https://www.anildash.com/2026/04/28/one-good-ai-is-here/
1•tambourine_man•37m ago•0 comments

The Lost Idealism of Heartland Rock

https://www.theatlantic.com/magazine/2026/06/springsteen-petty-politics-osmon/686936/
1•petethomas•38m ago•0 comments

GitHub – Incomplete pull request results in repositories

https://www.githubstatus.com/incidents/x69zbgdyfzg0
1•lawgimenez•39m ago•0 comments

A Return to Code

https://nav.al/code
1•swolpers•41m ago•0 comments

FDA grants quick review for 3 psychedelic drug trials

https://www.nbcnews.com/health/health-news/fda-psychedelic-drugs-psilocybin-methylone-review-depr...
1•gmays•42m ago•0 comments

An Actually Intuitive Explanation of the Oberth Effect

https://outsidetheasylum.blog/an-actually-intuitive-explanation-of-the-oberth-effect/
1•virgildotcodes•43m ago•0 comments

Demo: Animated Favicon

https://favicon.im/blog/animated-favicon-live-demo
1•Airyisland•43m ago•1 comments

Wikipedia: Articles for Deletion/GitHub (2008)

https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/GitHub
1•riffic•44m ago•0 comments

A 3D Flappy Bird side-scroller game built with DeepSeek V4 Pro

http://www.annajc.com/
1•guiguan•46m ago•1 comments

Recycling plastic waste with compression molding

https://hackaday.com/2026/04/28/recycling-pla-and-other-plastic-waste-with-compression-molding/
2•rickcarlino•48m ago•0 comments

Goldman Staff in Hong Kong Lose Access to Anthropic's Claude

https://www.bloomberg.com/news/articles/2026-04-29/goldman-staff-in-hong-kong-lose-access-to-anth...
2•kamaraju•49m ago•0 comments

Google API change leads to $67k Gemini bill in 19 hours

https://discuss.ai.google.dev/t/unexpected-67k-gemini-api-spike-in-19-hours-2016-firebase-provisi...
2•StevenThompson•55m ago•0 comments

Multi-tenant file storage for developers. Built for SaaS teams

https://tenantbox.dev
1•omollohemstone•56m ago•0 comments

Help a fellow dev on AI-localization?

2•mightyAlien•56m ago•1 comments

39 Years Ago, Steve Jobs Made a Emotional Decision. How It Led to Success

https://www.inc.com/bill-murphy-jr/39-years-ago-steve-jobs-made-a-very-emotional-decision-heres-h...
1•paulpauper•59m ago•0 comments

HUD Says Realtors Can Now Speak the Truth

https://marginalrevolution.com/marginalrevolution/2026/04/hud-says-its-legal-to-tell-the-truth.html
1•paulpauper•1h ago•0 comments

Spotify Shares Fall Most Since 2022 on AI Fears [video]

https://www.youtube.com/watch?v=pXgf7uZT7OU
1•mgh2•1h ago•0 comments

A Post-Regression World

https://signalintent.net/2026/04/28/a-post-regression-world/
1•tokonomy_dev•1h ago•0 comments

Is any one using ruflo?

https://github.com/ruvnet/ruflo
1•chunpaiyang•1h ago•1 comments

Show HN: mac-screen-search: CLI find, highlight, redact text on screen, in files

https://github.com/jftuga/mac-screen-search
1•jftuga•1h ago•0 comments

Hackers steal nearly $300M in biggest DeFi exploit of 2026

https://seekingalpha.com/news/4576371-hackers-steal-nearly-300m-in-biggest-defi-exploit-of-2026
2•mgh2•1h ago•2 comments

The Uncanny Horror of AI Hallucinations (2025)

https://www.youtube.com/watch?v=vimNI7NjuS8
1•highspeedbus•1h ago•0 comments