自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

一凡stkeke

计算机技术文章/人生杂谈

  • 博客(600)
  • 资源 (7)
  • 收藏
  • 关注

原创 【golang】从源代码编译golang编译器

文章目录系统信息下载并编译go1.4用作bootstrap编译器下载golang源代码编译最新的golang检查golang编译版本信息编译一个简单的go程序系统信息tsu5@hhvm-clx-atom:~/tony$ cat /etc/*releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=18.04DISTRIB_CODENAME=bionicDISTRIB_DESCRIPTION=“Ubuntu 18.04.5 LTS”NAME=“Ubuntu”VERSI

2021-07-02 10:41:13 1001

原创 【C++】C++标准中定义的名字和标识符

标识符 identifierC++中标识符有明确的定义,对保留的标识符也有明确的说明。标识符是任意长的字母/字符,数字,下划线的序列。但是有效标识符必须以非数字起头,且是大小写敏感的,标识符中的每个字母/字符都有效。有一类特殊的标识符,被称为关键字,为C++预留,具有特殊意义,不可用作其他用途。另外还有一类标识符,用作某些操作符和标点符号的替代表示,也不可用作其他用途。例如and是&&的替代表示。应用程序最好不要使用带有双下划线或者单下划线起头后跟大写字母的标识符,这些标识符通常被

2021-05-19 10:49:20 2630

原创 [C++] C++标准中定义的实体(entity)/ 声明 / 定义

在C++标准中,定义了C++语言中所有的entityvaluesobjectsreferencestructured bindings (since C++17)functions(不包括lambda)。enumeratorstypesclass memberstemplatestemplate specializationsnamespacesparameter packs特别指出,预处理宏(macro)并不是C++的entity。以下为个人观点,并非C++标准定义尽管l

2021-05-19 09:14:43 2389

原创 [C++] Value Categories

This foil comes from Core C++ 2019.

2021-05-14 11:04:03 196

原创 [C++]variadic function template expansion 变元函数参数的展开规则

变元函数参数的展开规则;函数参数支持多次重复利用。#include <iostream>template<typename ... T >auto do_stuff(T ... t) // do_stuff(float, float, float){ // ...是带着圆括号进行展开操作的 std::cout << ( t - ... ) << std::endl; // (1 - (2 - 3)) => 2 std:

2021-05-13 17:30:31 220

原创 [C++] 如此聪明的C++编译器

如今的编译器居然如此聪明,两个函数调用(memcpy)与一条赋值语句,被直接优化为一条mov指令。真是太神奇了!!!

2021-05-12 09:20:36 183

原创 GCC: libgcc的用途以及交叉编译

libgcc是GCC的一部分。C语言不仅仅是由编译器构成,还包括了一个标准库。编译器在GCC包里,标准库则位于GNU C库里,即glibc包里。C编译器(cc1)肯定是要以来glibc库才能正常运行。但是编译器本身还使用了一个内部库,名为libgcc,这个库位于GCC包里,并不属于GNU C库。这个库实现了一些复杂指令,这些指令并不能由汇编器指令集提供,因此补充了汇编器的不足。但是这个libgcc库也需要链接到glibc库才能完全运行。注:GNU的标准C++库(libstdc++)也需要链接到glibc

2021-04-15 15:54:27 8311 2

原创 [C++] GCC multilib

GCC multilib主要是用于支持交叉编译(cross compiling),即编译出来的程序是用来在其他处理器平台上运行的。例如可以在x86 64位处理器上编译出x86 32位程序,运行在32位处理器上,或者在x86平台上编译出可以在ARM处理器上运行的程序。...

2021-04-15 08:22:22 4163

原创 GCC/G++编译过程

GCC编译过程# 编写一个最简单的C++程序$ cat hello.cppint main(){ return 0;}# -v选项可以打印出详细的编译过程,以及编译命令。$ gcc -v -o hello hello.cppUsing built-in specs. # 使用内建的specs控制编译过程COLLECT_GCC=gcc# 什么是LTO,参看下面的链接# https://stackoverflow.com/questions/19807107/what-is-

2021-04-13 16:32:04 573

原创 GCC搜索目录和默认的C++标准的脚本

#!/bin/bashGCC_VERS="$(seq 7 13)"for v in $GCC_VERSdo GCC="gcc-$v" GCC_PATH="$(which $GCC)" if [[ -n "$GCC_PATH" ]]; then echo "*** Found $GCC: $GCC_PATH ***" echo "default C++ standard: " gcc -x c++ -E -dM - </d

2021-04-13 14:46:30 232

翻译 【英语学习】【WOTD】2021-03-16 replete 释义/词源/示例

文章目录Podcastreplete *adj.* [rih-PLEET]definitionDid You Know?ExamplesPodcastreplete podcast原文链接replete adj. [rih-PLEET]充满的,饱满的,充实的,饱食的definition1 : fully or abundantly provided or filled2 a : abundantly fed   b : fat, stout   c

2021-03-16 15:40:03 278

原创 【Python】PYTHONHOME与PYTHONPATH对模块搜索顺序的影响

# PYTHONHOME指定两个目录;PYTHONPATH指定一个目录[tony@centos8 ~]$ PYTHONHOME=/home/tony/.local/python3.8:/home/tony/.local/python3 \PYTHONPATH=/home/tony/.local/python3.8/lib64/python3.8/lib-dynload \python3 -m sitesys.path = [# 最先搜索当前目录(在哪个目录中执行python,就搜索那个目录)

2020-09-16 16:24:36 6488

原创 Linux下配置简单的图形桌面环境

文章目录安装mutter窗口管理器和xterm终端创建VNC Server密码启动VNC Server安装VNC Viewer连接VNC Server列出VNC Server启动的桌面停止VNC Server桌面安装mutter窗口管理器和xterm终端$ sudo yum install -y mutter$ sudo yum install -y xterm$ which mutter...

2020-04-12 11:43:01 1175

原创 Pentium 4处理器架构/微架构/流水线 (11) - NetBurst执行核详解 - Load/Store操作/存储转发

Loads and StoresPentium 4处理器采用以下技术来加速访存操作的执行:投机执行读存操作 对于读存和写存操作,重排序读存操作 允许多个缓存未中共存的情形(即无需等待上一个缓存未中解决,开始开始下一个读存操作)。有几个缓存行填充缓冲区,就允许有几个缓存未中共存。 缓冲写存操作(也支持用来存储转发机制,参看下条) 从写存操作中获取数据,转发给对应(同一地址)的读存操作...

2020-03-01 08:02:59 526

翻译 【Level 09】U1 The way I see it L3 At your service

文章目录Word Preparationcomplaint: 投诉,不满hand: 把某物给某人customer service: 客户服务take issue: 不同意,持异议make every effort: 尽一切努力make up for sth: 弥补(损失)Grammarso that引导结果状语从句Word Preparationcomplaint: 投诉,不满a state...

2020-02-18 10:06:43 269

翻译 【Level 09】U1 The way I see it L2 Keep everyone safe

文章目录Word Preparationsafeguard: 保卫,保护scanner: 扫描仪in safe hands: 受到妥善照管的rest assured: 放心,确信无疑metal detector: 金属探测器safety measure: 安全措施Grammar表达赞同的方式Word Preparationsafeguard: 保卫,保护to protect somethin...

2020-02-18 09:31:43 330

原创 GCC9.2/Python3.8/Libvirt6.0/QEMU4.2 编译/配置/安装

文章目录准备编译环境安装编译需要的包编译配置选项编译并安装准备编译环境安装编译需要的包从源代码编译libvirt需要安装大量依赖的包。下面这些包是成功编译完libvirt后从我的机器上列取出来的。$ sudo yum install -y apr-devel apr-util-devel atk-devel bzip2-devel cairo-devel cairo-gobject-dev...

2020-02-14 20:25:26 2794 3

翻译 【Level 09】U1 The way I see it L1 A great adventure

文章目录Word Preparationregard someone/sth. as: 把...视为spoil: 破坏,糟蹋travel light: 轻装旅行hot spot: (旅游)热点地区valuables: 贵重物品as good as it gets: 已经尽力了Grammar用不同的方式表达想法或看法Word Preparationregard someone/sth. as: ...

2020-02-11 16:14:38 235

翻译 【Level 08】U08 Positive Attitude L6 Join our virtual community

文章目录Word Preparationclueless: 一无所知的,不了解的register: 登记,注册virtual community: 虚拟社区means of communication: 交流手段,交流方式make sth. public: 公之于众personal information: 个人信息Grammarthe usage of "be + *adj.* + about ...

2020-02-11 15:26:47 402

翻译 【Level 08】U08 Positive Attitude L5 Satisfy your need to know

文章目录Word Preparationknowledgeable: 知识渊博的face-to-face: 面对面的well-educated: 受过良好教育的educational institution: 教育机构formal education: 正规教育change for the better: 改善,好转,变好Grammarhow to express '*agreement*' or...

2020-02-11 10:21:55 323

翻译 【Level 08】U08 Positive Attitude L4 News flash

文章目录Word Preparationbroadcast: 播放;播送newsworthy: 有新闻价值的news report: 新闻报道highly critical: 极其爱挑剔的,极其不满的put more importance on sth: 更加重视...reliable source: 可靠来源Grammarhow to talk about *responsibilities* ...

2020-01-21 10:19:20 246

翻译 【Level 08】U08 Positive Attitude L3 What a life

文章目录Word Preparationeasy-going: 随和的,容易相处的devote: 致力于,奉献find time: 抽时间(做某事)bring someone up: 抚养work overtime: 加班wise words: 箴言,明鉴Grammarexpress feelingsWord Preparationeasy-going: 随和的,容易相处的relaxed a...

2020-01-20 10:59:00 227

翻译 【Level 08】U08 Positive Attitude L2 Into the world of a bookworm

文章目录Word Preparationavid: 热切的absorbing: 引人入胜的endlessly fascinating: 魅力无穷的improve on sth: 提升,改进expand one's horizons: 扩宽视野up-to-date: 最新的Grammarfind/consider sth + *adj*/*n*Word Preparationavid: 热切的...

