touch-fish 22
DNS 问题分析示例(2019) dns问题分析 TTY的前世今生 TTY的前世今生 NAT地址转换 NAT地址转换 简明汇编教程 简明汇编教程 Unicode in C++ Unicode in C++ qemu调试kernel 手把手教你利用VS Code+Qemu+GDB调试Linux内核 Debugging ke...
DNS 问题分析示例(2019) dns问题分析 TTY的前世今生 TTY的前世今生 NAT地址转换 NAT地址转换 简明汇编教程 简明汇编教程 Unicode in C++ Unicode in C++ qemu调试kernel 手把手教你利用VS Code+Qemu+GDB调试Linux内核 Debugging ke...
std::exchange是c++14提供的一个函数模板,在<utility>里 template<class T, class U = T> constexpr // since C++20 T exchange(T& obj, U&& new_value) noexcept( // since C++23 std:...
think asio asio C++ library 一起来学asio的异步模型 出海第一步 收录独立开发者出海技术栈和工具 sender/receiver Eric Niebler - Working with Asynchrony Generally and AMA at CppEurope 2022 另外知乎还有个介绍的文章 浅谈c++虚表设计...
Ping 是一个常用的网络诊断工具,其工作原理基于 ICMP(Internet Control Message Protocol,互联网控制消息协议) 发送 ICMP Echo Request: ping 命令会向目标主机发送 ICMP Echo Request(类型 8)数据包。 这个数据包包含一个标识符、序列号和可选的数据负载。 ...
llvm-tutor llvm-tutor shecc shecc A self-hosting and educational C optimizing compiler My First Language Frontend with LLVM Tutorial My First Language Frontend with LLVM Tutorial
BJ写了3个, c++的标准库确实好用 Five Popular Myths about C++, Part 1 Five Popular Myths about C++, Part 2 Five Popular Myths about C++, Part 3 开启卓越模式,避免异构cpu的性能调度问题 卓越中心 (CoE) 概述 13带cpu异构,开启卓越模...
看下msvc下实现的std::unordered_map, 写的有点复杂,但是思路很简单 针对key type,计算他的hash值,拿到index 计算元素在hash桶中的索引,如果超出了范围要缩小const size_type _Bucket = _Hashval & _Mask; 拿到了hashtable的index,数组每个点存的是一个链表,新插入的点都是头插法...
主要是针对old-new-thing-Constructing nodes of a hand-made linked list, how hard can it be? 最简单的就是 struct node { node* prev; node* next; }; 更进一步的思考就是天然让他做一个环形链表 struct node { node* prev ...
彻底理解 C++ ABI noexcept Can (Sometimes) Help (or Hurt) Performance Temporarily dropping a lock: The anti-lock pattern What’s so hard about class types as non-type template parameters? Refl...
In every simple assignment expression E1 = E2 and every compound assignment expression E1 @= E2, every value computation and side effect of E2 is sequenced before every value computation and side e...