Emile Cormier

Results 281 comments of Emile Cormier

@chriskohlhoff Am I correct to assume that the debugging ergonomics problem described by AsonWon is purely due to Boost.Context? If so, the issue should be reported in the Boost.Context repository.

@AsonWon I'm glad you figured it out. Your findings has still brought up the problem of Boost.Context throwing (and catching) exceptions as part of its normal operations. This is a...

> I've made a tentative change in https://github.com/chriskohlhoff/asio/commit/96e1a95449664d426afeacd010454b9750a34de4 to allow the coroutine to run to completion if the user-supplied function has itself completed. This should eliminate the forced_unwind in that...

Here's a test where the coroutine does not run to completion: ```c++ #include #include #include #include #include #include //------------------------------------------------------------------------------ int main() { { asio::io_context ioctx; asio::steady_timer timer(ioctx); int count =...

@expnkx Why not? C doesn't have namespaces, so there is no other mechanism to prevent name clashes. `d2s`, `f2s`, and `d2exp` are very short, and `SUCCESS` is very common. They...

> You can clone that and put it into the namespace. It all depends on you. That presumes the user of this library is using C++ and not C. It...

My motivation is to use ryu as a substitute for `std::from_chars` and `std::to_chars` on compilers that don't support them.

I don't know if the goal of this project is to provide a library for general use, or to serve as a reference for other Ryu implementations (or both). Please...

I propose that ryu_parse provides a drop-in replacement for `strtod` with the same behavior except that it's locale-independant.

@expnkx thanks for suggesting your library, but I only need low-level parsing primitives for a library I'm working on. I want the number parsing dependency for my library to be...