2020-01-20 10:19:58 321

翻译 【Level 08】U08 Positive Attitude L1 See the world

文章目录Word Preparationgetaway: 短期休假encourage: 鼓励make the most of sth: 充分利用set off: 出发see the world: 见世面the adventurous type: 富有冒险精神的一类人GrammarIt's + *adj.* + to do sth.Word Preparationgetaway: 短期休假a ...

2020-01-19 10:16:54 197

翻译 【Level 08】U07 Mixed Feelings L6 State of the Nation

文章目录Word Preparationcertain: 确定的society: 社会current event: 时事all over: 到处for a change: 为了改变一下a breath of fresh air: 令人耳目一新的人(或物)GrammarThe adverbs of frequency in EnglishWord Preparationcertain: 确定的...

2020-01-19 09:50:37 310

原创 【英语学习】【化学】几个与氮有关的化学词汇 (3)

文章目录ammonia: 氨气ammonium: 氨盐; 氨离子amine: 胺nucleobase:核碱基glycosylamine: 糖胺glycosyl group: 糖基团nucleoside:核苷nucleotide: 核苷酸ammonia: 氨气Ammonia is a compound of nitrogen and hydrogen with the formula NH3. ...

2020-01-17 16:20:32 721

原创 【英语学习】【化学】几个与氮有关的化学词汇 (2)

