Git Product home page Git Product logo

Comments (7)

templexxx avatar templexxx commented on September 24, 2024

@choleraehyq 额 这代码就是写着玩的。。。

from fqueue.

templexxx avatar templexxx commented on September 24, 2024

@choleraehyq 你说的是 intel 手册? 我在哪里提到的? 有很多卷啊

from fqueue.

templexxx avatar templexxx commented on September 24, 2024

@choleraehyq 这本来就是共享内存 要竞争的啊

from fqueue.

choleraehyq avatar choleraehyq commented on September 24, 2024

@templexxx
在 go 中,带 race 的代码等同于未定义行为,讨论这种代码的正确性是没有意义的。
手册就是你在当你们在谈论锁的时候,我听不懂你们在谈论什么 这篇博客里提到的Intel 的指令、编程与优化三大指南还有手册之类的。

from fqueue.

choleraehyq avatar choleraehyq commented on September 24, 2024

无锁不代表连原子操作的保护都不用就直接操作。。。我还没见过靠谱的 go 写的无锁队列。

from fqueue.

templexxx avatar templexxx commented on September 24, 2024

@choleraehyq 原子操作的保护?什么意思,没听过啊。。。

from fqueue.

templexxx avatar templexxx commented on September 24, 2024

@choleraehyq 你可以搜一下 64-ia-32-architectures-optimization-manual software-develop-manul-combined 包含 基础篇 指令列表 优化等内容

from fqueue.

Related Issues (1)

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.