GithubHelp home page GithubHelp logo

一些问题的答案 about blog_comment HOT 13 OPEN

cch123 avatar cch123 commented on May 30, 2024
一些问题的答案

from blog_comment.

Comments (13)

caibirdme avatar caibirdme commented on May 30, 2024

我早就看过那个回答了,挺**的。又不是所有人都在用Go写数据库存储引擎,完全就是为了装逼:“看,我看了很多Go代码!牛逼不”。这人要是搞Java,JVM能搞死他

from blog_comment.

cch123 avatar cch123 commented on May 30, 2024

@caibirdme
我早就看过那个回答了,挺**的。又不是所有人都在用Go写数据库存储引擎,完全就是为了装逼:“看,我看了很多Go代码!牛逼不”。这人要是搞Java,JVM能搞死他

装逼是第一生产力

from blog_comment.

guonaihong avatar guonaihong commented on May 30, 2024

@cch123

@caibirdme
我早就看过那个回答了,挺**的。又不是所有人都在用Go写数据库存储引擎,完全就是为了装逼:“看,我看了很多Go代码!牛逼不”。这人要是搞Java,JVM能搞死他

装逼是第一生产力

这句话给点个赞,哈哈。

from blog_comment.

fangwater avatar fangwater commented on May 30, 2024

感觉您对于很多问题的回答有些草率了
另外我个人觉得这些问题非常有价值
然后提问者开源的那个Dargan boat真的很强很强。。。

from blog_comment.

cch123 avatar cch123 commented on May 30, 2024

@fangwater ,不是草率,如果生产环境遇到问题,可以一直深入到所有细节,这是程序员该有的能力,但是细节是海量无穷无尽的,只是拿细节来考谁背得更好并不是好的面试方法,不可能有人知道所有细节。

比如我也可以考你 runtime 里把内存分配分了几类,就算看过可能也会忘;或者我还可以考你内存访问的延迟从 90 年代到现在大概有什么样的进步,jeff dean 总结的数字现在是否依然合适;再或者我可以考你 Go 的汇编在手写和反编译时有哪些细节差异,SP 寄存器如何区分物理还是虚拟;

因为这样就去否定别人的话,并不合适

from blog_comment.

zeromake avatar zeromake commented on May 30, 2024

看到这里突然发现原提问者还是把 13 题的来龙去脉写了一篇博文啊 谁占了该CPU核的30% - 一个较意外的Go性能问题

from blog_comment.

cch123 avatar cch123 commented on May 30, 2024

@zeromake ,12 不是说 sync.Pool 的么?

from blog_comment.

zeromake avatar zeromake commented on May 30, 2024

@cch123 好吧是 13 手抖写错了

from blog_comment.

cch123 avatar cch123 commented on May 30, 2024

@zeromake ,确实,我完了补充到内容里

from blog_comment.

wushuangxiaoyu avatar wushuangxiaoyu commented on May 30, 2024

能详细说下为啥map里使用指针过多,会影响gc么,在很多地方看到这个,都没有详细的解释

from blog_comment.

cch123 avatar cch123 commented on May 30, 2024

@wushuangxiaoyu
能详细说下为啥map里使用指针过多,会影响gc么,在很多地方看到这个,都没有详细的解释

用 pprof 的火焰图,看 inuse objects,修改 map 的 kv 的类型并持续观察,挺好懂的

from blog_comment.

Cherrison avatar Cherrison commented on May 30, 2024

本科生面试就这个难度了吗 怎么感觉比 前端 java那些看着难

from blog_comment.

cch123 avatar cch123 commented on May 30, 2024

@Cherrison ,这个一看就是社招面试
学生面试只问专业课基础和算法

from blog_comment.

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.