|
Lucio Franco
@
lucio_d_franco
Brooklyn, NY
|
|
All day Rust type of person. Building @vectordotdev and @tokio_rs! he/him
|
|
|
757
Tweetovi
|
306
Pratim
|
516
Osobe koje vas prate
|
| Tweetovi |
|
Lucio Franco
@lucio_d_franco
|
31. sij |
|
Thanks! Yes, we plan on support io_uring for sure! There are still some details to figure out but progress is being made :)
|
||
|
|
||
| Lucio Franco proslijedio/la je tweet | ||
|
Vector.dev
@vectordotdev
|
31. sij |
|
We've built an open source tool to help you harness, connect, transform, and route your event streams!
That means your piles of logs can be collected, split, carved up, merged again, and then fed downstream!
Interested? vector.dev pic.twitter.com/CdTckCHD6d
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
31. sij |
|
I am super excited for io_uring and cool to see @tokio_rs mentioned :) The future of async io is exciting! twitter.com/Cor3ntin/statu…
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
31. sij |
|
Excited to have you on the team! Looking forward to working together!
|
||
|
|
||
| Lucio Franco proslijedio/la je tweet | ||
|
Maksym Zavershynskyi
@mzavershynskyi
|
30. sij |
|
If anyone is interested in being paid for contributing to github.com/tokio-rs/loom under guidance of @carllerche please write me. Experience contributing to Rust concurrency projects is desirable. #rustlang
|
||
|
|
||
| Lucio Franco proslijedio/la je tweet | ||
|
Ivan Prisyazhnyy
@JohnKoepi
|
30. sij |
|
Epic sentencing - everything is strict serializable, but locks are fundamentally flawed (insafe) jepsen.io/analyses/etcd-…
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
30. sij |
|
Here is an example that will not compile:
play.rust-lang.org/?version=stabl…
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
30. sij |
|
Basically, if you have a fn on a trait that does this `bar<T>(t: T)` then it is no longer object safe, aka you can't turn it into a trait object. This is because the generic is not known at compile time and thus there is no way to know that type at compile time.
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
30. sij |
|
I played it on my friends rig, I think he has the regular 2080, since this is a more modern engine its way more optimized than any other FS sim.
P3D/FSX are both built on a codebase from 2004 the ESP platform. So you can only do some much with that.
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
30. sij |
|
I have played it, its great! Im super excited :)
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
30. sij |
|
So conclusion is: Use AT until you really need things to be generic over per trait impl, then use generics on the trait. If those don't fit use generic on a trait fn.
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
30. sij |
|
The cost of AT vs Generic on the trait really depends but generally also comes down to how you use the trait. AT can "hide" some specific type within the trait which is _not_ generic to that trait implementation.
Generics are more ergonomically costly than AT but are more flexy.
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
30. sij |
|
Associated types when I need "some" generic type. Generic on the trait for when a method on that trait is generic over a single type in its parameters. And I rarely use generics on fn since that is not object safe but it can be useful if you have a specific situation for them.
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
29. sij |
|
Really lovely article talking about the "suspended coffee" culture in Naples. Through tough times you gotta stick together :)
nytimes.com/2014/12/25/wor…
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
29. sij |
|
@ here and everyone for me is basically a short cut to "leave this server"
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
29. sij |
|
Mute and folders are my best friends!
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
29. sij |
|
I wonder if this is a usecase for sccache?
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
28. sij |
|
I love serde and all the neat little hacks you can find to get what you want done. In our case we needed to encode json to check its size but then nest that within another json object. In comes RawValue and its EXACTLY what we need!
play.rust-lang.org/?version=stabl…
|
||
|
|
||
|
Lucio Franco
@lucio_d_franco
|
28. sij |
|
This looks great! I was wondering if this code was public at all? I'd love to have a peek :)
|
||
|
|
||
| Lucio Franco proslijedio/la je tweet | ||
|
Tokio
@tokio_rs
|
26. sij |
|
Trying #rustlang async/await is easy with the Rust Playground: play.rust-lang.org/?version=stabl…
|
||
|
|
||