<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Cjkkkk</title>
  
  
  <link href="/atom.xml" rel="self"/>
  
  <link href="http://cjkkkk.github.io/"/>
  <updated>2020-10-28T17:21:10.839Z</updated>
  <id>http://cjkkkk.github.io/</id>
  
  <author>
    <name>Cjkkkk</name>
    
  </author>
  
  <generator uri="http://hexo.io/">Hexo</generator>
  
  <entry>
    <title>uv</title>
    <link href="http://cjkkkk.github.io/2020/10/29/uv/"/>
    <id>http://cjkkkk.github.io/2020/10/29/uv/</id>
    <published>2020-10-28T17:16:35.000Z</published>
    <updated>2020-10-28T17:21:10.839Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;很久之前看的libuv源码的时候记录的一些乱七八糟的东西ORZ。 强烈推荐直接看参考链接搞清楚文件IO和网络IO怎么实现的就行，我的记录大概只有我自己能看懂。&lt;/p&gt;
    
    </summary>
    
    
      <category term="I/O" scheme="http://cjkkkk.github.io/tags/I-O/"/>
    
  </entry>
  
  <entry>
    <title>scope_and_lifetime</title>
    <link href="http://cjkkkk.github.io/2020/10/28/scope-and-lifetime/"/>
    <id>http://cjkkkk.github.io/2020/10/28/scope-and-lifetime/</id>
    <published>2020-10-28T15:27:50.000Z</published>
    <updated>2020-10-28T15:31:06.897Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;Scope-vs-Lifetime&quot;&gt;&lt;a href=&quot;#Scope-vs-Lifetime&quot; class=&quot;headerlink&quot; title=&quot;Scope vs Lifetime&quot;&gt;&lt;/a&gt;Scope vs Lifetime&lt;/h1&gt;&lt;h2 id=&quot;前因&quot;&gt;&lt;a href=&quot;#前因&quot; class=&quot;headerlink&quot; title=&quot;前因&quot;&gt;&lt;/a&gt;前因&lt;/h2&gt;&lt;p&gt;最近突发奇想看了一下rust的教程发现Scope和lifetime两个词经常出现，在看rust之前我忽视了lifetime或者说我把二者等价为一个意思，其实在写C++的时候也已经有意识的注意到悬挂指针和悬挂引用的存在了，不过从来没有用lifetime来解释。以下的例子全部用c++来举，因为我并不会rust，但是会涉及到rust的一些概念。&lt;br&gt;
    
    </summary>
    
    
      <category term="Programming" scheme="http://cjkkkk.github.io/tags/Programming/"/>
    
  </entry>
  
  <entry>
    <title>CUDA</title>
    <link href="http://cjkkkk.github.io/2020/08/08/cuda/"/>
    <id>http://cjkkkk.github.io/2020/08/08/cuda/</id>
    <published>2020-08-07T16:30:38.000Z</published>
    <updated>2020-08-07T16:47:34.165Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;记录CUDA面试基础&lt;br&gt;
    
    </summary>
    
    
      <category term="CUDA" scheme="http://cjkkkk.github.io/tags/CUDA/"/>
    
  </entry>
  
  <entry>
    <title>exception handling</title>
    <link href="http://cjkkkk.github.io/2020/06/16/exception-handling/"/>
    <id>http://cjkkkk.github.io/2020/06/16/exception-handling/</id>
    <published>2020-06-15T16:53:10.000Z</published>
    <updated>2020-06-15T16:54:35.673Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;简单整理一下g++在x86/64上的exception的实现&lt;br&gt;
    
    </summary>
    
    
      <category term="c++" scheme="http://cjkkkk.github.io/tags/c/"/>
    
  </entry>
  
  <entry>
    <title>llvm-linux</title>
    <link href="http://cjkkkk.github.io/2020/04/15/llvm-linux/"/>
    <id>http://cjkkkk.github.io/2020/04/15/llvm-linux/</id>
    <published>2020-04-15T15:14:26.000Z</published>
    <updated>2020-04-15T15:33:27.643Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;以clang+llvm9.0为例说明如何不从源码编译llvm/clang来实现pass的编译&lt;br&gt;
    
    </summary>
    
    
      <category term="llvm" scheme="http://cjkkkk.github.io/tags/llvm/"/>
    
  </entry>
  
  <entry>
    <title>brk_printf</title>
    <link href="http://cjkkkk.github.io/2020/04/15/brk-printf/"/>
    <id>http://cjkkkk.github.io/2020/04/15/brk-printf/</id>
    <published>2020-04-14T18:02:02.000Z</published>
    <updated>2020-04-14T18:09:26.918Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;printf引起的一次…&lt;br&gt;
    
    </summary>
    
    
  </entry>
  
  <entry>
    <title>txy</title>
    <link href="http://cjkkkk.github.io/2020/04/15/txy/"/>
    <id>http://cjkkkk.github.io/2020/04/15/txy/</id>
    <published>2020-04-14T16:09:38.000Z</published>
    <updated>2020-04-14T17:28:26.991Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;记一次腾讯实习面试&lt;br&gt;
    
    </summary>
    
    
      <category term="面试" scheme="http://cjkkkk.github.io/tags/%E9%9D%A2%E8%AF%95/"/>
    
  </entry>
  
  <entry>
    <title>ds</title>
    <link href="http://cjkkkk.github.io/2020/04/14/ds/"/>
    <id>http://cjkkkk.github.io/2020/04/14/ds/</id>
    <published>2020-04-14T10:08:46.000Z</published>
    <updated>2020-04-15T15:35:41.688Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;为了实习面试复习一下数据结构的内容&lt;br&gt;
    
    </summary>
    
    
  </entry>
  
  <entry>
    <title>interrupt_exception</title>
    <link href="http://cjkkkk.github.io/2020/04/11/interrupt-exception/"/>
    <id>http://cjkkkk.github.io/2020/04/11/interrupt-exception/</id>
    <published>2020-04-10T16:04:11.000Z</published>
    <updated>2020-04-10T16:04:17.035Z</updated>
    
    <summary type="html">
    
      
      
        
        
          
        
      
    
    </summary>
    
    
  </entry>
  
  <entry>
    <title>syscall_int80</title>
    <link href="http://cjkkkk.github.io/2020/04/10/syscall-int80/"/>
    <id>http://cjkkkk.github.io/2020/04/10/syscall-int80/</id>
    <published>2020-04-10T15:40:29.000Z</published>
    <updated>2020-04-10T15:47:11.897Z</updated>
    
    <summary type="html">
    
      
      
        
        
          
        
      
    
    </summary>
    
    
  </entry>
  
  <entry>
    <title>class_hierarchy</title>
    <link href="http://cjkkkk.github.io/2020/04/10/class-hierarchy/"/>
    <id>http://cjkkkk.github.io/2020/04/10/class-hierarchy/</id>
    <published>2020-04-10T04:42:01.000Z</published>
    <updated>2020-04-10T05:01:34.331Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;public/private/protected&lt;br&gt;
    
    </summary>
    
    
      <category term="c++" scheme="http://cjkkkk.github.io/tags/c/"/>
    
  </entry>
  
  <entry>
    <title>reference</title>
    <link href="http://cjkkkk.github.io/2020/04/10/reference/"/>
    <id>http://cjkkkk.github.io/2020/04/10/reference/</id>
    <published>2020-04-09T18:17:08.000Z</published>
    <updated>2020-06-10T10:59:26.478Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;关于reference的一些思考(?)&lt;br&gt;
    
    </summary>
    
    
      <category term="c++" scheme="http://cjkkkk.github.io/tags/c/"/>
    
  </entry>
  
  <entry>
    <title>ABI</title>
    <link href="http://cjkkkk.github.io/2020/04/08/application_binary_interface/"/>
    <id>http://cjkkkk.github.io/2020/04/08/application_binary_interface/</id>
    <published>2020-04-08T08:33:34.000Z</published>
    <updated>2020-06-15T17:04:04.625Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;ABI(application binary interface)&lt;br&gt;
    
    </summary>
    
    
      <category term="c++" scheme="http://cjkkkk.github.io/tags/c/"/>
    
  </entry>
  
  <entry>
    <title>type_info</title>
    <link href="http://cjkkkk.github.io/2020/04/08/type_info/"/>
    <id>http://cjkkkk.github.io/2020/04/08/type_info/</id>
    <published>2020-04-08T05:38:30.000Z</published>
    <updated>2020-04-08T07:00:00.617Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;c++ type_info&lt;br&gt;
    
    </summary>
    
    
      <category term="c++" scheme="http://cjkkkk.github.io/tags/c/"/>
    
  </entry>
  
  <entry>
    <title>使用namespace的原因</title>
    <link href="http://cjkkkk.github.io/2020/04/02/namespace/"/>
    <id>http://cjkkkk.github.io/2020/04/02/namespace/</id>
    <published>2020-04-02T04:38:30.000Z</published>
    <updated>2020-04-08T06:55:46.156Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;c++ namespace&lt;br&gt;
    
    </summary>
    
    
      <category term="c++" scheme="http://cjkkkk.github.io/tags/c/"/>
    
  </entry>
  
  <entry>
    <title>bit_operator</title>
    <link href="http://cjkkkk.github.io/2019/08/25/bit-operator/"/>
    <id>http://cjkkkk.github.io/2019/08/25/bit-operator/</id>
    <published>2019-08-25T14:35:15.000Z</published>
    <updated>2019-08-25T15:02:22.561Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;最近写mit的JOS操作系统看到一些有意思的位运算的使用方法，在这里分享/记录一下。&lt;br&gt;
    
    </summary>
    
    
      <category term="operating system" scheme="http://cjkkkk.github.io/tags/operating-system/"/>
    
  </entry>
  
  <entry>
    <title>container</title>
    <link href="http://cjkkkk.github.io/2019/08/25/container/"/>
    <id>http://cjkkkk.github.io/2019/08/25/container/</id>
    <published>2019-08-25T14:24:39.000Z</published>
    <updated>2019-08-31T10:31:41.407Z</updated>
    
    <summary type="html">
    
      
      
        
        
          
        
      
    
    </summary>
    
    
  </entry>
  
  <entry>
    <title>projection matrix</title>
    <link href="http://cjkkkk.github.io/2019/07/21/matrix/"/>
    <id>http://cjkkkk.github.io/2019/07/21/matrix/</id>
    <published>2019-07-21T03:52:58.000Z</published>
    <updated>2019-07-21T11:30:02.542Z</updated>
    
    <summary type="html">
    
      &lt;h2 id=&quot;1-起因&quot;&gt;&lt;a href=&quot;#1-起因&quot; class=&quot;headerlink&quot; title=&quot;1 起因&quot;&gt;&lt;/a&gt;1 起因&lt;/h2&gt;&lt;p&gt;因为最近在尝试做游戏手机端的景深效果，所以需要从场景的深度图(z-buffer)中还原场景在观察空间下的深度值。这需要理解图形学中坐标系的变化原理。所以本篇博客主要关注的是投影矩阵(projection matrix)。&lt;br&gt;
    
    </summary>
    
    
      <category term="computer graphics" scheme="http://cjkkkk.github.io/tags/computer-graphics/"/>
    
  </entry>
  
  <entry>
    <title>memory_order</title>
    <link href="http://cjkkkk.github.io/2019/06/09/memory-order/"/>
    <id>http://cjkkkk.github.io/2019/06/09/memory-order/</id>
    <published>2019-06-09T05:21:53.000Z</published>
    <updated>2019-06-09T05:23:56.204Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;这篇博客是对gg学长的技术分享的一些思考与总结&lt;/p&gt;
&lt;p&gt;keyword: TSO， CAS， memory order， atomic ，重排序， CPU流水线&lt;br&gt;
    
    </summary>
    
    
      <category term="linux c++" scheme="http://cjkkkk.github.io/tags/linux-c/"/>
    
  </entry>
  
  <entry>
    <title>python_import</title>
    <link href="http://cjkkkk.github.io/2019/06/05/python-import/"/>
    <id>http://cjkkkk.github.io/2019/06/05/python-import/</id>
    <published>2019-06-05T12:29:46.000Z</published>
    <updated>2020-04-08T15:42:45.371Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;how to correctly import a python module…&lt;br&gt;
    
    </summary>
    
    
      <category term="python" scheme="http://cjkkkk.github.io/tags/python/"/>
    
  </entry>
  
</feed>
