<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>javascript runtime on Val&#39;s Tech Blog</title>
    <link>http://valerii-udodov.com/tags/javascript-runtime/</link>
    <description>Recent content in javascript runtime on Val&#39;s Tech Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>vudodov@gmail.com (Valerii Udodov (aka Val))</managingEditor>
    <webMaster>vudodov@gmail.com (Valerii Udodov (aka Val))</webMaster>
    <lastBuildDate>Tue, 19 Oct 2021 11:14:23 +1000</lastBuildDate>
    
        <atom:link href="http://valerii-udodov.com/tags/javascript-runtime/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>JavaScript. Memory. Architecture and Lifecycle.</title>
        <link>http://valerii-udodov.com/posts/javascript-memory/</link>
        <pubDate>Tue, 19 Oct 2021 11:14:23 +1000</pubDate>
        <author>vudodov@gmail.com (Valerii Udodov (aka Val))</author>
        <atom:modified>Tue, 19 Oct 2021 11:14:23 +1000</atom:modified>
        <guid>http://valerii-udodov.com/posts/javascript-memory/</guid>
        <description>Don&amp;rsquo;t forget to subscribe ✉️, so you won&amp;rsquo;t miss latest news and articles. I&amp;rsquo;ll start this article with a quote that changed the way I think of memory. The way I perceive memory lifecycle in major modern languages (those that have automatic memory release aka garbage collection).
Garbage collection is simulating a computer with an infinite amount of memory.
&amp;ndash; Raymond Chen
This is exactly how we think of memory in JavaScript.</description>
        
        <dc:creator>Valerii Udodov (aka Val)</dc:creator>
        <media:content url="http://valerii-udodov.com//images/posts/javascript-memory/main.jpg" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
            
              <category>javascript runtime</category>
            
          
            
              <category>browser</category>
            
          
            
              <category>javascript garbage collector</category>
            
          
            
              <category>javascript engine</category>
            
          
        
        
          
            
              <category>exploration</category>
            
          
            
              <category>javascript</category>
            
          
        
        
      </item>
      
      <item>
        <title>Run, JavaScript, Run</title>
        <link>http://valerii-udodov.com/posts/run-javascript-run/</link>
        <pubDate>Thu, 09 Sep 2021 11:14:23 +1000</pubDate>
        <author>vudodov@gmail.com (Valerii Udodov (aka Val))</author>
        <atom:modified>Thu, 09 Sep 2021 11:14:23 +1000</atom:modified>
        <guid>http://valerii-udodov.com/posts/run-javascript-run/</guid>
        <description>Don&amp;rsquo;t forget to subscribe ✉️, so you won&amp;rsquo;t miss latest news and articles. Preamble Let&amp;rsquo;s admit. JavaScript is not the most predictable language out there. It might get pretty quirky very easily.
Let&amp;rsquo;s look at the following example.
1 2 3 4 5 6 7 8 setTimeout(() =&amp;gt; console.log(&amp;#34;1. timeout&amp;#34;)); console.log(&amp;#34;2. console&amp;#34;); Promise.resolve(&amp;#34;3. promise&amp;#34;).then((res) =&amp;gt; console.log(res)); // prints // 2. console // 3. promise // 1. timeout Even if we will change the order of instructions, it won&amp;rsquo;t impact the final result 🤨</description>
        
        <dc:creator>Valerii Udodov (aka Val)</dc:creator>
        <media:content url="http://valerii-udodov.com//images/posts/run-javascript-run/run-js-run-2.jpg" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
            
              <category>web browser</category>
            
          
            
              <category>javascript runtime</category>
            
          
            
              <category>browser</category>
            
          
            
              <category>javascript engine</category>
            
          
        
        
          
            
              <category>exploration</category>
            
          
            
              <category>javascript</category>
            
          
        
        
      </item>
      

    
  </channel>
</rss>
