text stringlengths 0 1.82k |
|---|
**Keith Randall:** Right. Yeah, so actually we have an intern who's going to be working on that. He's started already, I believe, although I haven't seen \[unintelligible 00:30:25.01\] but it's actively being worked on. The tricky part is getting all the stack traces right when you start doing that, so that's what he's... |
**Erik St. Martin:** Yeah, and that's actually what he's mentioning here, he said "Part of the problem is that we wanna preserve stack traces, and inline functions will not show up in stack traces." |
**Keith Randall:** Right. We're working on it so inline functions will show up in stack traces. It will no longer be a one-to-one mapping between the PC you have and the function that you are in, because some PCs will be in two or three functions nested, so we sort of have to record all that information to be able to h... |
**Erik St. Martin:** Some other stuff... I saw the race detector detects concurrent map use. I actually didn't realize that that wasn't detected before... |
**Keith Randall:** Actually the race detector always detected that. However, we implemented something additional in 1.6, which is that the runtime itself, even when the race detector is not being used, the runtime itself will detect concurrent map use and panic -- or not panic, it would actually just crash the program.... |
Basically, it detects if you have a reader and a writer at the same time for a map, and it will crash the program because in that situation programs would nondeterministically occasionally crash anyway, and then you'd have no idea why they crashed because they crashed some later time, in some unrelated code, and it was... |
**Erik St. Martin:** \[32:15\] I think the other stuff that I saw was around plugins, some stuff for the HTTP server, some more context stuff... Plugins seem cool. I mean, as far as readability, I think there's some concern there because you have to do some type assertion when you read from it. So it starts to look a l... |
**Keith Randall:** Yeah, it's a difficult problem, and it re-rears all the problems you have with Java distribution - now you have to distribute your plugins somehow along with your binary... But for use cases where you need it, it's really useful and you can sort of wrap all that type case stuff into a library on the ... |
**Erik St. Martin:** Oh, that's interesting. It's just kind of like a wrapper library that does the type assertions. |
**Keith Randall:** Right. So that's sort of how we expect it would be used - you have a plugin for, I don't know, some Photoshop transformation, and it takes an image and returns an image or something; you just have a wrapper on the client side of that library that casts the argument to the interface to pass it and cas... |
**Bill Kennedy:** The plugins - I haven't even look at it yet... Are you able to reload plugins at runtime, or is it when the app comes up, those are the plugins that you'd have to restart? |
**Keith Randall:** You can load plugins at runtime, whenever you want. You just call whatever the routine is - I don't even remember its name. I don't know about reloading. I think once something's loaded, you're stuck with it. |
**Bill Kennedy:** Yeah, I'm a little concerned that people are gonna start abusing -- well, I guess you can abuse anything, right? But start breaking that up... The one area I guess always comes up with the static binary as opposed to having this as security, like "Oh my god, we just found a security flaw and we wanna ... |
**Keith Randall:** Yeah, it's tough for distributions like Ubuntu or whatever... They really want to have shared libraries so that when there's a bug in a Crypto library they can just push the Crypto library and not every Go binary in the world that uses Crypto. Yeah, so I certainly understand the argument. |
**Erik St. Martin:** I think it's about time for our second sponsor break, and then we can kind of get into some other cool stuff that's going on and interesting projects we've run across this past week. |
**Break:** \[35:05\] |
**Erik St. Martin:** Alright. Carlisia, wanna talk to us about some stuff you've seen? |
**Carlisia Thompson:** Yeah, I wanted to mention that GothamGo videos have started to pop up on YouTube. There are three now - Russ Cox, Cassandra Salisbury and Aditya Mukerjee, and hopefully the rest will be coming soon. |
**Erik St. Martin:** That one... What was that - reimplementing Git in Go, or something like that. I haven't watched it yet, but I saw it listed. |
**Carlisia Thompson:** Yeah. |
**Erik St. Martin:** Were you at GothamGo, Keith? |
**Keith Randall:** No, I wasn't. |
**Bill Kennedy:** I was there... Yeah, they built an entire package in Go so you wouldn't have to use the C libraries anymore. It looks really interesting. |
**Erik St. Martin:** What were the other two, Carlisia? |
**Carlisia Thompson:** The other two were Dissection of Gophers by Cassandra Salisbury, and Codebase Refactoring with Russ Cox, and the Cloning Git one was the one by Aditya Mukerjee. We also started having the Advent series, the blog post series on the Gopher Academy blog. Those are really cool. We have one that's abo... |
For people who don't know, every December Gopher Academy does this, and every day a new blog post will go out. Anybody can volunteer to submit a post, so next year, people, stay tuned and just hop in and ask around where you can put your name down for a post. |
**Erik St. Martin:** There might be space left, too. Damian Gryski is maintaining the list of who's on what days, so there may actually still be openings this year. |
**Carlisia Thompson:** That is a good point. I know for sure there are openings for backups. |
**Erik St. Martin:** Oh, yes. And there was a talk at GopherCon this year too, Michael Matloob I think it was... He did a talk about contributing too, which was really awesome. |
**Carlisia Thompson:** That is true. Contributing to Go, you mean... |
**Erik St. Martin:** Yes. Speaking of which, do you get a lot of contributions for the compiler itself, Keith? Or are people mostly contributing to the standard library? |
**Keith Randall:** We get a lot of people contributing to the compiler, certainly. It's sort of one of the most active portions of the development that's currently happening on Go, at least in the standard library and the runtime and so on. We get a lot of outside contributions, which is kind of nice, because we only h... |
We had a lot of help from Josh Snyder and various other folks early on in the SSA development which really kept us on track and kept us on schedule. Otherwise, I only work half-time, so we only had one and a half people working on it inside of Google. |
**Erik St. Martin:** Oh, so you were the only one for most of it working on the compiler? |
**Keith Randall:** Myself and David Chase worked on it in the early days from inside of Google, and then there were a bunch of people from outside who worked on it as well. |
**Erik St. Martin:** So here's a question - for somebody who may have minimal or no compiler knowledge, how approachable is it for somebody to jump in and start trying to learn and contribute to the compiler? Is it something you kind of need a lot of knowledge about before, or is it fairly approachable for people to ge... |
**Keith Randall:** It needs some domain expertise. It's not the easiest thing to jump in and touch. We made porting as easy as possible, so you don't actually need to write any Go code to port the compiler to a new architecture, or at least it's all tables and stuff, it's not stuff that executes all the time. But if yo... |
\[39:59\] It's not the easiest thing to jump in and do, but the people who jumped in and worked on stuff on a compiler, I think they all had some compiler knowledge, but they were by no means experts. I would say it's sort of a middle-of-the-road thing if you wanna jump in; you should probably have taken Compiler 101 i... |
**Erik St. Martin:** Do you have a recommended book or something, that somebody interested -- not necessarily like designing your own compiler, but just for anybody who might want a better understanding of how compilers work. |
**Keith Randall:** Well, there's always the Dragon Book - I forget who wrote it... But it's a standard compiler book. My advisor, Charles Leiserson has a great book on graph algorithms; a compiler is basically a big bag of graph algorithms. It's all depth-first search traversal, breadth-first search traversal connected... |
**Erik St. Martin:** Excellent. Carlisia, what else do we have? |
**Carlisia Thompson:** We have... Oh, by the way, I wanted to give a shout out to Damian Gryski because he's been running the December series of blog posts for Gopher Academy, and he's doing a great job; it's so much work... He has to get after people who promised to deliver a post and don't show up on time... I don't ... |
Also, he's on Slack and he said that there are no openings right now, but there are backup openings. Whoever submits a backup and doesn't get published as backup in December, will get published in January for sure. So please ping him or us and we'll direct you if you're interested for this December. |
Other things - there's the GoLab conference in Italy, somewhere near Florence. I'd love to go, but I can't. If you can go, it's on the 20th and 21st January. There's still time to book it. |
What else... I ran into this because I was doing some research this week - another thing that I wanted to mention is Dominik Honnef. He has a blog post listing all -- not all the tools, but at least most of the tools in the Go toolchain, and it's very neat. He also explains and gives examples of how to use some of the ... |
**Erik St. Martin:** Cool. Yeah, it looks like it shows not just the things that are part of the Go tool itself, but also some of the other tools that have kind of come out around it, like Benchcmp (BenchCompare) and the bench visualization, where it creates the SVG output of the comparing to benchmarks, and things lik... |
**Carlisia Thompson:** Yeah. And the last thing on the list here is that there is a proposal for the top mod on the Golang Reddit to be Damian Gryski, and I personally think it's great. Basically, what's happening is there's the Golang channel which hasn't been very well moderated, by everybody's account, and because o... |
**Erik St. Martin:** I think it was Russ, yeah. |
**Carlisia Thompson:** \[43:49\] Russ, yes. He's proposing that Damian Gryski is the person. So if you have an opinion, hop on there and speak up because that's probably going to change very quickly. |
**Erik St. Martin:** Is there a way to vote, or is it just unless there's no downvotes...? How does that work |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.