8 مستودعات
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 8 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 ومترجم في الوقت الفعلي (JIT). يعمل كمحرك برمجة نصية مدمج ومترجم ثنائي ديناميكي يحول البايت كود المحمول إلى كود آلة أصلي أثناء التنفيذ. يركز المشروع على البرمجة النصية عالية الأداء من خلال ترجمة البايت كود إلى تعليمات خاصة بالبنية لتحقيق سرعات تنفيذ قريبة من كود C المترجم. يستخدم بيئة تشغيل خفيفة الوزن مصممة لتقليل حمل الذاكرة. يدعم النظام معالجة البيانات الثنائية عبر العمليات المنطقية (Bitwise)، ويمكّن إدارة المهام غير المتزامنة من خلال دمج C coroutines. كما يوفر قدرات لتوليد الكود في وقت التشغيل وإنشاء تعليمات كود آلة مخصصة.
Identifies frequently executed linear code paths and compiles them into optimized machine code sequences.
Hotspot هو واجهة مستخدم رسومية لتحليل وتصور بيانات الأداء التي تم التقاطها بواسطة أداة perf في Linux. يعمل كمصور لملفات تعريف الأداء (Performance profiling) ومحلل على مستوى التجميع (Assembly-level) يربط تكاليف الأداء بتعليمات محددة متزامنة مع الكود المصدري الأصلي. يتميز المشروع بمحلل رموز عن بُعد (Remote symbol resolver) يربط بيانات الأداء من الأهداف المضمنة برموز تصحيح أخطاء المضيف المحلي و sysroots. كما يتضمن أداة متخصصة لتحليل ما خارج المعالج (Off-CPU) مصممة لتحديد أوقات انتظار الخيوط (Threads) وكتل الإدخال/الإخراج باستخدام نقاط تتبع جدولة النواة. تغطي الأداة مجموعة واسعة من قدرات تحليل الأداء، بما في ذلك تحليل وحدة المعالجة المركزية، وفحص الكود منخفض المستوى، وتصفية البيانات القائمة على الجدول الزمني. توفر طرق تصور مثل الرسوم البيانية للهب (Flame graphs) والرسوم البيانية للاستدعاء (Call graphs) لتحديد اختناقات النظام والوظائف المضمنة. يدعم النظام تسجيل البيانات عن طريق تشغيل أدوات التحليل للتطبيقات الجديدة أو الارتباط بالعمليات الحالية، ويسمح بتصدير ملفات تعريف الأداء التي تم تحليلها إلى تنسيقات محمولة للمشاركة عبر الأجهزة.
Enables optimization of critical paths by examining the cost of individual assembly instructions synchronized with source code.
BASIC-M6502 هو تنفيذ للغة BASIC للمعالجات الدقيقة 8-بت. يوفر بيئة تنفيذ تسمح للبرامج المكتوبة بلغة عالية المستوى تشبه الإنجليزية بالعمل على أجهزة 6502، مع دعم الدوال الرياضية والحساب العشري العائم. صُمم المشروع لنقل الأجهزة عبر المنصات، باستخدام التجميع الشرطي والماكرو لتكييف كود مصدري واحد عبر أنظمة الحوسبة القديمة المختلفة. ويستخدم طبقات تجريد الأجهزة لإدارة روتينيات الإدخال والإخراج القائمة على الأحرف. يتضمن النظام إدارة ذاكرة مدمجة مع تخصيص ديناميكي وجمع القمامة (mark-and-sweep) للسلاسل والمتغيرات. كما يوفر بدائيات لمعالجة السلاسل والمصفوفات ويستخدم محاكاة البرمجيات للعمليات العشرية العائمة.
Produces efficient assembly code tailored for specific hardware platforms using a macro system and conditional compilation.
perf-ninja is a collection of educational resources and curricula focused on CPU architecture, memory hierarchies, SIMD programming, and low-level performance engineering. It provides instructional material and practical labs for identifying and fixing CPU bottlenecks, such as cache misses and branch mispredictions. The project differentiates itself through specialized training in hardware-level optimizations, including the use of compiler intrinsics for SIMD vectorization and the implementation of branchless predicate execution to eliminate pipeline stalls. It also covers advanced binary-lev
Offers an educational program for optimizing software to utilize hardware features like CPU caches and SIMD.