Michael Bryan
Michael Bryan
> The std time, duration is too big overhead for an embedded system I'm curious what you mean by `core::time::Duration` having too much of an overhead? Its definition is `struct...
On an embedded device (most `#[no_std]` applicationd) you often bring your own clock. This is typically implemented by registering a `SysTick` interrupt handler and incrementing a counter every time it's...
Note that this repo no longer satisfies [its own MSRV](https://github.com/rust-cli/human-panic/blob/ffe447a2c66b41b338edb440470c42050bbc0dd5/.travis.yml#L13) because the `Cargo.lock` file isn't committed and a number of dependencies use newer Rust features. Compiler errors with Rust 1.36.0...
Thanks for pointing that out @zrneely. I had a look at [The Reference] and it *sounds* like `extern` defaults to `stdcall` or `win64` on Windows machines and the C ABI...
This sounds like a nice way to shoot yourself in the foot by messing up the allocator's internal bookkeeping. I imagine the solution for this problem would mention that a...
I've posted this issue on the [\[TWIR\] Call for Participation][cfp] thread on the user forums. [cfp]: https://users.rust-lang.org/t/twir-call-for-participation/4821/156?u=michael-f-bryan
> One of the things I always struggle with is exactly what you need to clean up when, especially when you're in a failure state. As a general rule, you'll...
@derekdreery that's a really good idea! I wrote [an example] that wraps `libmagic` (the library behind the `file` command) to showcase linking to a C library, but perhaps I should...
Thanks for spotting the bug @derekdreery, I had another look at the code and fixed the issue. I believe it steps from the fact that I was creating a `Magic`...
Thanks @anxiousmodernman! I'm actually planning to add a worked example of embedding an interpreter in Rust, so your experience may be useful. Is there anything you think others would benefit...