Pre release stuff!!!
Pre release stuff!!!
TIL that in #javascript, parseInt(0.0000005) results in 5.
Here's the equivalent in rust. Definitely too verbose. play.rust-lang.org?version=stab...
TIL that in #javascript, parseInt(0.0000005) results in 5.
Here's the equivalent in rust. Definitely too verbose. play.rust-lang.org?version=stab...
Here's their rust implementation, rolled out quite quickly.
Here's their rust implementation, rolled out quite quickly.
Without overflows, this is just some subtractions, multiplications, and divisions.
Without overflows, this is just some subtractions, multiplications, and divisions.
Do you do this sort of thing in your code?
Do you do this sort of thing in your code?
Playground: go.dev/play/p/FThEw...
Mutability of the caller's data is soo important, which is why #rustlang has a `mut` keyword. Without it, and without interior mutability, you can't.
#footgun
Playground: go.dev/play/p/FThEw...
Mutability of the caller's data is soo important, which is why #rustlang has a `mut` keyword. Without it, and without interior mutability, you can't.
#footgun
Ah, but here's why copilot will never replace us. Doing both gives me this.
What edge cases is this thing talking about? Artificial edge cases for artificial intelligence?
Ah, but here's why copilot will never replace us. Doing both gives me this.
What edge cases is this thing talking about? Artificial edge cases for artificial intelligence?
Playground: play.rust-lang.org?version=stab...
Playground: play.rust-lang.org?version=stab...
Playground: go.dev/play/p/cw_HO...
Playground: go.dev/play/p/cw_HO...
Why doesn't this print "Nothing to see here"? Is my test for nil incorrect?
Playground: go.dev/play/p/uc-wt...
#rustlang FTW here, unless you use unsafe this can't happen.
Why doesn't this print "Nothing to see here"? Is my test for nil incorrect?
Playground: go.dev/play/p/uc-wt...
#rustlang FTW here, unless you use unsafe this can't happen.
Ted's, aka schrodinger's cat, is in there, but you need the password to check if he's dead or alive.
Ted's, aka schrodinger's cat, is in there, but you need the password to check if he's dead or alive.