
blog.chewxy.com/2016/07/25/on-the-memory-alignment-of-go-slice-values
Preview meta tags from the blog.chewxy.com website.
Linked Hostnames
11- 7 links toblog.chewxy.com
- 4 links togithub.com
- 1 link todeanattali.com
- 1 link todisqus.com
- 1 link toen.wikipedia.org
- 1 link togohugo.io
- 1 link togolang.org
- 1 link tosoftware.intel.com
Search Engine Appearance
On the memory alignment of Go slice values
TL;DR and Meta – I was playing around with some AVX instructions and I discovered that there were some problems. I then described the investigation process of the issue and discovered that this was because Go’s slices are not aligned to a 32 byte boundary. I proceed to describe the alignment issue and devised two solutions, of which I implemented one. On Thursday I decided to do some additional optimization to my Go code. This meant writing some assembly to get some of the AVX goodness into my program (I once gave a talk on the topic of deep learning in Go, where I touched on this issue). I am no stranger to writing assembly in Go, but it’s not something I touch very often, so sometimes things can take longer to remember how to do them. This is one of them. So this blog post is mainly to remind myself of that. The values in Go slices are 16-byte aligned. They are not 32 byte aligned.
Bing
On the memory alignment of Go slice values
TL;DR and Meta – I was playing around with some AVX instructions and I discovered that there were some problems. I then described the investigation process of the issue and discovered that this was because Go’s slices are not aligned to a 32 byte boundary. I proceed to describe the alignment issue and devised two solutions, of which I implemented one. On Thursday I decided to do some additional optimization to my Go code. This meant writing some assembly to get some of the AVX goodness into my program (I once gave a talk on the topic of deep learning in Go, where I touched on this issue). I am no stranger to writing assembly in Go, but it’s not something I touch very often, so sometimes things can take longer to remember how to do them. This is one of them. So this blog post is mainly to remind myself of that. The values in Go slices are 16-byte aligned. They are not 32 byte aligned.
DuckDuckGo
On the memory alignment of Go slice values
TL;DR and Meta – I was playing around with some AVX instructions and I discovered that there were some problems. I then described the investigation process of the issue and discovered that this was because Go’s slices are not aligned to a 32 byte boundary. I proceed to describe the alignment issue and devised two solutions, of which I implemented one. On Thursday I decided to do some additional optimization to my Go code. This meant writing some assembly to get some of the AVX goodness into my program (I once gave a talk on the topic of deep learning in Go, where I touched on this issue). I am no stranger to writing assembly in Go, but it’s not something I touch very often, so sometimes things can take longer to remember how to do them. This is one of them. So this blog post is mainly to remind myself of that. The values in Go slices are 16-byte aligned. They are not 32 byte aligned.
General Meta Tags
7- titleOn the memory alignment of Go slice values - Bigger on the Inside
- charsetutf-8
- X-UA-CompatibleIE=edge
- viewportwidth=device-width, initial-scale=1.0, maximum-scale=1.0
- descriptionTL;DR and Meta – I was playing around with some AVX instructions and I discovered that there were some problems. I then described the investigation process of the issue and discovered that this was because Go’s slices are not aligned to a 32 byte boundary. I proceed to describe the alignment issue and devised two solutions, of which I implemented one. On Thursday I decided to do some additional optimization to my Go code. This meant writing some assembly to get some of the AVX goodness into my program (I once gave a talk on the topic of deep learning in Go, where I touched on this issue). I am no stranger to writing assembly in Go, but it’s not something I touch very often, so sometimes things can take longer to remember how to do them. This is one of them. So this blog post is mainly to remind myself of that. The values in Go slices are 16-byte aligned. They are not 32 byte aligned.
Open Graph Meta Tags
5- og:titleOn the memory alignment of Go slice values
- og:descriptionTL;DR and Meta – I was playing around with some AVX instructions and I discovered that there were some problems. I then described the investigation process of the issue and discovered that this was because Go’s slices are not aligned to a 32 byte boundary. I proceed to describe the alignment issue and devised two solutions, of which I implemented one. On Thursday I decided to do some additional optimization to my Go code. This meant writing some assembly to get some of the AVX goodness into my program (I once gave a talk on the topic of deep learning in Go, where I touched on this issue). I am no stranger to writing assembly in Go, but it’s not something I touch very often, so sometimes things can take longer to remember how to do them. This is one of them. So this blog post is mainly to remind myself of that. The values in Go slices are 16-byte aligned. They are not 32 byte aligned.
- og:urlhttps://blog.chewxy.com/2016/07/25/on-the-memory-alignment-of-go-slice-values/
- og:typewebsite
- og:site_nameBigger on the Inside
Twitter Meta Tags
5- twitter:titleOn the memory alignment of Go slice values
- twitter:descriptionTL;DR and Meta – I was playing around with some AVX instructions and I discovered that there were some problems. I then described the investigation process of the issue and discovered that …
- twitter:cardsummary
- twitter:site@chewxy
- twitter:creator@chewxy
Link Tags
13- alternatehttps://blog.chewxy.com/index.xml
- stylesheethttps://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css
- stylesheethttps://use.fontawesome.com/releases/v5.5.0/css/all.css
- stylesheethttps://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
- stylesheethttps://blog.chewxy.com/css/main.css
Links
20- http://stackoverflow.com/questions/21834579/go-runtime-crash
- https://blog.chewxy.com
- https://blog.chewxy.com/2013/12/10/pointer-tagging-in-go
- https://blog.chewxy.com/2016/05/11/on-binary-classification-of-human-beings
- https://blog.chewxy.com/2016/09/11/yes-and-no