7 个仓库
The practice of optimizing code based on the analysis of processor disassembly and machine code generation.
Distinct from Code Optimization: Distinct from general Code Optimization: specifically focuses on the low-level machine code and compiler behavior rather than high-level source refactoring.
Explore 7 awesome GitHub repositories matching software engineering & architecture · Low-Level Machine Code Optimizations. Refine with filters or upvote what's useful.
This project is a comprehensive technical guide to advanced Go programming. It serves as a programming guide, technical reference, and textbook covering low-level optimization and distributed systems architecture. The resource provides detailed instructions on writing assembly instructions to optimize performance-critical code and managing C-Go interoperability to bridge C libraries with Go. It also functions as a manual for implementing remote procedure call mechanisms and creating custom plugins for the Protocol Buffers compiler. The material covers high-level capabilities including the de
Provides detailed instructions on writing low-level CPU instructions to optimize performance-critical code sections.
Compiler Explorer is an online tool and analysis platform used to translate source code into assembly in real time. It functions as a cross-compiler analysis tool, allowing users to examine how various compilers and versions translate the same source code into machine code to analyze optimizations and generation patterns. The platform supports low-level language debugging and the comparison of assembly output across different compiler toolchains. It also provides a self-hosted environment option for users who need to run private deployments with custom binaries or operate within secure offlin
Verifies final machine code to identify performance bottlenecks or unexpected compiler behavior.
BenchmarkDotNet is a library and tool suite for measuring the execution time and memory allocation of .NET code. It utilizes statistical sampling and warm-up iterations to determine the stability and precise execution speed of specific methods. The project provides a JIT disassembly viewer to inspect processor disassembly and analyze how the compiler executes code paths. It includes a memory allocation profiler that tracks managed and native memory traffic to identify efficiency bottlenecks. Additionally, a runtime performance comparator allows the same benchmarks to be executed across differ
Analyzes processor disassembly and machine code to understand how the compiler optimizes specific execution paths.
This project is a collection of educational resources and technical guides focused on Go performance optimization. It provides instruction on improving execution speed and reducing memory usage through code and architectural refinements. The guides cover advanced strategies for low-level programming, including the use of assembly for SIMD instructions and unsafe pointers for direct memory manipulation. It also details concurrency optimization techniques such as lock sharding and cache-line padding to reduce contention and improve hardware utilization. The material encompasses broad capabilit
Provides advanced strategies for using unsafe pointers and assembly to optimize hardware cache and SIMD usage.
LuaJIT 是一个高性能 Lua 语言实现和即时编译器。它作为一个嵌入式脚本引擎和动态二进制翻译器,在执行过程中将可移植字节码转换为原生机器码。 该项目专注于高性能脚本编写,通过将字节码翻译为特定架构的指令,实现接近编译后 C 代码的执行速度。它利用专为最小内存开销设计的轻量级运行时环境。 该系统支持通过位运算进行二进制数据处理,并通过集成 C 协程实现异步任务管理。它还提供了运行时代码生成和创建自定义机器码指令的功能。
Identifies frequently executed linear code paths and compiles them into optimized machine code sequences.
Hotspot 是一个用于分析和可视化 Linux perf 工具捕获的性能数据的图形用户界面。它作为一个性能分析可视化工具和汇编级分析器,将性能成本映射到与原始源代码同步的特定指令上。 该项目以其远程符号解析器而著称,该解析器将来自嵌入式目标的性能数据映射到本地主机调试符号和 sysroot。它还包括一个专门的离 CPU(off-CPU)分析工具,旨在利用内核调度程序跟踪点识别线程等待时间和 I/O 阻塞。 该工具涵盖了广泛的性能分析能力,包括 CPU 分析、底层代码检查和基于时间轴的数据过滤。它提供火焰图和调用图等可视化方法,以识别系统瓶颈和内联函数。 该系统支持通过为新应用程序启动分析工具或附加到现有进程来记录数据,并允许将分析后的性能配置文件导出为便携式格式,以便跨机器共享。
Enables optimization of critical paths by examining the cost of individual assembly instructions synchronized with source code.
BASIC-M6502 是一个用于 8 位微处理器的 BASIC 语言实现。它提供了一个执行环境,允许用高级、类似英语的语言编写的程序在 6502 硬件上运行,并支持数学函数和浮点运算。 该项目专为跨平台硬件移植而设计,使用条件编译和宏来适应不同复古计算系统之间的单个代码库。它利用硬件抽象层来管理基于字符的输入和输出例程。 该系统包括具有动态分配的嵌入式内存管理,以及用于字符串和变量的标记清除 (mark-and-sweep) 垃圾回收。它还提供了用于字符串和数组操作的原语,并采用软件仿真进行浮点运算。
Produces efficient assembly code tailored for specific hardware platforms using a macro system and conditional compilation.