jbzfn, to cpp
@jbzfn@mastodon.social avatar
cppnow, to cpp

🚨 CALL FOR VOLUNTEERS 🚨

We're looking for volunteers for C++Now 2024 running from 29th April - 3rd May 2024

Read more and apply at: https://cppnow.org/announcements/2024/01/2024-call-for-student-volunteers/

DEADLINE: Monday February 19th

timClicks, to cpp
@timClicks@mastodon.nz avatar

Evergreen #cpp #rustlang

mkretz, to cpp

How do you write a condition (C++23) that is partially constexpr-if and in part a run-time branch? If I nest constexpr-if and if, I cannot avoid duplication of the else branch. If I remove the constexpr keyword, the code is ill-formed for some specializations. 😩 I need a branch that mixes constexpr and runtime conditions! #cpp #wg21

gracicot, to random
@gracicot@mastodon.social avatar

It's 2024, and MSVC still cannot do trailing return type correctly 😭

gracicot,
@gracicot@mastodon.social avatar

Related: MSVC also can't count braces

#cpp #cplusplus #msvc

TehPenguin, to cpp
@TehPenguin@hachyderm.io avatar

C++/CX, C++/CLI and Managed C++:

Scene from Jurrasic Park: "Nice hat!"

madskjeldgaard, to cpp
@madskjeldgaard@sonomu.club avatar

I am head over heels excited about the CLAP plugin format, both as a musician and a developer. It's really incredible what it allows both parties to achieve. This talk by the devs was very nice, I think:

#cpp #audio #juce #clap

https://www.youtube.com/watch?v=H_03JJ7Ca5g

vintprox, to fedora
@vintprox@techhub.social avatar

This moment came? Finally some from me. I assume that an article about myself on Project Wiki counts as one. 🙃

https://fedoraproject.org/wiki/User:Vintprox

melroy,
@melroy@mastodon.melroy.org avatar

@vintprox I couldn't visit in 2023 due to my health, however I did visit all the years prior again (minus the covid online event which was remote only).

The quality in general different always widely between speakers. Some are just better than others. I do think they do recording better nowadays. I mainly missed a devroom for c/c++ and alike and a devroom about the fediverse. #fosdem2024 #cpp #c #fediverse #fosdem

fell, to cpp
@fell@ma.fellr.net avatar

I really like C++, but this is the satanic ritual required to get a file modification date:

auto ftime = std::filesystem::last_write_time("file.txt");  
auto stime = std::chrono::clock_cast<std::chrono::system_clock>(ftime);  
auto time = std::chrono::system_clock::to_time_t(stime);  
auto ltime = std::localtime(&time);  
auto year = 1900 + ltime->tm_year;  
auto month = ltime->tm_mon;  
auto day = ltime->tm_mday;  

:drgn_confused:

villares, to cpp Portuguese
@villares@ciberlandia.pt avatar

