<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Go Memory Allocator on andrestc.com</title>
    <link>https://andrestc.com/series/go-memory-allocator/</link>
    <description>Recent content in Go Memory Allocator on andrestc.com</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Mon, 03 Sep 2018 15:03:34 -0300</lastBuildDate>
    <atom:link href="https://andrestc.com/series/go-memory-allocator/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Go&#39;s Memory Allocator - Overview</title>
      <link>https://andrestc.com/post/go-memory-allocation-pt1/</link>
      <pubDate>Mon, 03 Sep 2018 15:03:34 -0300</pubDate>
      <guid>https://andrestc.com/post/go-memory-allocation-pt1/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve decided to learn how the Go runtime allocates memory and this is the first in a series of posts that are going to cover what I learned (and also the process itself: how I learned). These posts are based of my notes for the talk I gave at Gophercon UK in 2018:&lt;/p&gt;&#xA;&lt;iframe width=&#34;560&#34; height=&#34;315&#34; src=&#34;https://www.youtube.com/embed/3CR4UNMK_Is&#34; frameborder=&#34;0&#34; allow=&#34;autoplay; encrypted-media&#34; allowfullscreen&gt;&lt;/iframe&gt;&#xA;&lt;p&gt;Slides are available &lt;a href=&#34;https://speakerdeck.com/andrestc/understanding-go-memory-allocation-gophercon-uk&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In this first post we are going to cover:&lt;/p&gt;&#xA;&lt;ol start=&#34;0&#34;&gt;&#xA;&lt;li&gt;Memory allocation 101&lt;/li&gt;&#xA;&lt;li&gt;How the allocator is invoked&lt;/li&gt;&#xA;&lt;li&gt;An overview of the tcmalloc algorithm&lt;/li&gt;&#xA;&lt;li&gt;An overview of the Go&amp;rsquo;s runtime allocator&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The objective of this post is to give a broad idea of how allocation works on the runtime, without actually showing any of it&amp;rsquo;s code. The following posts on the series will be more dense and with lots of code samples extracted from the runtime. Each of the future posts will cover an specific detail of the allocator.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
