11 مستودعات
Architectural patterns where code execution is restricted to a single main thread to eliminate concurrency locks.
Distinguishing note: Candidates focus on renderers or synchronized multi-threading; this is a general single-threaded runtime model.
Explore 11 awesome GitHub repositories matching software engineering & architecture · Single-Threaded Execution Models. Refine with filters or upvote what's useful.
This project is a read-only archive of historical versions and development records for an early V8-based JavaScript runtime. It functions as an event-driven server-side environment that executes JavaScript code outside of a web browser. The archive preserves the identity of the runtime as an evented I/O framework, designed for handling asynchronous network and file system operations through a non-blocking event loop. It provides access to read-only records of old issues and pull requests to track the evolution of these legacy versions. The project covers the domain of server-side execution a
Executes JavaScript on a single main thread to avoid complex locking and shared state concurrency.
Perfect Green Screen Keys
Runs the entire keying pipeline on a single thread per clip for simplicity and deterministic output.
This project provides a version of the Redis 3.0 codebase featuring detailed technical commentary and annotations. It serves as a technical resource for studying the internal design and implementation of an in-memory key-value store and the architecture of a networked NoSQL database. The documentation focuses on the implementation of the Redis Sentinel system, covering the mechanisms used for monitoring instance health, managing automatic failover, and notifying clients of primary node changes. The project covers broader architectural areas including in-memory data storage, high availability
Employs a single-threaded execution model to process requests sequentially and eliminate locking overhead.
Actix is a Rust actor framework and concurrent programming toolkit designed for building applications that manage state through an asynchronous messaging system. It provides a model where independent actors serve as autonomous units of state and logic, communicating via strongly typed messages sent to unique addresses. The framework distinguishes itself by isolating state within these actors, allowing internal data to be mutated safely during message handling without the use of locks or mutexes. It employs an asynchronous mailbox system to buffer incoming requests and uses supervision strateg
Ensures thread-safe state mutation by processing messages sequentially within a single-threaded actor execution model.
This is a vanilla JavaScript DOM manipulation library that provides a collection of native methods for selecting, creating, and modifying HTML DOM elements without any framework dependencies. It operates directly on the live DOM tree using imperative JavaScript calls, wrapping standard browser DOM APIs into reusable utility functions. The library covers the full spectrum of DOM operations including element selection, creation, removal, content and attribute management, event handling, style and class manipulation, and DOM traversal. It includes approaches for cross-browser DOM compatibility,
Runs all DOM manipulations synchronously on the main browser thread without async scheduling or batching.
Lite XL is a lightweight, cross-platform text editor built around a minimal C core that embeds a Lua interpreter, allowing the entire editor interface and functionality to be scripted and customized through Lua. It draws text and UI elements directly to a pixel buffer using a single-threaded event loop, bypassing heavyweight widget toolkits to keep the editor fast and responsive even on low-resource hardware. The editor distinguishes itself through its Lua-based plugin architecture and file-based configuration system, where settings, keybindings, and plugin metadata are stored as plain Lua fi
Processes input, rendering, and plugin execution sequentially on one thread, avoiding concurrency complexity and keeping resource usage low.
Vuido is a framework for building native desktop applications for Windows, macOS, and Linux using Vue.js components, without requiring Electron or Chromium. It maps Vue components directly to native widgets from the libui library, creating lightweight applications that run on a single-threaded event loop and compile templates at build time for optimized runtime performance. The framework provides a complete Vue.js component-to-native bridge, enabling two-way data binding via v-model, component-based window composition, and platform-specific package generation for distributing executables. It
Runs the application's main loop on a single thread, processing user input and UI updates synchronously.
Doctrine Event Manager is a PHP library that implements a publish-subscribe pattern for decoupled application communication. It provides a simple event bus that dispatches named events to registered listeners, enabling components to communicate without direct method calls and promoting loose coupling and extensibility in PHP projects. The library manages listener callbacks in a central registry keyed by exact event name strings for fast lookup, and invokes listeners in priority sequence for controlled reaction order during event dispatch. It maintains no internal state between dispatches, rel
Invokes all listeners sequentially on the same thread, ensuring predictable and deterministic execution.
Reactor Core هي مجموعة أدوات برمجة تفاعلية وأساس غير محظور لتكوين خطوط أنابيب بيانات غير متزامنة على JVM. تعمل كإطار عمل لمعالجة التدفق غير المتزامن ونظام إدارة الضغط العكسي، مما يسمح للمطورين بتحويل وتصفية ودمج تسلسلات الأحداث مع تنظيم تدفق البيانات بين المنتجين والمستهلكين لمنع استنفاد الموارد. تتميز المكتبة بنظام جدولة تزامن متطور وتحكم في التدفق قائم على الطلب. تفصل معالجة الإشارات عن خيوط معينة باستخدام سجل جدولة وتوفر آليات لنشر البيانات الوصفية غير القابلة للتغيير المدركة للسياق عبر الحدود غير المتزامنة. كما تتميز بأدوات متخصصة لالتقاط التتبع في وقت التجميع وجدولة الوقت الافتراضي لتسهيل اختبار المشغلين القائمين على الوقت. يغطي المشروع مجموعة واسعة من القدرات، بما في ذلك معالجة البيانات الوظيفية لتجميع التسلسل والنافذة، ومجموعة متنوعة من استراتيجيات استرداد الأخطاء مثل إعادة المحاولة ذات التراجع الأسي، وأدوات لربط رد الاتصال القديم أو واجهات برمجة التطبيقات المتزامنة في تدفقات تفاعلية. كما يوفر أدوات لمراقبة خط الأنابيب ومجموعة من أدوات الاختبار للتحقق من تسلسلات الإشارة.
Converts asynchronous events from a single producing thread into a reactive stream while managing backpressure.
Macroquad هو محرك ألعاب Rust ومكتبة رسومات ثنائية الأبعاد مصممة لتطوير الألعاب عبر المنصات والتطبيقات الرسومية. يعمل كمحرك عرض يتيح نشر كود برمجي واحد لأهداف سطح المكتب، والهاتف المحمول، والويب. يستخدم المحرك نموذج عرض الوضع الفوري، والذي يسمح بإنشاء واجهات المستخدم وعوالم الألعاب التي يتم عرضها في تمريرة واحدة داخل حلقة التطبيق الرئيسية. يقترن هذا النهج بعرض ثنائي الأبعاد مسرع بالأجهزة وتجميع استدعاءات الرسم التلقائي لتحسين عرض الهندسة عبر أجهزة مختلفة. يوفر إطار العمل خط أنابيب بناء موحداً لتجميع التطبيقات في ملفات ثنائية أصلية أو WebAssembly للنشر القائم على الويب. يتضمن طبقة تجريد للأجهزة لتعيين استدعاءات الإدخال والرسومات العامة إلى APIs نظام خاصة بالمنصة.
Employs a single-threaded execution loop to simplify game logic and rendering synchronization.
EventMachine is a reactor-pattern network framework for Ruby that provides an asynchronous I/O library for performing non-blocking network and file operations. It functions as a network server framework used to build scalable TCP and UDP servers and clients that process multiple simultaneous requests. The framework implements a concurrency model that dispatches network events to registered handlers using a single-threaded event loop. This approach allows for the management of high-concurrency network connections without the overhead of multi-threaded programming. The library covers the devel
Handles thousands of simultaneous connections on one thread to eliminate locking and context switching overhead.