News for hackers. Stuff that matters.
Re:Rust can be difficult to learn and frustrating, but it's ... by deepsun on Tuesday October 23, 2018 @01:30AM (#18280929)
Wait, if I do (in any language)

  foo = createFuture(1)
  bar = createFuture(2)
  foo.poll()
  bar.poll()
I would expect them to start doing work before polled, otherwise there'd be no concurrency. Do I undsrstand you correctly about polling?
Re:Rust can be difficult to learn and frustrating, but it's ... by steveklabnik on Tuesday October 23, 2018 @08:08AM (#18282632)
You didn’t say what you understood, but nothing would happen until poll is called in Rust. And calling poll would only result in one churn of the event loop. You don’t call poll yourself, you put the future onto an event loop and it calls poll for you.