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 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.

  What it is: Pcons is a build system where Python scripts describe what to build, and Ninja (or Make) executes it. There's no custom DSL — your build files are real Python with full IDE support, debugging, and testing. The core is completely language-agnostic: it knows nothing about compilers or C++. All tool-specific knowledge lives in pluggable toolchains and tools, so building LaTeX documents or game assets should be as natural as building C++.

  How it's different from SCons: Pcons doesn't execute builds itself. It generates Ninja files, so incremental builds are fast and you get Ninja's parallelism for free. Environments use namespaced tools (env.cc.flags, env.cxx.flags, env.link.libs) instead of flat variables, eliminating the CFLAGS vs CXXFLAGS confusion. Targets have CMake-style usage requirements (target.public.include_dirs, target.public.link_libs) that propagate transitively through the dependency graph. And unlike SCons, unknown variables are errors, not silent empty strings.

  How it's different from CMake: No DSL to learn — it's just Python. Variable substitution is recursive and explicit. The builder/toolchain system is fully extensible, so third-party builders are first-class citizens. And you can use it as `uvx pcons` for true zero-install (great for other open source projects).
Major features as of v0.7: - Toolchains for GCC, LLVM/Clang, MSVC, and clang-cl with auto-detection (including - Generators for Ninja, Makefile, Xcode, compile_commands.json, and Mermaid/DOT dependency diagrams - 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 still under active development — ready for experimentation, not production unless you're brave. I'd love bug reports, feedback on the API design and what you'd want from a modern Python-based software build system. 
Open source, MIT licensed.

GitHub: https://github.com/DarkStarSystems/pcons | Docs: https://pcons.readthedocs.io | PyPI: `uvx pcons` or `pip install pcons`

Koyeb Is Joining Mistral AI to Build the Future of AI Infrastructure

https://www.koyeb.com/blog/koyeb-is-joining-mistral-ai-to-build-the-future-of-ai-infrastructure
1•edouardb•41s ago•0 comments

Show HN: I wrote a technical history book on Lisp

https://berksoft.ca/gol/
1•cdegroot•42s ago•0 comments

Sub-Millisecond RAG on Apple Silicon. No Server. No API. One File

https://github.com/christopherkarani/Wax
1•ckarani•44s ago•1 comments

Nvidia, Groq and the limestone race to real-time AI

https://venturebeat.com/infrastructure/nvidia-groq-and-the-limestone-race-to-real-time-ai-why-ent...
1•gmays•50s ago•0 comments

Opus 4.6 is great at formal proofs (Rocq/Lean4)

https://tristan.st/blog/opus_4_6_formal_proofs
1•tsterin•1m ago•0 comments

The Cult Deprogrammer

https://www.minorityreport.me/p/the-cult-deprogrammer-who-needed
1•bookofjoe•2m ago•0 comments

Understanding the Fido Alliance's Standards and Working Groups

https://sphericalcowconsulting.com/2026/02/17/understanding-the-fido-alliance/
1•mooreds•2m ago•0 comments

Show HN: Daymon – Open-source app that gives Claude scheduled tasks

https://github.com/daymonio/daymon
1•vasilyt•2m ago•0 comments

Show HN: Diesel-guard adds custom checks via Rhai for Postgres migrations

https://github.com/ayarotsky/diesel-guard
1•ayarotsky•2m ago•0 comments

Privacy, fairness concerns sparked by AI pricing

https://nypost.com/2026/02/12/tech/how-ai-pricing-could-harm-retailers/
1•1vuio0pswjnm7•3m ago•0 comments

Is an AI judge more fair than a human judge?

https://judicial-turing-test.vercel.app/
1•YuriKozlov•3m ago•1 comments

Show HN: Skill to annotate any Markdown file for AI feedback

https://plannotator.ai/docs/commands/annotate/
1•ramoz•3m ago•0 comments

Amp and the partial ordering of measures of disorder, part 1

https://morwenn.github.io//presortedness/2026/02/15/TSB008-amp-and-the-partial-ordering-of-measur...
1•ibobev•3m ago•0 comments

Profiling on Windows: A Short Rant

https://mropert.github.io/2026/02/13/profiling_on_windows/
1•ibobev•3m ago•0 comments

Don't Prompt Your Agent for Reliability – Engineer It

https://www.aiyan.io/blog/engineer-agent-reliability/
1•aiyan•4m ago•0 comments

Khronos Announces glTF Gaussian Splatting Extension

https://www.khronos.org/news/press/gltf-gaussian-splatting-press-release
1•ibobev•4m ago•0 comments

Token Anxiety

https://twitter.com/nikunj/status/2022438070092759281
1•tornadron•5m ago•0 comments

Zluda update Q4 2025 – ROCm7, Windows, full llama.cpp and more

https://vosen.github.io/ZLUDA/blog/zluda-update-q4-2025/
1•bpavuk•5m ago•0 comments

Women Mourning the "Deaths" of Their AI Boyfriends

https://www.playboy.com/read/sex-relationships/the-women-mourning-the-deaths-of-their-ai-boyfriends
1•oidar•5m ago•1 comments

An Interview with Brian Daugherty from Google

https://ciamweekly.substack.com/p/an-interview-with-brian-daugherty
1•mooreds•6m ago•0 comments

KPMG partner fined over using AI to pass AI test

https://www.ft.com/content/c30ded60-bece-45e0-981d-653e1e3e9818
1•1vuio0pswjnm7•6m ago•0 comments

Show HN: Open-source digital back office

https://github.com/finmars-platform/finmars-core
1•qwertypk•6m ago•0 comments

Show HN: You probably won't last 60 seconds

https://dont-tap.somthing4die.workers.dev/
1•parvardegr•7m ago•0 comments

Show HN: Price Per Ball – Site that sorts golf balls on Amazon by price per ball

https://priceperball.net/
1•rockdiesel•7m ago•0 comments

Why I Attack (2024)

https://nicholas.carlini.com/writing/2024/why-i-attack.html
1•ath_ray•8m ago•0 comments

I Built an S3 Interface for Git (and Why It Makes More Sense Than You Think)

https://bored-dev.com/posts/i-built-an-s3-interface-for-git-and-why-it-makes-more-sense-than-you-...
1•iolloyd•8m ago•0 comments

DPaint JS

https://dpaint.app/
2•snorbleck•9m ago•0 comments

European Commission investigates Shein for addictive design

https://ec.europa.eu/commission/presscorner/home/en
2•Anonboxis•9m ago•0 comments

InBrowser.App: a collection of web apps that run in the browser

https://inbrowser.app/
1•thunderbong•9m ago•0 comments

The anxiety driving AI's brutal work culture is a warning for all of us

https://www.theguardian.com/technology/ng-interactive/2026/feb/17/ai-startups-work-culture-san-fr...
2•n1b0m•9m ago•0 comments