Here are the vector methods and their slice-manipulation analogues:
a = append(a, b...)
b = make(T, len(a))
Please note that the article is now on my website, and even though I am still working on it, any feedback is appreciated. Thanks for reading !
Back when I did not know anything about programing and started to learn C, I was first introduced to pointers (and other dreaded horrors that made me curl into a corner and cry) and dynamic memory in general.
I was baffled, troubled, yet fascinated by the basic explanation on how memory worked, and started to dread the time where I would need to manually create my char arrays for each and every sentences of my program; right before learning about string literals and feeling like an idiot.
It was then where I was learning about memory allocation and came upon a function that I would call for long the "magic function" : malloc. Magic, because at that point I didn't know how it worked, let alone knew anything about memory other that it was a "chain of boxes for numbers".
|* Device Tree Source for AM33XX SoC|
|* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/|
|* This file is licensed under the terms of the GNU General Public License|
|* version 2. This program is licensed "as is" without any warranty of any|
|* kind, whether express or implied.|