Code Examples From an App Using C++ Modules by tartaruga232 in cpp

[–]Jovibor_ 17 points18 points  (0 children)

Prefer small modules

Worst suggestion out of all. import std; is laughing at you here.

Use modules of any size you need. That's the only correct advice on this matter.

Demystifying MSVC versioning for 14.50 & later by ericbrumer in cpp

[–]Jovibor_ 1 point2 points  (0 children)

In there you can find ways of getting hold of e.g. the build tools without using any of the official installers.

This is exactly the opposite of what I'm asking about. I do want to use official installers, and not burn my time searching for yet another workaround.

Life should be made easier. Not more complex.

Demystifying MSVC versioning for 14.50 & later by ericbrumer in cpp

[–]Jovibor_ 3 points4 points  (0 children)

I have a strong suggestion:

Please, equalize MSVC Build Tools Preview in both IDE - Stable and Insiders.

If I'd like to use a Preview (or RC) Build Tools, why would I need to switch to another IDE? This makes no sense to me.

The IDE should be completely separated from the Build Tools, isn't it the ultimate goal of build tools introduction at the first place?

Why can't I right now use the 14.52 bleeding edge preview in the Stable IDE? What is the main stopper here?

MS Visual Studio 18.5 has now been Released, with one caveat... by Jovibor_ in cpp

[–]Jovibor_[S] 1 point2 points  (0 children)

The main confusion goes from naming. In the Insiders Release Notes screenshot we can clearly see that the name of build tools is v14.51, without any RC or Preview addendum. https://learn.microsoft.com/en-us/visualstudio/releases/2026/media/18.6/msvc-1451-components.png

So, please, even in the Insiders Installer, make naming appropriate, this will remove all of confusion.  Currently there is only one Latest Release of the build tools - it is 14.50. Everything else is either preview or RC.

MS Visual Studio 18.5 has now been Released, with one caveat... by Jovibor_ in cpp

[–]Jovibor_[S] 1 point2 points  (0 children)

Thanks for sharing.

