Louis Dureuil

Results 261 comments of Louis Dureuil

I understand that there ought to be a method to move the generator from "unstarted" to the first value-accepting `yield`, however as-is the API feels "wrong" to me: 1. it...

> I agree that an API which doesn't discard arguments would be preferable. I will note, though, that the documentation does at least say that ["the first resume argument will...

I'm not sure who is to review this PR, but as the author of #1151, I wanted to make explicit that IMO, merging this PR would completely resolve this issue....

I'd propose a formulation, but I'm unsure about e.g. stuff like ZST... I'd add: > Nominal types without a repr attribute have the default representation. Informally, this representation is also...

Hello! I have been following the Server-sent-events (SSE) libraries for yew closely, and I even built an [example](https://github.com/dureuill/yew-sse-example) of using [liquidnya/yew-sse](https://github.com/liquidnya/yew-sse) with yew 16.2, rocket 0.5-rc1 and trunk. If I...

I added capnproto to llogiq's [serdebench](https://github.com/llogiq/serdebench) some while ago. However, [results on my machine](https://github.com/llogiq/serdebench/pull/1#issue-475777066) weren't so hot compared with flatbuffers, so maybe I did something wrong?

FWIW, `cxx_build` has the following module to determine target_dir: https://docs.rs/cxx-build/latest/src/cxx_build/lib.rs.html#1-473. It expects the path stored in the OUT_DIR environment variable as input. I'm not certain it handles all possible situations...

> Discussed with @Kerollmops: an idea could be to use an LRU (least recently used) map instead of a HashMap The issue with switching to a LRU is that the...

I'd like to add my 2 cents to this discussion, in the spirit of @GregoryConrad's nice solution. I'll start by describing the currently existing system, then describe a possible solution...