Any C++ sourcerer here? (I think it is a #CPP thing...) #jpype struggles with non-ASCII chars in the JDK path... https://github.com/jpype-project/jpype/issues/1111

molecularmusing, to cpp
@molecularmusing@mastodon.gamedev.place avatar

PSA:
If your platform offers a native way to declare variables in thread-local storage (e.g. __declspec(thread) or __thread), use this instead of the C++ standardized thread_local.
The native version often offers superior codegen, even for simple types like int.

#cpp

HunterZ, to cpp
@HunterZ@mastodon.sdf.org avatar

C++ problem that is driving me up a wall (using MSYS MinGW on Windows):

I'm using kubazip to programmatically extract ZIP files to a destination directory, and it stopped working with "file not found" errors when I switched to managing paths via std::filesystem::path instead of std::string

I've eliminated the input file's path as the problem by switching to reading ZIP data from memory, so it's a problem with telling kubazip the output path into which it should extract the ZIP

HunterZ, to cpp
@HunterZ@mastodon.sdf.org avatar

Trying to understand string_view from C++17. It's apparently a thin immutable container API around C++ or C style strings that gives you a subset of std::string features while being much more lightweight (due to not owning the actual data).

It's mentioned as a replacement for the const std::string& idiom, but I just got corruption when using it to catch a std::string return value (i.e. a temporary)...

#cpp #cplusplus

amackif, to GNOME
@amackif@mastodon.social avatar

Hey #gnome and #kde people, since you are at #fosdem could you maybe discuss what would it take to make a common toolkit (Linux toolkit?) that would appeal to both #c and #cpp devs? Basically covering both platforms so we could converge. Maybe #swiftlang? Fork of #Kotlin native? Seems to me we would be better off with people writing mobile apps for Linux desktop, than people writing web apps and electron garbage on desktop.

Fully aware of https://xkcd.com/927/

turbobob, to science
@turbobob@mamot.fr avatar

#FOSDEM Could anyone recommend a useful resource for learning pybind11, in complement of the docs (https://pybind11.readthedocs.io/en/stable/index.html) :blobcatheart: ?

#Science #Python #Cpp #pybind11 #Physics #Research #Climate #FOSDEM24

jimfl, (edited ) to rust
@jimfl@hachyderm.io avatar

Today I learned about @slint (https://github.com/slint-ui/slint) which takes a UI described in a DSL and compiles it to , , or . Runs across multiple platforms.

I’m wondering if anyone has tried using a Slint-built binary as a NIF in . Seems like a powerful combination.

cpponline, to cpp
@cpponline@mastodon.social avatar

C++Online is committed to providing a safe and inclusive environment for all participants under the Berlin Code Of Conduct: https://berlincodeofconduct.org/.

Join us online for up to four days of C++ content, including livestreamed C++ talks and workshops, as well as networking through our interactive virtual venue.

For more info, or to purchase tickets, visit https://cpponline.uk/

#conference #cplusplus #cpp #event #software

cpponline, to cpp
@cpponline@mastodon.social avatar

Join Mateusz Pusz, Peter Sommerlad, Andreas Fertig, Jonathan Müller and many others speakers at C++Online running from 29th February - 2nd March

https://cpponline.uk/schedule

Register today at https://cpponline.uk/registration

#coding #cplusplus #cpp

weilawei, to cpp
@weilawei@mastodon.online avatar

Most of common functions from C++17 std::unordered_map have been implemented as a wrapper around Userspace RCU. Getting there, one bit at a time.

A screenshot of the API documentation for urcucpp's lf::map class template. Most of the common parts of the C++17 std::unordered_map API are implemented.

cppnow, to cpp

🚨 CALL FOR VOLUNTEERS 🚨

We're looking for volunteers for C++Now 2024 running from 29th April - 3rd May 2024

Read more and apply at: https://cppnow.org/announcements/2024/01/2024-call-for-student-volunteers/

DEADLINE: Monday February 19th

cpponline, to cpp
@cpponline@mastodon.social avatar

🚨 CALL FOR POSTERS 🚨

We are delighted to announce CppOnline will have a virtual Poster Room at this year’s conference. Get involved and showcase your poster!

Application form: https://forms.gle/RB2iuswfyZN3iRD78

DEADLINE: Mon 15th February

#cplusplus #cpp #poster

hunger, to rust
@hunger@linuxrocks.online avatar

I am looking forward to #FOSDEM this weekend. I'll be there, ping me if you want to chat about UI development in #rust, #cpp, #javascript or #python.

#slint can do UIs in all of those 😃

allpurposemat, to Blog
@allpurposemat@mastodon.gamedev.place avatar

New #blog post! This time we're going through a #polyglot program I wrote initially as a joke, but turned out to be lots of fun. The same source file compiles in both #cpp and #python, with some cool preprocessor shenanigans to get it all working together.

Read it here: https://blog.allpurposem.at/pythonplusplus-bridging-worlds-with-polyglot-code
Follow the blog: @mat

cfnptr, to cpp
@cfnptr@mastodon.gamedev.place avatar

Made a custom css theme for Doxygen. At least now it doesn't look like it's from the 90's 🙂

#cpp #docs

ollibaba, to cpp German
@ollibaba@chaos.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines