Today my PR to add the #vcpkg package to nix has been merged!
A minimal set of patches was needed for vcpkg to work as an installed program in an immutable file system. A wrapper script to set mutable paths (download, buildtrees, packages) in the home directory, and make vcpkg write the lock file to /tmp/vcpkg/root-id. Works like a charm!
The only features that don't work (and cannot work) is anything requiring the vcpkg git history, but usually there's ways around that. #cpp#cplusplus
The experience with #Copilot dramatically improved after I stopped asking it for novel code, & started using it as an autocomplete for #Clang. Code for functions with different prototypes but the same functionalities appear after I do the 1st. This plays nice with variadic macros.
On the #cpp#cplusplus side, it can use the STL rather well, saving me from having to look up things. I've observed that it will do better with higher level lang (e.g. #perl or templated C++) than C @Perl
@Perl An interesting application of these observations (at least for my beloved #perl) is that one can write very quickly large chunks of Inline #clang or #cplusplus code for @Perl . Again, it is important not to let it hallucinate (especially if you have a tendency to typedef the living daylights out of your code): just finish your function BY HAND and let it generate boiler plate to use it, variations with different signatures, and even XS glue to move data from C <-> Perl.
Spent some time wrestling with #cPlusPlus and #debugging in #gdb to give #ledgerCLI the ability to cope with the UK's mad tax year. I blame Henry VIII 👑
If you ever want to prank someone, here's a good one: Add "#include <Windows.h>" to one of their C++ projects. It will definitely mess up a lot of stuff, and break their code in strange ways 😈
I think #dotnet folks are spoiled by tooling, but reading the overwhelmingly positive feedback from CLion Nova users writing #cplusplus with #ReSharper is a nice reminder of the joy great tooling can bring folks.
I did a lot of C++ programming back in the early 2000s. C++ has evolved a lot since then. Every time I go back to revisit it to see what is new it seems to be filled more and more with these sorts of easy to step on your own foot pedanticness. I think I'd rather jump to Rust than back to C++ if I had to pick a lower level language again and straight C wasn't an option. #programming#CPlusPlusdevblogs.microsoft.com/oldnewt…
Given all the ad block conversation around YouTube, I wonder what it would take for conferences to post their videos to PeerTube or similar video service. I mean they have the content ready to go.
Various conferences in a topic could even together start their own instance and share the infrastructure cost. There won't be any need for content moderation.
Looking at you Cpp North, C++ on Sea, C++ Now, Meeting CPP, AdaCon, ...