It's a sad day for #rustlang: actix-web is dead. I am not feeling very good about our community today. https://words.steveklabnik.com/a-sad-day-for-rust …
-
-
Replying to @steveklabnik
I've been extremely disappointed with how everyone has acted in this repeating thunderstorm, thanks for writing this out
1 reply 0 retweets 29 likes -
Replying to @ManishEarth @steveklabnik
I've said this before, but we don't have enough documentation on unsafe best practices (nomicon helps, isn't everything). When it's your own opinion vs a Reddit mob and there's no "higher authority" to refer to, what the fuck do you think is going to happen
3 replies 0 retweets 34 likes -
Replying to @ManishEarth @steveklabnik
I mean in this case we do have a pretty clear statement in the nomicon to refer to in this case.pic.twitter.com/ulrYhH4wUH
1 reply 0 retweets 3 likes -
Granted, this could probably use a paragraph explaining that this is true even if the unsafe function is private, and that having this boundary is to help audit and maintain code, not just providing safe public APIs
1 reply 0 retweets 4 likes -
Replying to @sgrif @steveklabnik
I think there's a TON of nuance involved when it comes to private functions, around where the boundary should be. We typically pick "the module" but it's not quite that in particular the standard you have set makes it impossible to effectively write FFI code
4 replies 0 retweets 2 likes
Nearly everything I ship in Rust uses FFI code, so I'm not sure where that comes from. The distinction is that the safe functions are those wrapped in an abstraction that enforces the invariants required for it to be safe. Those that aren't are marked `unsafe`
-
-
Replying to @sgrif @steveklabnik
I should have said "some FFI code", specifically around bidirectional FFI situations like those used in Firefox, where it is extremely hard to localize invariants
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.