Stephen Berry

Results 391 comments of Stephen Berry

The socket implementation has to be somewhat tied to the scheduler (I think). I wish https://github.com/dietmarkuehl/stdnet were further along, but it isn't mature and is not cross platform. As much...

Currently Glaze uses asio, and I intend to still allow asio sockets. I've also experimented with libuv sockets. But, cross platform sockets is the easiest part of this implementation and...

@notable-equivalent, I was recently working on this. You're correct that `resize` can only fail with exceptions. I use exceptions for out of memory issues on embedded hardware, but I realize...

Thanks for your feedback, I really like this buffer_traits idea. I'm not sure how long it will be to get this implemented, but it will be a higher priority.

I wouldn't tell users to `#define NOMINMAX`, because it's much better to just solve the problem and users will inevitably miss the documentation. But, the other suggestions @Alcaro proposed are...

Thanks for bringing up this issue and explaining your use case. By requiring null termination we can greatly reduce the number of checks and branches, which makes parsing around 5%...

The underlying buffer simply needs to contain a null character within its allocated memory somewhere after the message. So, intermediate string_views do not need null termination. Right now Glaze checks...

If data is null terminated then when we need to check for the existence of a character, let's say a `{`, then we can simply do `if (*pCursor == '{')`,...

I plan to solve this problem in a few different ways for different use cases. One quick question I have for you is would you be able to assume the...

This is a high priority, I've just been distracted by other issues and development needs for my primary job. The null termination requirement is currently used for a few reasons:...