5 مستودعات
Defining shared behavior across different types using traits to enable generic constraints.
Distinct from Generic Traits: Focuses on the general concept of shared behavior rather than traits that are themselves generic
Explore 5 awesome GitHub repositories matching programming languages & runtimes · Trait-Based Polymorphism. Refine with filters or upvote what's useful.
This project is a localized educational resource for learning the Rust programming language, providing a comprehensive guide and technical specifications translated into Simplified Chinese. It serves as an instructional tool for studying language idioms, memory management, and type systems. The repository focuses on software documentation localization, converting official guides into Simplified Chinese to increase accessibility for non-English speakers. It utilizes a markdown-based system to organize content and supports multi-format export to static HTML, PDF, and EPUB formats for both web a
Explains how to specify sets of methods that different types must implement to enable generic code restrictions.
nalgebra هي مكتبة جبر خطي لـ Rust توفر عمليات المصفوفات والمتجهات مع دعم للأبعاد في وقت التجميع ووقت التشغيل. تعمل كمكتبة للتحليل العددي ومكتبة للمصفوفات المتفرقة (Sparse matrix)، حيث توفر إطاراً رياضياً قادراً على العمل في البيئات المضمنة وWebAssembly دون الحاجة إلى مكتبة Rust القياسية. يتميز المشروع كمكتبة للتحويلات الهندسية، حيث يستخدم الإحداثيات المتجانسة، والكواتيرنيون، والقياسات المتساوية للتعامل مع الدورانات ثلاثية الأبعاد، والترجمات، والإسقاطات. ينفذ مجموعة متنوعة من تحليلات المصفوفات - بما في ذلك LU، وQR، وCholesky، وSVD، والتحليل الذاتي - لحل الأنظمة الخطية وتحليل المصفوفات. تغطي المكتبة مجالات قدرات واسعة بما في ذلك الحوسبة الهندسية للتحويلات المكانية، وأدوات رسومات الكمبيوتر لتكوين مصفوفة الإسقاط وتصدير بيانات التظليل، وإدارة المصفوفات المتفرقة المتخصصة باستخدام تخزين الصفوف والأعمدة المضغوط. كما توفر أدوات إدارة البيانات لتهيئة المصفوفات، وتغيير حجمها، وتحليل ملفات Matrix Market.
Uses generic traits to provide a consistent interface for different matrix decompositions and linear solvers.
petgraph is a graph data structure library for the Rust programming language. It provides a collection of tools for representing and manipulating graphs, functioning as a network analysis tool and a comprehensive graph algorithm suite. The library integrates with Graphviz DOT for importing, exporting, and parsing graph data to facilitate visualization. It distinguishes itself by offering specialized network analysis capabilities, such as the detection of cliques, bridge edges, articulation points, and subgraph isomorphisms. Its computational surface covers a wide range of algorithms, includi
Defines common graph behaviors via generic interfaces to allow different internal storage layouts.
This project is an educational resource and technical reference library designed to assist experienced systems engineers in transitioning from C++ to Rust. It provides a structured curriculum that maps familiar programming patterns, syntax, and memory management techniques to their counterparts in the Rust ecosystem. The platform focuses on bridging the mental model gap between manual memory management and Rust’s ownership and borrowing rules. By aligning complex type systems, trait-based polymorphism, and template metaprogramming, it clarifies how to achieve performance parity through zero-c
Clarifies how trait-based polymorphism and generic types in Rust serve as equivalents to C++ template metaprogramming.
RAML is a declarative YAML-based specification language used for modeling RESTful interfaces and data structures. It functions as a contract-first API framework and modeling standard, establishing a formal agreement for service communication and a single source of truth before implementation begins. The specification enables the automation of functional mock servers and the generation of language-specific client SDKs directly from the definition files. It supports a modular approach to API design through the use of external libraries, overlays for extending contracts, and reusable traits and
Applies reusable sets of methods and headers to multiple endpoints to ensure consistency across similar API resources.