Justen Di Ruscio

Results 10 comments of Justen Di Ruscio

@pfeatherstone I've had great experience with stackless coroutines. I use them both stand-alone and with Beast for HTTP. The usability is much higher than that of stackful ones. Certain blog...

@mwerezak I'm not sure what your usage of class `Example` is, but the following code tests its construction, copy construction, move construction, copy assignment, and move assignment. GCC13.2.1 was used...

@rohitpai I'm not sure what the issue is on your platform. Running your reproduction program on Linux w/ Boost.asio 1.83 terminates after the 12.2 seconds as you expect: ``` at...

@diehard2 `execute` was deprecated and recently removed. The [documentation](https://www.boost.org/doc/libs/1_82_0/doc/html/boost_asio/reference/execution__execute.html) indicates to use the member function instead.

Case 3, where the input isn't stored in memory in its entirety, would cause code like [this](https://github.com/stephenberry/glaze/blob/main/include/glaze/util/parse.hpp#L542-L546) to fail. Swapping buffers invalidates any iterators, and the start iterator in that...

And, an example of current code that requires contiguous input buffers: https://github.com/stephenberry/glaze/blob/main/include/glaze/json/read.hpp#L374 In fact, parsing to a string view from above is another example.

@jbbjarnason there are iterator traits, where there's a contiguous tag that can be detected from the iterator_categery trait. The C++ standard provides a concept for this type trait, too.

To restrict parsing string_views, the concept `std::contiguous_iterator` could just be employed on the input iterators of the `from_json` specialization. String_views don't go through the meta system to generate `from_json`. There...

I believe the null termination requirements of glaze would require every *chunk* to be null-terminated.