Nic Hartley

Results 18 comments of Nic Hartley

@djc I have a pair of usecases where it's awkward: Writing to `File`s and `TcpStream`s. Out of curiosity, what makes you say that Askama templates revolve around writing to strings?...

@djc Leaving the existing code as-is won't regress anything (at least, barring some extremely funky trickery). `io::Write` to a `String` will almost always be slower, because it works in bytes...

The fact that it operates on text doesn't really change how that text is used, which should be the main decider -- is it mostly used to create `String`s which...

I'm not totally convinced that's possible without making the interface *much* harder to use, but if you think it's possible, I'll defer to that -- I have much less experience...

Makes sense! When I read "adapter", I was thinking some prebuilt code that does the same "read into string, send down pipe" wrapper that I did from the outside. If...

@cipriancraciun should go both ways, actually. I'm surprised there isn't one either. Seems like a common task. Might even make sense to have on in the standard library.

> Coding with ethanol Ahh, that explains why you wrote Monte Carlo in _TI-BASIC_, of all languages.

Bump -- any ETA on this at all? Especially the first one; it's mildly annoying to keep around extra copies of the same trait, now that it's been standardized.

@koute Anything you'd like help with? I've been using stdweb (and cargo web) lately; I'm happy to contribute back.