title: Scala - futures and concurrency
body: <p>I am trying to understand Scala futures coming from Java background: I understand you can write:</p>
  
  <pre><code>val f = Future {   ...    }
  </code></pre>
  
  <p>then I have two questions:</p>
  
  <ol>
  <li>How is this future scheduled? Automatically?</li>
  <li>What scheduler will it use? In Java you would use an executor that could be a thread pool etc.</li>
  </ol>
  
  <p>Furthermore, how can I achieve a <code>scheduledFuture</code>, the one that executes after a specific time delay? Thanks</p>