text stringlengths 0 1.82k |
|---|
• Open source projects mentioned: CORAL, Go Validator, go-plus, autocomplete-go, go-metalinter, tester-go, LRUcache, Vagrant, Vault, Consul |
• Discussion about a barbecue Gopher mascot and available merchandise |
**Erik St. Martin:** Alright everybody, welcome back for another episode of Go Time, it's episode number six. I'm Erik St. Martin, today here with me we have Brian Ketelsen. Say hello, Brian. |
**Brian Ketelsen:** Hello. |
**Erik St. Martin:** And we have Carlisia Campos, say hello. |
**Carlisia Thompson:** Glad to be here. Hi, everybody. |
**Erik St. Martin:** And we have a special guest with us today. Bill Kennedy from Ardan Labs and GoBridge is here with us today. You might also know him from all of his workshops that he does in like the world now, right Bill? |
**Bill Kennedy:** Yeah, I’ve been lucky enough to get into Europe a couple of times this year. |
**Erik St. Martin:** It's crazy, it's like every day we see you somewhere else. I don't know how the planes arrive in time for your workshops. |
**Bill Kennedy:** \[laughs\] Scheduling is difficult sometimes for sure. |
**Erik St. Martin:** I mean, what's your mileage look like? Your frequent flier miles. |
**Bill Kennedy:** I think I'm at like a hundred and thirty thousand miles right now. |
**Erik St. Martin:** Geez, I don’t envy you. |
**Brian Ketelsen:** Diamond elite? |
**Bill Kennedy:** On American I am now Platinum on my way to Executive Platinum. |
**Brian Ketelsen:** Nice. |
**Bill Kennedy:** But yes, these are not goals that you should want to achieve. |
**Erik St. Martin:** Do you have your favorite soap and shampoo that comes in the small bottles? |
**Bill Kennedy:** I've leveraged whatever the hotel has to the extent that I can. |
**Erik St. Martin:** So today we're gonna be talking with Bill about Mechanical Sympathy. I think this is gonna be a really interesting topic; before we get into that, let’s talk news and interesting projects. Anybody have any interesting they want to talk about before we get into it with Bill? |
**Brian Ketelsen:** You know, it was a pretty quiet week in Go news from my perspective. But I did find two relatively interesting projects. The first one I thought might be a winner in the best hack of the year award. In the show notes you'll find a link to the blog post from Acksin, acksin.com, where they hacked toge... |
**Erik St. Martin:** You know, but the interesting thing about that though is that you can see it alongside metrics that you are already collecting in Google Analytics. And how some of those things might impact your funnel. I can’t think of any specific uses I'd use it for off the bat, but I think it has potential to b... |
**Brian Ketelsen:** It was interesting, to say the least. I'm not sure I would put it in production on a useful system. What if Google decided that they could figure out that traffic and start tossing it? |
**Erik St. Martin:** Yeah, I think I'd prefer Grafana, or something like that. |
**Brian Ketelsen:** Datadog all the way. |
**Erik St. Martin:** Datadog is good stuff, too. |
**Brian Ketelsen:** So the second interesting project I found is one in the multitude of vendoring projects. This one's called Manul, and you'll find a link to that in the show notes. It's another one that does vendoring with Git submodules this time, and it looked to be one of the better vendoring packages that suppor... |
**Erik St. Martin:** \[03:54\] I’m interested to see though how they solve some of the drawbacks from using submodules, because a lot of people have reservations about using Git submodules. There’s kind of some inherent flaws with the way it works. Number one would be that you’re still relying on that repository to exi... |
**Carlisia Thompson:** Or you can just rename it. |
**Erik St. Martin:** ...you still wouldn’t have access to the code, but some of it also comes in the way submodules work. So if I pulled down your project and I needed to do a Git submodule update to update my local versions of those submodules, but if I don’t do that, I’m still running with my prior versions of those ... |
**Brian Ketelsen:** Always. |
**Erik St. Martin:** Have you guys used submodules before, anybody? |
**Bill Kennedy:** Not me. |
**Carlisia Thompson:** I have, I have. I did not run into any problem with it. Didn’t do anything crazy, just dropping a submodule there to access it. |
**Erik St. Martin:** Yeah, I’ll find a link surrounding some of those pitfalls, and we'll drop it in the show notes before this is released. This has been a couple of years, so I can't remember a name of one off the top of my head, but I know people were having a lot of weird issues. So anything else we want to talk ab... |
**Brian Ketelsen:** That's all I had. |
**Carlisia Thompson:** I don’t have anything. |
**Erik St. Martin:** I know what we do want to talk about. |
**Brian Ketelsen:** Mechanical Sympathy? |
**Erik St. Martin:** Exactly. |
**Brian Ketelsen:** Yes! |
**Carlisia Thompson:** First things first then - where did this name come from? We were talking about this earlier, but I wanna hear it from the horse's mouth. |
**Bill Kennedy:** It didn’t come from me. This is a term that I think I got from Martin Thompson, who, if you watch any of his videos, he says he got it from a racecar driver. |
**Erik St. Martin:** Yeah. Jackie Stewart was a Formula1 driver and I think during an interview he had said something along the lines that you don’t need to be an engineer or mechanic to be a racecar driver, but you need to have Mechanical Sympathy. Basically he was just implying by having some level of understanding o... |
**Bill Kennedy:** Yeah. I mean, I only have a perspective on it from the Go side, and it's something I really focus in the training. I kind of focus on two things in the training: data-oriented design and Mechanical Sympathy, and trying to show how the language Go itself is very in tune around these two ideas. And I re... |
**Brian Ketelsen:** So when you talk about Mechanical Sympathy, you’re talking about things at the physical level, like the discs, the caches, the CPU, electrical things. How much of that as a programmer do we have to care about? |
**Bill Kennedy:** I really focus it around the data that you're working with. One of the things that I’ve learned is that the hardware that we’re working on today, our processors are now multicore processors and every core has their own sets of local caches; that L1 and L2 cache in many cases belong to each core. Cores... |
**Erik St. Martin:** So let's back up here just a second too, because a lot of people come from dynamic languages - Ruby, Python, and even Go abstracts these concepts from you. Let’s take a second and talk about CPU caches and what those are, because I would argue that probably a lot of people aren’t even familiar with... |
**Bill Kennedy:** So we've got to talk about this at a very high representative level, because hardware is really different. But in essence, we're dealing with a piece of hardware that has caches in, and from our perspective it can be all the same. The idea is that that hardware needs to have the memory that we're work... |
\[12:12\] So if we really want to give the hardware its best opportunity to take advantage of everything that's in there, we've got to be sympathetic with it. We've got to try to look at data in a way of, what are our working sets of data? Can we lay data out contiguously, work with data contiguously and can we create ... |
**Carlisia Thompson:** How does somebody learn about what predictable access patterns look like? And what can they do to achieve that? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.