title: What is the difference between Cloud Functions and Firebase Functions?
body: <p><a href="https://cloud.google.com/functions/" rel="noreferrer">Cloud Functions</a> and <a href="https://firebase.google.com/docs/functions/" rel="noreferrer">Firebase Functions (or "Cloud Functions for Firebase")</a> both look the same. Please describe the use case of each. </p>
  
  <p>Both use HTTP functions.</p>
  
  
  
  <p>In the <strong>Cloud Functions</strong>:</p>
  
  <pre class="lang-js prettyprint-override"><code>exports.helloHttp = function helloHttp (req, res) {
    res.send(`Hello ${req.body.name || 'World'}!`);
  };
  </code></pre>
  
  <p>And in the <strong>Firebase Functions</strong>:</p>
  
  <pre class="lang-js prettyprint-override"><code>exports.helloWorld = functions.https.onRequest((request, response) =&gt; {
    response.send("Hello from Firebase!");
  });
  </code></pre>
  
  <p>What is difference between these?</p>