Advertisement · 728 × 90

Posts by Jack O'Connor

Never snooze a future

Blog post today, about what we're going to do about Futurelock: jacko.io/snooze.html. @sunshowers.io and @elizas.website, I'd be curious whether any of this is new to you.

1 month ago 1 0 0 0

Not directly. I'd recommend spawning a waiter thread and having that thread send whatever async signal you need.

11 months ago 1 0 0 0

The GitHub links? What URL do you end up trying to load?

11 months ago 0 0 1 0
Release version 1.0.0 · oconnor663/duct.rs Changes since 0.13.7: The API is stabilized as-is, and most callers won't need to make any changes. Fixed a bug where Handle::try_wait could block indefinitely if a child process had exited but a ...

Finally released Duct v1.0 in both Rust and Python:

github.com/oconnor663/d...
github.com/oconnor663/d...

11 months ago 2 1 2 0
Preview
eliminate hidden pass-by-reference footguns · Issue #5973 · ziglang/zig Accepted Proposal Zig 0.6.0 (not master). This is related to, actually maybe a subset of, #4021 / #3696 (this issue doesn't involve result copy elision). I understand that this was intended to be a...

Do you know if the decision to get rid of "parameter reference optimization" will also fix aggregate assignment? github.com/ziglang/zig/...

11 months ago 4 0 2 0
Rust can Compete with Python
Rust can Compete with Python YouTube video by Jack O'Connor

Here's my hour-long 😬 take on this question: youtu.be/OQTwvycftJU

11 months ago 2 0 0 0

Ok having now had a chance to actually watch, can safely say it's another banger.

Jack's videos continue to stand out even in a sea of consistently high quality Rust learning resources.

(If you're just curious about Rust I might suggest one of the other videos though, like "A Firehose")

11 months ago 1 1 0 0
From Rust to C and Back Again: an introduction to "foreign functions"
From Rust to C and Back Again: an introduction to "foreign functions" YouTube video by Jack O'Connor

My latest talk: www.youtube.com/watch?v=LLAU...

11 months ago 2 0 0 1

Glad to hear it! By the way, I'm currently on the job market, if you know anyone who might be a good fit?

11 months ago 1 1 0 0
Advertisement

Knowing absolutely nothing about the context, that sounds a little fishy if it's working with an iterator, because `map` is "lazy". Any elements that you don't actually drive out of the iterator will never go through the `map` closure. `for_each` might be better?

1 year ago 2 0 1 0
Preview
The new BLAKE3 hazmat API The new BLAKE3 hazmat API, or why we can retire our BLAKE3 fork

I'm now 0.34.1 versions old!
This is a minor release, but it comes with some fun stuff:
We (and many others) have been depending on forks of the rust BLAKE3 crate by @oconnor663.bsky.social.

This is no longer the case with its latest updates 🎉

Learn more: www.iroh.computer/blog/blake3-...

1 year ago 10 5 0 0

Means "again" in Japanese too.

1 year ago 0 0 0 0
The surprising aerodynamics of playing cards (in super slow-mo)
The surprising aerodynamics of playing cards (in super slow-mo) YouTube video by AlphaPhoenix

www.youtube.com/watch?v=zp-F...

1 year ago 0 0 0 0
How to Pronounce Chinese Names a Little Better

jacko.io/chinese_name...

1 year ago 0 0 0 0

Did you get to the crashing example immediately below? Footnote 8 is also a more complicated example of thread switching overhead.

1 year ago 0 0 1 0
Async Rust in Three Parts

@without.boats I've tried to write a details-oriented intro to async Rust, and I'd love to get comments and corrections if you have time/interest. jacko.io/async_intro....

1 year ago 2 0 2 0

They caught the candle!

1 year ago 0 0 0 0