My first time in Bulgaria! I like it so far 🙂
My first time in Bulgaria! I like it so far 🙂
Get onboard the exciting journey of learning about C++ modules.
Download and setup GCC on your Linux system.
cd /tmp
wget https://sourceforge.net/projects/softwarefreedom/files/gcc/gcc.tar.xz/download
sudo tar -C /opt -Jxvf ./download
source /opt/gcc/freedom/source_gcc_env_vars.sh
g++ --version | head -n 1
#isocpp
#cplusplus
#cppmodules
#programming
#gnu
#linux
#gcc
#freedom
#softwarefreedom
#softwarefreedomproject
Latest generated C++ draft is available for download at
https://softwarefreedom.sourceforge.io/docs/std.pdf
This is a margin-trimmed PDF for ease of reading on devices.
Yay, C++26 will get contracts and standard library hardening 🎉
Should I write a paper aiming for renaming the "unibrow" reflection operator to the "twin-peaks operator"? 🤔 :P
OMW to the Hagenberg ISO C++ meeting!
Geez, that’s why I don’t hire seniors in my teams, and 40+ experience doesn’t matter, practical problem solving in last 2-5 years does. With this article https://cacm.acm.org/blogcacm/21st-century-c/ Bjorne S… is just producing BS… not improving. Or more politely, creating new problems instead of solving old… or resolving solved problems… with a mandate - because #cpp is _my_ baby… half of the article is just bollocks that is bloating, not improving… plz… start removing features, not adding in #isocpp
Reflections on C++ Reflection
https://www.youtube.com/watch?v=eSJsURVV-Zk
#cplusplus
#isocpp
#cplusplus23
#isocplusplus23
#reflection
#homoiconicity
#programming
C++ problem: unordered_map<string, T> can't be looked up via a string_view.
C++20 added a solution: Heterogenous lookup.
Problem 2: That solution means to replace unordered_map<string, T> with the code in the screenshot.......
Proposal: Add a string_hash to the stdlib, and then add a new hash_map to the stdlib:
template<typename T>
using hash_map = unordered_map<string, T, string_hash, equal_to<>>;
This would make C++ almost nice to work with! #cpp #programming #isocpp
I am trying to do something fairly simple with C++ Reflection. It seems like it should be the shown snippet, but all working examples end up looking like 99% of programmers wouldn't be able to come up with them :sadness:
Am I missing something obvious?
Meeting up with the gang again, after more than a year 🤙🏻
I hope this post gets the attention of at least a few ISO C++ "std-proposals" subscribers.
Does std-proposals subscription really mail every subscriber their pwd, in clear, *every month*? Why?
I imagine historical reasons like forgetful subscribers back when online interactions were not routine, but this day and age? May be the page is old and this is no longer practiced? 🤔
Just curious. Don't mean to question anything. ✌️
EDIT: Answered 🙏
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals #cpp #isoCpp #wg21 #infosec
Remember the days when #Clang was the new kid on the block, pushing forward the smug old folks by implementing the newest and hottest stuff from #isocpp?
Not so anymore: These days it always seems Clang for which I have to provide terrible fallback hacks, when trying to explore the hottest and nicest of #moderncpp, where #GNU and #MSVC just deliver.
C++23 is used for demo and training sessions of SoftwareHub community.
C++23 is also the baseline for all SoftwareFreedom projects.
#cplusplus #cplusplus23 #isocpp #SoftwareHub #SoftwareFreedom
Nice writeup by David Sankel, about what happened in Varna.
(Even though I don't agree with all his assessments)
#CPP #ISOCpp #standardisation
https://scribe.rip/blog.developer.adobe.com/trip-report-summer-iso-c-standards-meeting-ed141f80b664
Look what I found in the official FAQ for #ISOCPP about #serialization 😛
Today I had a nice c++ idea, variadic expansion for enum (https://lists.isocpp.org/std-proposals/2023/07/7225.php)
~~~cpp
constexpr auto min(MyEnum v) { return v; }
constexpr auto min(MyEnum head, auto... tail) {
using std::min;
return static_cast<MyEnum>(min(static_cast<int>(head), static_cast<int>(min(tail...))));
}
static_assert(MyEnum::eInvalid == min(MyEnum...));
~~~
inux Install Fest (Thu, 11th May)
We have scheduled a Hands-on Workshop.
RSVP Cairo, Maghreb
https://www.meetup.com/softwarehubcairo/events/293419333/
RSVP Ankara, Bosnia, Turkmen
https://www.meetup.com/softwarehub/events/293419305/
RSVP Riyadh, Mashreq, Iran
https://www.meetup.com/softwarehubriyadh/events/293419271/
All members of the Ummah are welcome نرحب بجميع أعضاء الأمة Ümmetin tüm fertleri davetlidir!
#Ankara
#Egypt
#Cairo
#Algiers
#Tunisia
#Morocco
#Nigeria
#Ethiopia
#Africa
#Sudan
#Riyadh
#Doha
#Dubai
#Sana
#Muscat
#Iran
#SoftwareHub
#SoftwareFreedom
#Linux
#isocpp
#cplusplus
@DanielaKEngert the intent was to help you setup and run ArchLinux on your windows box.
Then setting up latest build of gcc is a breeze.
Irrespective of gcc version, the meta-bug for all module issue(s) is
Golang and C++ are the focus at SoftwareHub community.
We use toolchains that are custom compiled with 'main' branch commits.
Golang (76MB)
https://sourceforge.net/projects/softwarehub/files/go/go.tar.xz
GCC C++ (475MB)
https://sourceforge.net/projects/softwarehub/files/gcc/gcc.tar.xz
#Ankara
#Egypt
#Cairo
#Algiers
#Tunisia
#Morocco
#Nigeria
#Ethiopia
#Africa
#Sudan
#Riyadh
#Dammam
#Damascus
#Baghdad
#Mosul
#Basra
#Manama
#Doha
#Dubai
#Sana
#Muscat
#Iran
#Kabul
#Dhaka
#Jakarta
#KualaLumpur
#Bosnia
#SoftwareHub
#SoftwareFreedom
#Linux
#isocpp
#cpp
#cplusplus
#golang