Stephen Berry

Results 391 comments of Stephen Berry

To get more out of the compile time benefits of modules using `import std/std.compat` gives better performance in my experience. But, if the support isn't there I'm okay with an...

@msqr1 Your Clang compilation error is probably because you need to build with `-stdlib=libc++`. Using the default GCC implementation currently has compile time bugs.

Thanks for bringing this up and sharing the compiler explorer example. I'm looking into it now. `...REMOVED MISTAKEN COMMENT` to not confuse others

I added a test case for this in #1562. However, this is passing GCC14, which is confusing to me because it uses `-Wall`, `-Wextra`, and `-Werror`. I would have expected...

> regarding the pipeline, correct me if im wrong but it looks like Werror is only set for Clang and there is no O2 optimization Ah, thanks for pointing that...

The fact that this bug doesn't exist with `O0`, `O1` or `O3`, but occurs with `O2` makes it seem very much like a compiler issue. I can keep this alive...

@20162026, this compiler bug should now be avoided with the visiting improvements in: #1771 This new code should be faster as well, and much simpler for the compiler. I ran...

This will likely be the last 2.x.x version before 3.0.0, so this would be good to get merged.

The value `1.00` is serialized as `1` because that is the least number of characters needed to roundtrip the value. This is how `std::to_chars` works along with the default `std::format`....

`glz::json_t` doesn't store integers, so are you using your own variant? I don't know what you mean that it was converted into an integer. In JSON there is no concept...