#include <stdio.h> int typedef[[]]$; int main($[[]]$) { [[]]$:&&$&&$&&puts("hello world"); }

Okay…
And it works.

#dev #cxx

Compiler Explorer - C (x86-64 gcc (trunk))

int typedef[[]]$; int main($[[]]$) { [[]]$:&&$&&$&&puts("hello world"); }

Most C++ codebases aren't getting rewritten in Rust - but that doesn't mean the two can't work together.

At Oxidize 2026, @nicofee and Nicolas Qiu Guichard (@kdab) run a practical workshop on Rust/C++ interop using CXX: calling Rust from C++ and vice versa, integrating a Rust library into a CMake project, and pulling a C++ library into a Cargo build.

🔗 https://oxidizeconf.com/sessions/rust_and_c_plus_plus_can_be_friends

#Oxidize2026 #RustLang #CPlusPlus #Interop #CXX #SystemsProgramming

Choosing between Zngur and CXX for Rust/C++ interoperability?

This detailed comparison explores their design philosophies, container support, trait objects, async capabilities, build systems, and real-world tradeoffs. 

Full write-up: https://www.kdab.com/weighing-up-zngur-and-cxx-for-rustc-interop/

#RustLang #Zngur #CXX #Cpp #Interoperability

I was fixing some #Krunner plugin to result better matches.
Being through my use of #Emacs also #Lisp guy made me want to go trough a list like in lisp,
with a while-let unfortunately #CXX doesn't have such a feature.
The first other result I got was about #rust. It does awfully look like lisp from that point of view.
Just the syntax is pretty weird seeing it from that angle.
This morning, I saw an exceptional ... Kopfball.
Admittedly, it is only stdexcept.
#cxx #programming

We use std::expected.

The Ubuntu image used by our GitHub workflow only comes with Clang 16.

Clang 16 has some sort of issue with including the <expected> header.

Tried to force -libc++ which apparently would make it work. Could not for the life of me get CMake to pass that to Clang.

Then spent like two hours trying to have the GitHub runner install and use Clang 22 instead.

Keep pushing to main to run the workflow, rip our git history.

This is not very fun 🥹

#cxx #githubactions

Are you one of the 10'000s of #CXX #Python developers using #pybind11? Do you care about great #autodocs and #autocompletion in #interactive workflows?

The pybind11-stubgen project seeks support in #maintaining it! We #pybind11 maintainers would move it to the #pybind mainline org, but we need a community to help support the .pyi stub generator <3

Chime in here:
https://github.com/sizmailov/pybind11-stubgen/issues/244

#opensource #sustainability #CallForMaintainers

Call for maintainers · Issue #244 · sizmailov/pybind11-stubgen

I've started pybind11-stubgen when there were no good alternatives to make good enough stubs for pybind modules. As of today I don't have a C++ project that needs python bindings, so I'm a bit out ...

GitHub

Great article... #cxx #rust

std::move doesn't move anything: A deep dive into Value Categories
https://0xghost.dev/blog/std-move-deep-dive/

std::move doesn't move anything: A deep dive into Value Categories

Why std::move is just a cast, how it kills RVO if used wrong, and the mechanics of ownership transfer.

Against all good sense and judgement I am going to go #peertube # live on https://toobnix.org/w/gXLXQqxf5MYg1NDF2Ua6oA for the sake of consistency. I just saw @dougmerritt tooted something interesting looking, and I need to check some installs/upgrades/rebuilds of software are working. #lisp #cxx #illAdvised sharpsign consistently showing up to a fault
https://toobnix.org/w/uf51NQkXf3PDcGSzf26zqp

Anyone have a recommendation for a small (ideally single-file?) C++ Markdown parser library?

I have some Markdown files that I would love to export to various other formats, and don't want to reinvent the wheel if I don't have to. I don't need any support for HTML in Markdown.

Basically I'd love to feed Markdown into a function and be called back for each element (header, paragraph, link etc.), kinda like SAX does for XML?

#Cxx #cplusplus #cpp #markdown #xml