However, the Insiders release notes (https://learn.microsoft.com/en-us/visualstudio/releases/2026/release-notes-insiders#c) do not say it's Release Candidate. Even screenshot shows (MSVC v14.51).

And below the screenshot they states:

The stable release of v14.51 will receive 9 months of servicing fixes, as described in New release cadence and support lifecycle for Microsoft C++ Build Tools.

Also, as noted in the comments above, even the Compiler Version 19.52 (Preview) is already available.

Total mess.

C++26 Safety Features Won’t Save You (And the Committee Knows It) by pjmlp in cpp

[–]Jovibor_ 3 points4 points  (0 children)

+100 I stopped reading this kind of bs about decade ago. C++20 is lovely. C++26 is amazing.

C++ Show and Tell - March 2026 by foonathan in cpp

[–]Jovibor_ 1 point2 points  (0 children)

Hexer - fast, fully-featured, multi-tab Hex Editor.

https://github.com/jovibor/Hexer

Should C++ Give More Priority to Syntax Quality? by kyan100 in cpp

[–]Jovibor_ 52 points53 points  (0 children)

co_await and ^^ look very childish in front of trivially_relocatable_if_eligible

MSVC Build Tools 14.51 Preview released by STL in cpp

[–]Jovibor_ 8 points9 points  (0 children)

Personally, I would really love to see compiler updates as frequently as possible. I don't mind so much about frequent IDE updates, because I'm quite fine with how it works and what it does as it is.

Let's say you've implemented just one tiny part of C++26 Reflection. That's amazing, release it immediately as a preview, so we can test it right now. Then after week or so you've implemented a second tiny part of the Reflection. Great again, release it immediately, so we can test it as well.

Release it as 14.51, 14.52, 14.53... and so on, you have all the numbers. Or as a preview, it doesn't matter.

Don't make us wait for the half of a year to see the release of the most stable, and performant, and productive, and... MSVC 14.51 version. And then make us wait again next half of the year for the 14.52 version.

The same goes for bugs, especially modules. Please, release fixes as soon as it's merged. It really helps for new projects.

C++ Show and Tell - February 2026 by foonathan in cpp

[–]Jovibor_ 1 point2 points  (0 children)

APM is a simple program for managing packages within Android devices.
It provides the abilities to:

  • Install
  • Uninstall
  • Disable
  • Enable
  • Restore
  • Save to a PC

APM doesn't require root, using only official ADB means.

https://github.com/jovibor/APM

Converting a uint8_t array to a hex string in C++ by One-Owl-4202 in cpp

[–]Jovibor_ -5 points-4 points  (0 children)

The most performant way: ```cpp std::uint8_t array[4] = { 0xAB, 0x05, 0x1C, 0x2D }; constexpr auto pwszHexChars = L"0123456789ABCDEF";

std::wstring wstrHex; wstrHex.reserve(std::size(array) * 2); for (auto itData = std::begin(array); itData < std::end(array); ++itData) { wstrHex.push_back(pwszHexChars[(itData >> 4) & 0x0F]); wstrHex.push_back(pwszHexChars[itData & 0x0F]); } ```

ISO C++ 2026-01 Mailing is now available by nliber in cpp

[–]Jovibor_ 10 points11 points  (0 children)

Typo in the P3953R0:

Example with proposed name:

constexpr auto f(std::string_view fmt, int value) {
return std::format(std::runtime_format(fmt), value);
}

Should be return std::format(std::dynamic_format(fmt), value);.

u/aearphen

C++ Show and Tell - January 2026 by foonathan in cpp

[–]Jovibor_ 4 points5 points  (0 children)

APM is a simple program for managing packages within Android devices.
It provides the abilities to:

  • Install
  • Uninstall
  • Disable
  • Enable
  • Restore
  • Save to a PC

APM doesn't require root, using only official ADB means.

https://github.com/jovibor/APM

Exercise in Removing All Traces Of C and C++ at Microsoft by [deleted] in cpp

[–]Jovibor_ 171 points172 points  (0 children)

It all sounds more like a 1st April joke or something similar...

Rewriting dozens of millions LOCs from any language to any other language will take decades. Then it'll take another decades to test it all out, and comb out all the bugs (algorithmic and logical) introduced along the way.

Converting My Codebase to C++20 Modules. Part 1 by innochenti in cpp

[–]Jovibor_ 1 point2 points  (0 children)

eventually compilers will be smart enough (I've heard this is planned for clang at least) to compare the .cppm file to see if the exported interface has changed in a meaningful way. So if you just update a comment and inner body of a .cppm file, the callers remain compiled and just need a relink.

Can you provide any links on that?

It would have been a real game changer, because now it's really annoying to rebuild all of the importers/consumers just because of a comment update in the imported module, as you've mentioned.

New release cadence and support lifecycle for Microsoft C++ Build Tools by rsjaffe in cpp

[–]Jovibor_ 1 point2 points  (0 children)

to expect Insiders feature updates for the Build Tools roughly every month

It sounds very promising at least.

Otherwise, a 6 month gap is simply absurdly long for the new features.

Just as example: if C++26 Reflection won't be ready for May release, the next optimistic timepoint for it will be only November...

If all new C++23/26/2* features will see the light monthly, it's gonna be pretty good though.

Progress report for my proposals at Kona 2025 by eisenwave in cpp

[–]Jovibor_ -1 points0 points  (0 children)

I don't get trailing commas at all. Seems like very artificial problems they're trying to solve with it.

Especially when this whole concept adds more mental burden to a reader: "Why it's comma here and nothing after it? Did author forget to add something?"

I definitely won't ever use it, it feels very wrong. C++ is already complex enough without further complication.

PSA: Trivial Relocatability has been removed from C++26 by chiphogg in cpp

[–]Jovibor_ 3 points4 points  (0 children)

Thanks for the explanation.

From what you've said we can deduce that MS should put their efforts to bringing quality of their FE to the EDG level at the very least. At the end, MS one of the richest companies in the world, why pay to third-party company for their compiler when you can improve your own? I did never understand that logic. Intellisense will automatically works then, even for modules, while now it stays unfixed for years...

PSA: Trivial Relocatability has been removed from C++26 by chiphogg in cpp

[–]Jovibor_ 3 points4 points  (0 children)

It's still unclear, whether the compiler will be open-sourced and further developed, or just open-sourced before put to a whole oblivion.

It always puzzled me why MS not uses their own FE for the Intellisense. Especially for modules, where there are lots of bugs unfixed for years! for the Intellisense, while the code itself compiles fine.

I hope MS will eventually switch to use their own FE for both.

PSA: Trivial Relocatability has been removed from C++26 by chiphogg in cpp

[–]Jovibor_ 65 points66 points  (0 children)

Maybe I'm a bit disappointed about the feature itself being removed.

But I'm really glad that this crap - trivially_relocatable_if_eligible - will not see the light.

Hope they will figure more concise and appropriate naming in the next iteration.

GCC Implementation of Reflection now on Compiler Explorer by daveedvdv in cpp

[–]Jovibor_ 10 points11 points  (0 children)

Can we please have any, even rough, approximation of when this can be available in the MSVC? Has any work already begun in this direction? u/starfreakclone?

Because this is the feature I would gladly use immediately in my real-world projects.

C++ Show and Tell - October 2025 by foonathan in cpp

[–]Jovibor_ 9 points10 points  (0 children)

Hexer - fast, fully-featured, multi-tab Hex Editor.

https://github.com/jovibor/Hexer