Replacing input STL string parameters with string views: Is it always possible?| Giovanni Dicanio's Blog
3 posts published by giovannidicanio during October 2024| Giovanni Dicanio's Blog
Manually editing the tasks.json to add the desired C++ compiler option.| Giovanni Dicanio's Blog
In VS Code, selecting the C++ language standard is not as intuitive as one would expect.| Giovanni Dicanio's Blog
Let's discuss a possible way to build a "bridge" between the managed C# world and the native C++ world, using P/Invoke.| Giovanni Dicanio's Blog
Let's see how to fix a common problem when building mixed C++/C# projects in Visual Studio.| Giovanni Dicanio's Blog
Let's bust a myth that is a source of many subtle bugs. Are you sure that you can simply drop UTF-8-encoded text in char-based strings that expect ASCII text, and your C++ code will still work fine?| Giovanni Dicanio's Blog
Just a heads up to let you know that Pluralsight is offering a Black Friday deal discounting individual plans by 50%. With PS you can access thousands of high-quality courses and learn a lot! Click the Pluralsight discount banner below or on the right side to save 50% now!| Giovanni Dicanio's Blog
Use STL string objects like std::string/std::wstring as a safe bridge.| Giovanni Dicanio's Blog
Passing STL std::[w]string objects at Win32 API boundaries is common for C++ code that calls into Win32 C-interface APIs. When is it safe to pass *string views* instead?| Giovanni Dicanio's Blog
How to *properly* convert Unicode strings to lower and upper cases in C++? Unfortunately, the simple common char-by-char conversion loop with tolower/toupper calls is wrong. Let’s see how to …| Giovanni Dicanio's Blog
Giovanni Dicanio's Programming Corner on the Internet| Giovanni Dicanio's Blog
1 post published by giovannidicanio during August 2025| Giovanni Dicanio's Blog
Linus Torvalds criticized a RISC-V Linux kernel contribution from a Google engineer as “garbage code.” The discussion focuses on the helper function make_u32_from_two_u16() versus Linus’s pro…| Giovanni Dicanio's Blog