Joshua Liebow-Feeser

Results 299 comments of Joshua Liebow-Feeser

I'm not familiar with how pinning works, but I was under the impression that one of the main functions of epoch's TLS is to maintain thread-local garbage lists. I was...

> I thought in elfmalloc you would never call `epoch::pin(|| ...)`, but instead create handles yourself and then call `my_handle.pin(|| ...)`. Is this correct? Hmmm I suppose this might work....

I'd be curious to see the performance of the two approaches, but intuitively, I feel like the temporary handle approach is probably fine because that approach would only be used...

Yep, that looks right! > (no-std) elfalloc is implemented. It depends on bsalloc, and uses a custom instance of Crossbeam that uses bsalloc. To clarify, you mean something like `GC`...

It'd be nice to have #1 so that you could print in full precision, but having float conversions would certainly be a good start, and probably good enough for most...

A related concern is infinite representations. E.g., how do you print 1/3? I think the best would be to have at least some mechanism of getting a precise string representation...

Did you end up putting up a PR? I had an idea - maybe this should be a method that returns an option? E.g., `fn decimal(&self) -> Option`. Maybe also...

Hi @rw, have you seen the [zerocopy](https://crates.io/crates/zerocopy) crate? It currently supports slices. I'm the author, and I am hoping that typic will get to the point of supporting slices (and...

I don't have time to work on this right now, but here it is in case somebody else does: I recently came across some code in the [image](https://crates.io/crates/image) crate which...