Git Product home page Git Product logo

Comments (3)

MikeMitchellWebDev avatar MikeMitchellWebDev commented on August 25, 2024

In my humble opinion, I like seeing the reference to gophercon talks in the source code because it enhances the documentation, which is often lacking, and even if the std lib has changed since the date of the talk, the talk is still useful and I'm hardly misled by it.

from go.

thanm avatar thanm commented on August 25, 2024

@golang/runtime per owners -- any opinions on this issue?

from go.

mknyszek avatar mknyszek commented on August 25, 2024

I looked over the two links your pointed out, and I think it's OK to leave it as-is.

This one links to the upstream bugs at the very top and they're now closed. That's at least one signal to the reader that the post may not be up-to-date.

And although it contains some outdated information, the patterns are still useful to those using older versions of Go, and to be clear, the patterns will still work, so the information isn't all that detrimental. I think maybe there's something to be said here, but someone clicking through to here through sync.Cond is not going to be super likely to click the timers one.

Though, perhaps we could just politely ask @empijei to update the blog post once Go 1.23 is released. :)

It does explain how TryLock and TryRLock can be implemented, but my impression from that page is it's much more about the expressive power of channels as an abstraction, as opposed to how to implement a missing standard library feature. This is referenced all over the blog post, but at the very top we see "The examples will correctly express the primitives but might not be as fast as the real ones." (Emphasis mine.) I think the author is clearly implying that these features may or may not already exist.

from go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.