avatar
Articles
30
Tags
44
Categories
8
Home
0X7C00远古时期的博客 Back to Home
Home

远古时期的博客

Created2026-01-12|Updated2026-02-07|博客
|Post Views:
Author: nv3ifu
Link: https://nv3ifu.github.io/2026/01/12/old_blog/
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
博客
cover of previous post
Previous
Waste
本文为学习 Computer Enhance - Waste 的整理。 核心观点提升程序性能只有两条路: 减少要求 CPU 执行的指令总数 调整这些指令,让它们更高效地穿过 CPU 除此之外,别无他法:要么减少数量,要么加快速度。 CPU 正在执行的指令中,存在大量指令,它们所做的事情,与实际程序逻辑毫无关系。 案例:计算 A + B运行在两个较为极端的环境下: C 语言:编译为原生机器码,运行在 CPU 上 Python:编译为字节码,运行在 CPython 虚拟机上(没有 JIT) C 语言实现测试代码: 12345678910int __declspec(noinline) add(int A, int B){ return A + B;}#pragma optimize("", off)int main(int ArgCount, char **Args){ return add(1234, 5678);} 可以看到为了实现 A + B,只使用了 一条 ADD 指令。 Python 实...
cover of next post
Next
项目演示网站
avatar
nv3ifu
Articles
30
Tags
44
Categories
8
Follow Me
Announcement
This is my Blog
Recent Posts
Agent代码执行沙箱SDK开发日志
Agent代码执行沙箱SDK开发日志2026-02-17
基于qemu的系统调用插桩工具
基于qemu的系统调用插桩工具2026-02-14
项目演示视频
项目演示视频2026-02-10
RAT & SSA
RAT & SSA2026-02-08
Return in Memory & URVO & NRVO
Return in Memory & URVO & NRVO2026-02-08
© 2025 - 2026 By nv3ifuFramework Hexo 7.0.0|Theme Butterfly 5.5.3