text stringlengths 0 1.82k |
|---|
**Erik St. Martin:** It might be taken incorrectly. So what else do we have going on? |
**Brian Ketelsen:** Well, I think it's time for \#FreeSoftwareFriday. |
**Erik St. Martin:** Oh yeah, how can we forget our \#FreeSoftwareFriday? |
**Brian Ketelsen:** We can't, it's in my blood. |
**Erik St. Martin:** Do you know about \#FreeSoftwareFriday, Beyang? |
**Beyang Liu:** No, enlighten me. |
**Erik St. Martin:** So Brian started a couple months ago now this whole thing to do hashtags on Twitter for a \#FreeSoftwareFriday, so basically show love to open source projects or maintainers that are making our lives easier. Because I think we often forget to say anything to project maintainers until we're unhappy,... |
**Beyang Liu:** Cool. |
**Erik St. Martin:** So you can feel free to do one yourself, or not, because we're kind of blindsiding you with it. Brian and I both have one for today. |
**Brian Ketelsen:** Yeah, I'll kick it off with GoKit. You know, we've got this API training class on Sunday before GopherCon, and one of the last topics we hit is code generation, and I remembered as I was writing the slides for it that I wrote a code generator for GoKit last year... Probably this time last summer, a ... |
**Erik St. Martin:** That's awesome. For me this week... I was struggling to think of something big, and it's always the little tools we miss, so I'm going back to the basics here. The Silver Searcher - I've been using this for a few years now, instead of ack and grep when I'm just trying to search around directories. ... |
\[47:58\] One of the coolest things I love about it is it also adheres to your htignore and gitignore files. So when you're searching for something inside of your source repo, it will ignore searching through files that are already in your ignore list, and then it has its own .agignore that you can use at a global leve... |
**Beyang Liu:** Nice. |
**Brian Ketelsen:** Nice, there's a good Vim plugin for that, isn't there? |
**Erik St. Martin:** Yes. And it took one less key, because it's ag to search, using Silver Searcher. And yeah, there's a plugin for Vim, so that you can do a ;ag and use it within your... |
**Brian Ketelsen:** Not that Beyang would need that, because he uses that other thing. |
**Erik St. Martin:** I know. I need to use Sourcegraph more. |
**Beyang Liu:** Yeah. Check it out, send us feedback, tell us how we can make it better. Yeah, I think the project I wanna call out this week is actually a project that's not released yet publicly, but it's something that we've been using internally. It's something that's written by Matt Holt, who is the author of the ... |
**Brian Ketelsen:** Absolutely. |
**Beyang Liu:** I was actually googling around for it, I couldn't find any public mention of it, but we've been using it internally. |
**Erik St. Martin:** So if we get all two of our listeners and us to beat at Matt, maybe we can get it released. |
**Beyang Liu:** Yeah, tweet at him. Tweet, I say! \[laughter\] |
**Brian Ketelsen:** Go on, Matt! |
**Erik St. Martin:** I don't even know how many people are listening live right now. Maybe Matt's listening right now. |
**Brian Ketelsen:** \[51:08\] All six of them are listening. |
**Erik St. Martin:** I think we're probably out of time... We're a few minutes over, but this has been a lot of fun and I wanna thank everybody who's on the show. I wanna thank all the listeners, I wanna thank our sponsors, Equinox (equinox.io/gotime) definitely hit them up, share the show with other programmers... If ... |
**Brian Ketelsen:** \*sigh\* But don't forget - if you're listening live, don't forget that we're live streaming GopherCon. Twitch.tv/gophercon. Did I mention that already? |
**Erik St. Martin:** Good morning, sunshine... You did. |
**Brian Ketelsen:** Okay, good. |
**Erik St. Martin:** Yeah, catch us there and if you are at GopherCon, come visit us. We will have T-shirts... And I think that's it. Thank you for being on the show too, Beyang, it's been a lot of fun. |
**Beyang Liu:** Thank you so much for having me, this has been awesome. |
**Brian Ketelsen:** That's a wrap. |
• Introduction of episode 6 guests, including Bill Kennedy from Ardan Labs |
• Discussion of interesting projects, including: |
+ Acksin's StatsD to Google Analytics hack |
+ Manul, a vendoring project using Git submodules |
• Overview of potential drawbacks and issues with Git submodules |
• Discussion of Mechanical Sympathy, its origin and application in programming |
• Bill Kennedy explains his perspective on data-oriented design and Mechanical Sympathy in the context of Go programming language |
• Importance of understanding the data and its relationship to the hardware |
• How CPU caches work and the impact of cache misses on performance |
• The concept of "Mechanical Sympathy" and how to be sympathetic with the hardware by working with data in contiguous blocks |
• Predictable access patterns and their importance for efficient memory usage |
• Temporal and spatial locality, including working with data that is located next to each other or at the same time |
• Examples of inefficient memory usage, such as linked lists and multidimensional arrays iterated over in a non-contiguous way |
• Performance differences between CPU cache and RAM |
• Transaction lookaside buffer and its impact on memory performance |
• Introduction to Go's slice data structure and its advantages |
• Sympathetic code: writing code that is harmonious with the hardware and operating system |
• Data-oriented design and its benefits, including improved readability and maintainability |
• Separating data from behavior in programming design |
• The importance of leveraging slices and functions for efficient coding |
• False sharing: duplicated data in cache lines causes performance issues when one thread writes to it |
• Data-oriented design: keeping related data together can help avoid false sharing and improve performance |
• Slices and contiguous memory: using slices instead of arrays or linked lists can help improve performance by reducing cache misses |
• Struct layout: packing fields tightly without unnecessary padding bytes can improve performance for large datasets |
• Hardware caching: understanding how the hardware caches work is crucial to writing efficient code |
• Discussion of data-oriented design and performance optimization in Go |
• Importance of understanding cache behavior and struct layout |
• Strategies for grouping related data together and minimizing false sharing |
• Bill Kennedy's approach to solving problems as a data manipulation problem |
• Resources available on the Go Training GitHub repo for learning more about CPU caches, Linux operating system, and scheduler behavior |
• A lighthearted discussion about people cosplaying as Bill Kennedy at GopherCon |
• Announcements of workshops and events at GopherCon, including a NATS workshop and a remote meet up platform started by Carlisia and Bill |
• Plans to grow the remote meet up platform with more speakers and locations. |
• Plans to publish an event announcement and tweet about a meetup with limited attendance |
• Compose.io sponsoring the meetup and providing a plus account for 100 attendees |
• Bill Kennedy's efforts to promote the platform and encourage others to start their own MeetUps |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.