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

Anonymized Network Sensing using C++26 std::execution on GPUs

#CUDA #CXX

https://hgpu.org/?p=30303

Anonymized Network Sensing using C++26 std::execution on GPUs

Large-scale network sensing plays a vital role in network traffic analysis and characterization. As network packet data grows increasingly large, parallel methods have become mainstream for network…

hgpu.org

Vor 10 Jahren erschütterte ein Foto die Welt: Alan Kurdi, der 2-jährige ertrunken im Mittelmeer ebenso Bruder Ghalib u. Mutter Rehanna. Große Trauer u. Empörung.
Und die Politik bekannte: Wir müssen helfen!

Gestern entscheidet die #BuReg, die Förderung für die zivile #Seenotrettung, 2 Mio. €, komplett zu streichen. Signal: Die Rettung von Leben ist Deutschland keinen Cent mehr wert.

Das muss die #Nächstenliebe der #Cxx-Parteien sein. 😡

#seaeye #MerzNichtMeinKanzler https://sea-eye.org/haushalt/?utm_source=mailchimp&utm_medium=newsletter&utm_campaign=NL_mittelkuerzung