Jonathan Chan Kwan Yin
Jonathan Chan Kwan Yin
Don't use devirion. just inject the virion directly using pharynx: https://github.com/SOF3/pharynx
I have no problem with no_std support. But doesn't the wasm32 target contain `std`? Or am I missing something?
I mean the wasm32-unknown-unknown target already supports std (even though many are unimplemented), and it doesn't seem to require no_std to build a normal .wasm binary.
Would it be a bit ambiguous to write `if less_than 10`? It is not immediately ambiguous what we are comparing - raw buffer size, compressed buffer size, compression ratio/percentage, 1...
originally I wanted to suggest changing `more_than` to `>`, but then I realized this is a slippery slope that would prompt for other features like `&&` and `||` and grouping,...
"Rewrite in TS" is really a different story. You just need to provide declarations to transform JS to TS, but RIIR requires magnitudes more energy to get borrowck happy.
actually big corps also have their unique reasons not to RIIR, such as "why use a complex language when we could just push more manpower to avoid the problems with...
@Yokinman for the iterator case, isn't the usual approach to wrap the enum in a struct such that the enum doesn't need to be `pub`?
lint broken due to golangci/golangci-lint#3938
@the8472 Isn't that what the `None => (0, Some(0))` line is supposed to handle?