文章目录pyridine: 吡啶diazine: 二嗪(二氮(杂)苯)cytosine, thymine, and uracilcytosine:胞嘧啶thymine:胸腺嘧啶uracil: 尿嘧啶purine:嘌呤adenine:腺嘌呤guanine:鸟嘌呤nucleobase:核碱基nucleoside:核苷pyridine: 吡啶a colorless volatile liquid ...

2020-01-17 15:16:52 446

原创 【英语学习】【化学】几个与氮(Nitrogen)有关的化学词汇 (1)

文章目录nitrogen:氮(元素)niter: 硝石nitric acid: 硝酸nitrate: *n.* 硝酸盐; 硝酸根potassium nitrate: 硝酸钾nitrous acid:亚硝酸nitrite:*n.* 亚硝酸盐; 亚硝酸根sodium nitrite:亚硝酸钠小结nitrogen:氮(元素)the chemical element of atomic number...

2020-01-15 11:12:37 2979

翻译 【Level 08】U07 Mixed Feelings L5 Front page news

文章目录Word Preparationupsetting: 令人烦恼的;令人不愉快的dissatisfied: 不满的deep worrying: 非常令人担忧的draw attention: 吸引注意力bad news: 坏消息front-page: 头版的Grammarthe usage of "*but* and *therefore*, "Word Preparationupsett...

2020-01-13 16:29:32 192

翻译 【Level 08】U07 Mixed Feelings L4 Learning by heart

文章目录Word Preparationself-study: 自学determined: 坚决的dead serious: 极为认真的better oneself: 提高自己open up sth: (使某事物)成为可能prepare someone for sth: 帮助某人对某事做好准备Grammarthe usage of "also, too, so, and as well"Word...

2020-01-13 15:14:57 266

翻译 【Level 08】U07 Mixed Feelings L3 I just want to have fun

文章目录Word Preparationmesmerize: 迷住,吸引energized: 精力充沛的leisure activities: 休闲活动only too eager: 非常渴望(做某事)go on a hike: 去远足outdoor activity: 户外运动Grammar动态动词(dynamic verb)和静态动词(stative verb)Word Preparatio...

2020-01-13 14:24:51 430

翻译 【Level 08】U07 Mixed Feelings L2 Let's go shopping

文章目录Word Preparationthrilled: 非常激动的stall: 货摊attractive price: 有吸引力的价格window shopping: 橱窗浏览,随便看看great pleasure: 极大的乐趣duty-free: 免税的Grammarso thatWord Preparationthrilled: 非常激动的extremely happy about ...

2020-01-13 10:56:03 212

