个人简介

Echo Blog


江湖无名 安心练剑
  • How to design api 如何设计 API
    如何设计好的 API 个人理解。 使用简单,方法容易记忆,甚至不需要看文档。 功能灵活强大。 译序 Qt的设计水准在业界很有口碑,一致、易于掌握和强大的API是Qt最著名的优点之一。 此文既是Qt官网上的API设计指导准则,也是Qt在API设计上的实践总结。 虽然Qt用的是C++,但其中设计原则和思考是具有普适性的(如果你对C++还不精通,可以忽略与C++强相关或是过于细节的部...
    2019-05-10 03:08:59 | How To
  • Memory 内存知识-39-总结
    耗时 这本书很薄,但是读的相对比较吃力。 从 2019-5-10 一直持续到 2019-9-8,接近于4个月的时间。 大概是因为英文太菜,对于读外文书,即使有翻译,也觉得很吃力。 感悟 这本书主要讲解了一些底层的内存知识,其实收获也是比较大的。 算是打开了一个全新的知识面。 以后也可以多阅读下类似的书籍,系统的学习知识。 而不是从网上的博客看一知半解的东西。 后期计划 需...
    2019-05-10 03:08:59 | Memory
  • Memory 内存知识-38-新技术之向量操作
    Vector Operations The multi-media extensions in today’s mainstream processors implement vector operations only in a limited fashion. Vector instructions are characterized by large numbers of oper...
    2019-05-10 03:08:59 | Memory
  • Memory 内存知识-37-新技术之增加延迟
    Increasing Latency One thing about future development of memory technology is almost certain: latency will continue to creep up. 延迟将继续蔓延。 We already discussed, in section 2.2.4, that the upcomin...
    2019-05-10 03:08:59 | Memory
  • Memory 内存知识-36-新技术之事务内存
    Transactional Memory In their groundbreaking(开创性) 1993 paper Herlihy and Moss propose to implement transactions for memory operations in hardware since software alone cannot deal with the problem ...
    2019-05-10 03:08:59 | Memory
  • Memory 内存知识-35-新技术 DCAS
    Upcoming Technology In the preceding sections about multi-processor handling we have seen that significant performance problems must be expected if the number of CPUs or cores is scaled up. But t...
    2019-05-10 03:08:59 | Memory
  • Memory 内存知识-34-缺页优化
    缺页优化 On operating systems like Linux with demand-paging support, an mmap call only modifies the page tables. It makes sure that, for file-backed pages, the underlying data can be found and, for a...
    2019-05-10 03:08:59 | Memory
  • Memory 内存知识-33-提升分支预测
    Improving Branch Prediction In section 6.2.2, two methods to improve L1i use through branch prediction and block reordering were mentioned: static prediction through __builtin_expect and profile ...
    2019-05-10 03:08:59 | Memory