|
Jon Gjengset
@
jonhoo
Cambridge, Massachusetts
|
|
PhD student at MIT in distributed systems, @rustlang live-coder. and OSS tinkerer who loves teaching. I try to maintain a high SNR and retweet original tweets!
|
|
|
4.841
Tweetovi
|
127
Pratim
|
4.189
Osobe koje vas prate
|
| Tweetovi |
|
Jon Gjengset
@jonhoo
|
3. velj |
|
Our announcement for the class is over here for those who are interested! twitter.com/jonhoo/status/…
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
3. velj |
|
No, the lecture videos and lecture notes are all public as far as I am aware.
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
3. velj |
|
In January, @anishathalye, @jjgort, and I ran a short class at @MIT_CSAIL on topics we think are missing in most CS programs — tools we use every day that everyone should know, like bash, git, vim, and tmux. And now the lecture notes and videos are online! missing.csail.mit.edu pic.twitter.com/xNSlLgJfd4
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
2. velj |
|
|
||
|
Jon Gjengset
@jonhoo
|
31. sij |
|
That's interesting.. Yeah, I guess the big question is whether there is a need for a truly concurrent map, or whether all of the concurrent needs are satisfied by just locking a regular map.
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
30. sij |
|
Conversation has moved to github.com/jonhoo/flurry/… to avoid all the baggage from the various initial PR implementation discussion.
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
30. sij |
|
To see the kind of stuff I'm talking about, take a look at github.com/jonhoo/flurry/… (feel free to comment there).
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
30. sij |
|
Hey @rustlang no_std folks, I need you! I want to add no_std support to flurry (the concurrent hash map), but it is complicating the API quite substantially since we need to be generic over things like locks. How useful is a _concurrent_ no_std map? When would you ever need one?
|
||
|
|
||
| Jon Gjengset proslijedio/la je tweet | ||
|
peter purgathofer
@peterpur
|
29. sij |
|
|
||
| Jon Gjengset proslijedio/la je tweet | ||
|
to kubectl or not to kubectl that is the question
@mgattozzi
|
29. sij |
|
It has been 0 days since I showed coworkers the cursed Instant::now() code from Rust stdlib pic.twitter.com/V5Rdzw0kDi
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
24. sij |
|
The crossbeam docs are pretty decent: docs.rs/crossbeam/0.7/…. Following the stream, one of the viewers also wrote codeandbitters.com/learning-rust-…, which you may find instructive :)
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
24. sij |
|
I know right! I did realize that it actually needs to be split into multiple tests rather than just one, because otherwise it wouldn't catch if *one* of those references was allowed to live when the others weren't (since it still wouldn't compile). Have to fix that 😅
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
24. sij |
|
There's also a little gem hidden at the bottom of the diff :p
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
24. sij |
|
And this is why concurrency and unsafe requires you to be _really_ careful friends! github.com/jonhoo/flurry/…
|
||
|
|
||
| Jon Gjengset proslijedio/la je tweet | ||
|
Tokio
@tokio_rs
|
23. sij |
|
One foot gun when using Tokio is not yielding. This prevents other tasks from running and can result in large tail latencies. We think we can do better. @jonhoo is proposing a strategy to coordinate task yielding github.com/tokio-rs/tokio… #rustlang
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
23. sij |
|
If you think the concurrent @rustlang hashmap we built based on Java's ConcurrentHashMap was cool, and want to help make it better, I've opened a bunch of good starter issues at github.com/jonhoo/flurry/…. Happy to help mentor "good first issue" issues ❤️ New issues also welcome!
|
||
|
|
||
| Jon Gjengset proslijedio/la je tweet | ||
|
John Feminella 🌠
@jxxf
|
19. sij |
|
⏲️ As of today, we have about eighteen years to go until the Y2038 problem occurs.
But the Y2038 problem will be giving us headaches long, long before 2038 arrives.
I'd like to tell you a story about this.
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
20. sij |
|
Thank you for writing this — I was nodding along as I read, and agree with everything you wrote. On a personal note, I consider you among the best examples of a responsible and thoughtful open-source developer, and I regularly appreciate the way in which you engage online ♥️
|
||
|
|
||
| Jon Gjengset proslijedio/la je tweet | ||
|
Andrew Gallant
@burntsushi5
|
20. sij |
|
My FOSS Story blog.burntsushi.net/foss/
|
||
|
|
||
|
Jon Gjengset
@jonhoo
|
19. sij |
|
As for the path forward for our port, I would love to see it become a "real thing" like github.com/jonhoo/inferno. I go through some TODOs in the video, and PRs that add more of the Java tests, documentation, benchmarks, and additional APIs are all warmly welcome! Happy hacking 🍻
|
||
|
|
||