翻译 【Level 08】U07 Mixed Feelings L1 Day trip

文章目录Word Preparationannoyed: 烦恼的,生气的outing: 短途旅游go on a trip: 去旅行heavy traffic: 交通拥挤day trip: 一日游take it easy: 慢慢来Grammar*past participle* and *present particle* as adjectiveWord Preparationannoyed:...

2020-01-13 10:12:24 282

翻译 【Level 08】U06 Good Feeling L6 A 3D experience

文章目录Word Preparationon-screen: 荧幕上的premiere: 首映式,首次公演worth one's while: 值得花时间做某事a waste of time: 浪费时间get one's money's worth: 钱花的值all together: 一起Grammarhow to refuse politelyWord Preparationon-scre...

2020-01-06 10:14:05 136

翻译 【Level 08】U06 Good Feeling L5 Now showing in theaters

文章目录Word Preparationrobot: 机器人uncaring: 冷漠的on one's own: 独自地out of the ordinary: 特别的no different from sth: 没有什么区别look beyond sth: 长远地看Grammarout of的用法Word Preparationrobot: 机器人a machine that can mo...

2020-01-06 09:30:37 277

翻译 【Level 08】U06 Good Feeling L4 The surprising event

文章目录Word Preparationsadden: 使悲伤heartwarming: 感人的extraordinary story: 离奇的故事must-read: 必读书目quite surprising: 非常令人吃惊more than a little interested: 很感兴趣Grammarsurprise, surprising, surprised的区别Word Prepa...

2020-01-06 09:05:15 229

翻译 【Level 08】U06 Good Feeling L3 Fun-filled concert

文章目录Word Preparationupcoming: 即将到来的rowdy: 吵闹的pop rock: 流行摇滚miss out on: 错过all set: 准备就绪hyped-up: 兴奋的Grammarpresent perfect continuous tenseWord Preparationupcoming: 即将到来的coming soon or about to tak...

2020-01-02 09:58:30 196

翻译 【Level 08】U06 Good Feeling L2 Blow the competition away

文章目录Word Preparationastounded: 震惊的teamwork: 团队合作do someone proud: 使某人有理由感到满意或骄傲GrammarWord Preparationastounded: 震惊的very surprised or shockedI was astounded to hear that Tim had left.我听到Tim离开的消息...

2020-01-02 08:28:41 370

翻译 【Level 08】U06 Good Feeling L1 End-of-season game

文章目录Word Preparationexhilarating: 令人兴奋的compete: 竞争heart-stopping: 惊心动魄的end-of-season: 赛季末期pleased with sth: 对...感到满意in awe of sb. or sth : 敬畏,惊叹Grammar不定限定词Word Preparationexhilarating: 令人兴奋的making...

2019-12-31 10:09:08 282

翻译 【Level 08】U05 Better option L6 Informative posts

文章目录Word Preparationinformative: 提供有效信息的rant: 大话,妄语,激辩status message: 状态;状态信息almost always: 通常;几乎总是partial to sth: 偏向于/倾向于某事物extremely personal: 非常私密的;非常隐私的Grammarwhether的用法Word Preparationinformati...

2019-12-30 17:13:46 205

8086/8088/186汇编语言及上机教程(2)

iAPX 86,88,186微处理器汇编语言及上机教程,第二部分,1984年出版,主要讲述了微处理器体系结构,汇编指令集详解,软件开发SDK,中断,存储器/IO接口等

2019-03-18

8086/8088/186汇编语言及上机教程(1)

iAPX 86,88,186微处理器汇编语言及上机教程,第一部分,1984年出版,主要讲述了微处理器体系结构,汇编指令集详解,软件开发SDK,中断,存储器/IO接口等

2019-03-18

iAPX 8088 架构/硬件参考手册(第二版)

8088 CPU以及基于8088的系统参考手册(第二版),英文版,1983年版,主要包括4章:iAPX88介绍;iAPX88体系结构与指令;iAPX88硬件设计;应用示例。 与第一版的主要差别是增加了80188的介绍。

2019-03-18

iAPX 8088 架构/硬件参考手册(第一版)

8088 CPU以及基于8088的系统参考手册(第一版),英文版,1981年版,主要包括4章:iAPX88介绍;iAPX88体系结构与指令;iAPX88硬件设计;应用示例。

2019-03-18

Intel HT Technology Arch & Microarch

Intel最早的一篇介绍超线程的论文,基于Pentium4处理器,非常具有学术价值与历史参考价值。

2019-01-05

8086/80186硬件参考手册

8086/80186的硬件参考手册,包括指令集介绍,还包括8087的硬件参考手册。

2018-12-28

8086/80186程序员参考手册

8086/80186处理器的参考手册,包括程序员参考手册,指令集参考手册

2018-12-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除