TWiR quote of the week


#393

the RFC really being four RFCs in a trenchcoat

whitequark on RFC 1847


#394
< ssheldon> well now I'm just bummed I won't get to publish my AUX crate

Heartfelt remorse from the instigator of the nulpocalypse ( https://www.reddit.com/r/rust/comments/68hemz/i_think_a_crate_called_nul_is_causing_errors_for/ )


#395
< Ralith> wasting absurd amounts of time on too-clever metaprogramming is a time-honored tradition!

From #rust-gamedev


#396

oli_obk: good thing is, your code won’t run until it’s mostly right :wink:
BernardoMeurer: I like VHDL more, your code will run even if it literally explodes the hardware

http://chat.stackoverflow.com/transcript/message/36918819#36918819


#397

Ok, I think we can just give up with the QotW now. Because no one will ever top that one. :slight_smile:

Hold my beer.

llogiq making promises on reddit.


#398

(from 2016)

In general, enough layers of Rc/RefCell will make anything work.

gkoz on the users forum in thread “How to get static lifetime?”. (link)

I lol’ed. Still getting into the groove of writing (and reading) Rust and this feels true/hilarious/like cheating the compiler.

EDIT: I see it had been suggested before, not sure if it was used. Still super funny :smiley:


#399

Spent the last week learning rust. The old martial arts adage applies. Cry in the dojo, laugh in the battlefield.

/u/crusoe on Reddit


#400

It may be related to “any program architecture problem may be solved with one more layer of indirection, except of excessive number of indirections”


#401

Ayose!

Cuanto tiempo :smiley:


#402

Also, @coder543 helped identify a surprisingly large difference in times when a Framed transport is used. I’m going to check if that’s something specific to Rust, or common to all transports. I really want to thank him for:

  1. Being super helpful in working with me until we figured out the exact setup that caused the issue (despite my claiming it was a problem with his setup!)
  2. Having a great attitude! We need more people in our community like this.

From Initial Rust support for Thrift lands in Thrift mainline


#403

<kmc> Rust std library has a type called Cow
<alixir> seems useful
<alixir> to avoid Mooving data unnecessarily


#404

Which channel?


#405

PM; got permission.


#406

Manishearth: eddyb: IMNHTHAHAHAHAHAHAHAHAHAHAHA
Manishearth: ^ the creators of rust inventing borrowck in their evil lair

From #rust-internals


#407

For the most unsound Clone implementation ever…


#408

“Have I ever told you the story of the mutpocalypse? It all began fifty years ago…”

Moooom! Grandpa Gankro’s telling that story again!”

“He’s old, just humour him.”

Quxxy on Reddit


#409

Because mem::transmute is the answer for all the borrow checker complaints! (Not really)

L117: I tried to change my nickname to meme::transmute::<&'a Doot, &'static mut L117>(doot) with no success ):
Cldfire: Your plot to live forever has been foiled


Spookin’ Dootin’ mem::transmutin'

Or

Angry Dootin’ mem::transmutin'


#410

@enet_4: Day 31: I have gained the linter’s trust. Clippy still thinks I’m a format string.

http://chat.stackoverflow.com/transcript/message/37742376#37742376

Due to https://github.com/Manishearth/rust-clippy/issues/1706 linting on panic!({ true }) about a malformed format string.


#411

Hi, I think rust is just an amazing achievement because it is the first time we all, just about the first time we’ve seen one of these kind of linear or affine type systems actually make its way into practical use. So its just incredible, well done! I’m, you know, I mean I’m wild with envy. I want to steal all the best ideas I can and put them in Haskell.

Simon Peyton Jones commenting on Niko Matsakis’ presentation about Rust at Curry On Barcelona! YouTube link.


#412

@CleanCut in the sibling thread gives the best metaphor for Rust I’ve seen so far :slight_smile: