#cxx — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cxx, aggregated by home.social.
-
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/
-
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 -
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?
-
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.
Da 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
-
Currently reading up on new C++20 concepts and I do see the advantages of the spaceship operator <=>. Saves quite a bit of operator coding.
But what about coroutines? What are real use cases? Are there some example projects out there, where the code is more readable and maintainable?
#cxx -
I want to be your next #FediHire ! I've been a programmer since 1985 (as a child), I've been an IT professional since 1995 (pulling wires and swapping cards and configuring MS Windows). I graduated from University of Arkansas Fayetteville with a BS in CS in December of 2003. A full resume is available.
I currently require a 100% remote position. I cannot relocate from Cove, #Arkansas. I would prefer W-2 employment with a base salary of at least 130k USD/yr, plus some sort of retirement offering (401k or similar) and healthcare benefits (HDCP + HSA or similar).
I prefer something where I can be a high-performing individual contributor: reading, writing and improving source text the majority of my day, with some time spent knowledge-sharing with other developers -- learning and teaching. I'd like to work with #Haskell, #Purescript, or #Idris as the primary source language. I've previously delivered value in Haskell, #Javascript, #SQL, #Python, #Scala, #Java, #C, and #Cxx among others. I can be productive in almost any language (no PHP, please; I promised myself never again).
-
🎉 Yay! We finally have reflection in C++26!
For me, as one of the contributors, this begun around 2009 when I started playing with macro-based hand-written reflection support.
-
Say, is there a trick in C++ to make to_string() work for any type?
If I have
using namespace std;
and then just write
to_string(foo)
it will prefer my local namespace's to_string(MyClass) and error when given an int, instead of picking std::to_string(int) for those.
Do I really have to add all variants of
inline string to_string(int n) { return std::to_string(n); }
to my namespace to be able to just say to_string(foo) for any type and make it work?
-
Some nice additions for annotating C++ code to make it import better into Swift:
-
Things I wish they fixed in C/C++:
When you init an instance variable from a parameter, you often copy-paste the name of the instance variable into the parameter. This allows you to accidentally forget editing code and generate perfectly compiling but wrong code like:
class Foo {
public:
int _bar;
Foo(int bar) : _bar(_bar) {}
};accidentally initializing a variable with itself instead of the parameter. (Thank goodness we have an "unused parameter” warning)
-
When CMake likes building the project too much. #NotMine #cmake #cxx #develoment
cyberdoskel (@doskel.net) -
When CMake likes building the project too much.
#NotMine #cmake #cxx #develoment
cyberdoskel (@doskel.net)
RE: masto.doskel.net/users/doskel/… -
Anyone a master of #cxx/ #RustLang I'm having troubles linking the OpenImageIO_Utils library for some Rust bindings that I'm writing, and could use some help. Some more info here: https://github.com/dtolnay/cxx/issues/1472
-
-
Been slowly working on a #libcosmic app. It's a presentation app for my ministry and church. I originally wrote it in #C++ and #QML, but have since rewritten part of the backend to #rust with the help of #CXX-QT. This still gave me a really tricky system and I decided to investigate rust ui libraries. Seeing #system76 develop #cosmic in rust with #iced, I decided to try it, and it's working quite nice thus far. Some rough edges, but I can't wait to see it come to fruition.
-
Some people, when confronted with a problem in C++, think:
"I know, I'll write a custom allocator!"
Now they've run out of memory to have more problems. So I guess that's doublegoodplusone?