awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetServeur MCPÀ proposNotre méthodologiePresse
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

46 dépôts

Awesome GitHub RepositoriesGeneric Type Definitions

Support for type variables in class hierarchies to improve static analysis.

Distinguishing note: Focuses on type safety through generic subclassing.

Explore 46 awesome GitHub repositories matching software engineering & architecture · Generic Type Definitions. Refine with filters or upvote what's useful.

Awesome Generic Type Definitions GitHub Repositories

Trouvez les meilleurs dépôts grâce à l'IA.Nous recherchons les dépôts les plus pertinents grâce à l'IA.
  • python-telegram-bot/python-telegram-botAvatar de python-telegram-bot

    python-telegram-bot/python-telegram-bot

    29,227Voir sur GitHub↗

    This project is an asynchronous messaging framework designed for building interactive applications on the Telegram platform. It functions as a comprehensive wrapper that maps native platform methods and update types into structured objects, enabling developers to create event-driven services that respond to real-time user input. By integrating with standard event loops, the library facilitates high-throughput communication and non-blocking message processing. The framework distinguishes itself through a sophisticated update-driven dispatcher pattern that routes incoming messages to specific h

    Allows defining type variables when extending base classes to ensure accurate static analysis.

    Pythonbotchatbotframework
    Voir sur GitHub↗29,227
  • oi-wiki/oi-wikiAvatar de OI-wiki

    OI-wiki/OI-wiki

    26,176Voir sur GitHub↗

    This project is a comprehensive, community-maintained knowledge base and toolkit designed for competitive programming. It serves as a centralized repository for algorithmic theory, data structures, and mathematical techniques, providing a structured reference for informatics and collegiate programming competitions. The project distinguishes itself by integrating educational content with a robust suite of automation utilities. It provides a complete workflow for competitive programming, including tools for automated test case generation, solution verification, and direct interaction with onlin

    Supports generic type definitions for flexible and type-safe data handling.

    TypeScriptacm-icpcacm-icpc-handbookalgorithms
    Voir sur GitHub↗26,176
  • alibaba/fastjsonAvatar de alibaba

    alibaba/fastjson

    25,625Voir sur GitHub↗

    Fastjson is a Java data binding framework and serialization library designed to convert objects to JSON strings and parse JSON data into typed objects. It functions as a JSON parser and stream processor capable of transforming JSON strings into data structures. The project emphasizes high performance JSON processing and memory management, specifically through the use of a pipeline to stream oversized JSON objects and texts to prevent memory exhaustion. It provides capabilities for JSON data serialization and deserialization workflows, including custom JSON data mapping and the ability to def

    Ensures correct object instantiation for nested collections by resolving complex generic type arguments during deserialization.

    Java
    Voir sur GitHub↗25,625
  • crystal-lang/crystalAvatar de crystal-lang

    crystal-lang/crystal

    20,299Voir sur GitHub↗

    Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor

    Supports generic type definitions to create reusable, type-safe components.

    Crystalcompilercrystalcrystal-language
    Voir sur GitHub↗20,299
  • katex/katexAvatar de KaTeX

    KaTeX/KaTeX

    20,177Voir sur GitHub↗

    KaTeX is a typesetting library and web math renderer that transforms TeX and LaTeX mathematical notation into high-quality HTML and CSS for web browsers. It functions as a math notation parser and LaTeX to HTML converter, capable of operating as both a client-side library and a server-side math renderer to generate static HTML expressions. The project supports a wide range of specialized mathematical rendering, including chemical equation rendering, Bra-ket notation for quantum mechanics, and mathematical logic typesetting. It provides comprehensive controls for structural layouts such as mat

    Prevents infinite loops and resource exhaustion by capping the number of nested macro resolutions.

    TypeScriptjavascriptkatexlatex
    Voir sur GitHub↗20,177
  • williamfiset/algorithmsAvatar de williamfiset

    williamfiset/Algorithms

    18,644Voir sur GitHub↗

    This repository provides a collection of verified implementations for fundamental data structures and computational algorithms. It serves as both a practical toolkit for integrating standard procedures into software applications and a reference for understanding core computer science concepts. The library covers a wide range of operations, including sorting, searching, graph traversal, and geometric analysis. Each implementation is designed to be modular and reusable, utilizing generic type parametrization to decouple logic from specific data types while maintaining type safety. The project

    Utilizes generic type parametrization to ensure type safety and decoupling across all algorithmic implementations.

    Javaadjacencyadjacency-matrixalgorithm
    Voir sur GitHub↗18,644
  • phpstan/phpstanAvatar de phpstan

    phpstan/phpstan

    13,999Voir sur GitHub↗

    This project is a static analysis engine and type checker designed for PHP codebases. It evaluates source code structure and type annotations to identify potential bugs, type mismatches, and logic errors without executing the application. By parsing code into an abstract syntax tree and applying a rule-based validation framework, it enforces code quality and safety standards across a project. What distinguishes this tool is its sophisticated type inference engine, which models dynamic language features, magic methods, and conditional types to maintain accuracy even in unconventional code. It

    The static analysis tool uses type parameters to create flexible, reusable components that maintain strict type safety across different data inputs.

    PHPphpphp7phpstan
    Voir sur GitHub↗13,999
  • dotnet/csharplangAvatar de dotnet

    dotnet/csharplang

    12,636Voir sur GitHub↗

    This repository serves as the programming language design repository for C#, containing the official language specification and the technical standards governing its grammar, type safety, and memory management. It functions as a collaborative space for the formal design and evolution of the language. The project manages a community-driven evolution process, utilizing a public proposal backlog to debate and adopt new features. This involves formal syntax prototyping and the engineering of the type system to refine the language's behavior and implementation. The scope of the specification cove

    Defines classes and methods that operate on multiple types while maintaining static type safety.

    C#csharplanguage-design
    Voir sur GitHub↗12,636
  • doctrine/instantiatorAvatar de doctrine

    doctrine/instantiator

    10,999Voir sur GitHub↗

    Instantiator is a PHP library designed to create class instances without invoking their constructors. It uses the PHP Reflection API to allocate objects in memory and initialize them in a predefined state, bypassing standard constructor logic. The project functions as a data hydration tool and a testing helper. It enables the population of PHP objects from external data sources by mapping values directly to properties, regardless of whether those properties are public, protected, or private. This capability allows for the generation of objects in specific internal states for unit tests withou

    Traverses nested object hierarchies to resolve and instantiate appropriate types based on reflection data.

    PHP
    Voir sur GitHub↗10,999
  • magicalpanda/magicalrecordAvatar de magicalpanda

    magicalpanda/MagicalRecord

    10,713Voir sur GitHub↗

    MagicalRecord is a data persistence library and wrapper for Core Data that implements the Active Record pattern. It maps database rows directly to object instances, allowing for the creation, update, and retrieval of records without writing manual query logic. The project functions as a mapping layer that synchronizes object properties with a managed object context. It utilizes generic-based type resolution and model-class querying to enable data fetching directly on model classes, which removes the need for a separate external manager and reduces repetitive fetch request boilerplate. The li

    Uses Swift generics to automatically resolve and instantiate the correct entity types during data retrieval.

    Objective-C
    Voir sur GitHub↗10,713
  • automapper/automapperAvatar de AutoMapper

    AutoMapper/AutoMapper

    10,191Voir sur GitHub↗

    AutoMapper is a .NET object-to-object mapper designed to transfer data between different object types. It functions as an automated mapping library that reduces the need for manual property assignments by using naming conventions to match properties between classes. The library focuses on automating data projection and the conversion of internal domain models into data transfer objects. It supports layered architecture decoupling by mapping data between domain entities and view models. The system employs convention-based member matching, flattening-based property projection, and recursive ty

    Walks through nested object hierarchies to resolve and instantiate child types based on mapping configurations.

    C#
    Voir sur GitHub↗10,191
  • restsharp/restsharpAvatar de restsharp

    restsharp/RestSharp

    9,826Voir sur GitHub↗

    RestSharp is a .NET HTTP client library designed for interacting with RESTful web services. It provides a high-level request wrapper and a dedicated REST API client to manage endpoints, headers, and query parameters. The library includes a serialization mechanism that automatically converts objects to and from JSON or XML formats for API payloads. It also features a system for managing API credentials and security tokens to ensure authorized access to protected remote resources. The toolkit covers broad capabilities for external web service integration, including generic type-based deseriali

    Automatically maps HTTP response bodies to specified C# types using generic type parameters and reflection.

    C#
    Voir sur GitHub↗9,826
  • reactiveui/refitAvatar de reactiveui

    reactiveui/refit

    9,513Voir sur GitHub↗

    Refit is a type-safe REST client for .NET that transforms API definitions into live interfaces. It functions as an automatic API proxy generator, allowing developers to define endpoints as interfaces to eliminate manual HTTP request boilerplate. The library is designed for compatibility with ahead-of-time compilation and trimmed binaries, utilizing build-time source generation to ensure support for native AoT deployments. The project covers a broad range of API integration capabilities, including attribute-driven request composition, automatic JSON deserialization, and request header managem

    Converts raw HTTP response bodies into strongly typed objects using pluggable serialization engines.

    C#c-sharpdotnetdotnet-core
    Voir sur GitHub↗9,513
  • tristanhimmelman/objectmapperAvatar de tristanhimmelman

    tristanhimmelman/ObjectMapper

    9,146Voir sur GitHub↗

    ObjectMapper is a JSON serialization framework for Swift that maps JSON strings and dictionaries into strongly typed classes and structs. It functions as a data mapper and converter, facilitating the bidirectional transformation of data between raw JSON and Swift model objects. The library uses protocol-based mapping to associate specific JSON keys with object properties. It supports nested key extraction via dot-notation pathing and employs custom transformation classes to bridge the gap between JSON and Swift types. The framework provides capabilities for model validation during initializa

    Handles classes with generic type parameters by ensuring generic types conform to the mapping protocol.

    Swift
    Voir sur GitHub↗9,146
  • ljharb/qsAvatar de ljharb

    ljharb/qs

    8,940Voir sur GitHub↗

    qs est une bibliothèque de parsing et de sérialisation de chaînes de requête (query strings) utilisée pour convertir des chaînes d'URL en objets JavaScript et transformer des objets ou des tableaux en chaînes encodées URI. Elle fonctionne comme un parseur sécurisé et un utilitaire d'encodage URI, spécifiquement conçu pour gérer des structures de données imbriquées. La bibliothèque se distingue par ses styles d'imbrication configurables et ses formats de sérialisation de tableaux. Elle prend en charge une logique d'encodage de caractères personnalisée et utilise des sentinelles de charset pour gérer les conversions entre UTF-8 et ISO-8859-1. Pour prévenir l'épuisement des ressources et les vulnérabilités de sécurité, le projet implémente une limitation du nombre de paramètres et des restrictions strictes sur la profondeur de parsing. Il inclut également des capacités de gestion des valeurs nulles, de filtrage de clés basé sur des prédicats, et des fonctions d'encodage enfichables pour gérer la sérialisation des données.

    Enforces a maximum nesting level during object reconstruction to prevent resource exhaustion and DoS attacks.

    JavaScript
    Voir sur GitHub↗8,940
  • openapi-ts/openapi-typescriptAvatar de openapi-ts

    openapi-ts/openapi-typescript

    8,180Voir sur GitHub↗

    openapi-typescript is an OpenAPI TypeScript type generator and schema transformer. It converts JSON or YAML OpenAPI specification files into static TypeScript type definitions to provide end-to-end API type safety. The tool functions as a static type generator that transforms external API definitions into interfaces and types. It focuses on zero-runtime type enforcement, ensuring that data consistency is maintained via the TypeScript type system without adding overhead to production bundles. The project covers API type safety and schema conversion, facilitating the validation of request bodi

    Implements recursive traversal of schema hierarchies to resolve nested and circular type references.

    TypeScriptopenapiopenapi3openapi3-1
    Voir sur GitHub↗8,180
  • focus-creative-games/hybridclrAvatar de focus-creative-games

    focus-creative-games/hybridclr

    7,863Voir sur GitHub↗

    HybridCLR is a hybrid C# execution engine and assembly loader designed for Unity. It provides a system for hot-updating C# logic across all platforms at runtime without requiring the application to be rebuilt or reinstalled. The project is distinguished by its mixed-mode execution, which runs unmodified code at native speed while using a high-performance interpreter for updated functions. It includes a generic type resolver that allows hot-updated code to use generic classes and functions regardless of whether they were pre-instantiated in the main binary. To protect proprietary source code,

    Provides runtime generic type resolution to allow hot-updated code to use any generic class regardless of pre-instantiation.

    C++csharpframeworkhot
    Voir sur GitHub↗7,863
  • arktypeio/arktypeAvatar de arktypeio

    arktypeio/arktype

    7,780Voir sur GitHub↗

    Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida

    Manages named type references and self-referential structures through a resolution space for complex schema definitions.

    TypeScriptjavascriptparsingruntime-typechecking
    Voir sur GitHub↗7,780
  • go-yaml/yamlAvatar de go-yaml

    go-yaml/yaml

    7,023Voir sur GitHub↗

    This library is a YAML encoder and decoder for native Go data structures. It provides the tools necessary to transform internal data into YAML formatted text and convert YAML input streams back into structured data. The parser includes built-in protections against resource exhaustion attacks by enforcing limits on document depth and alias resolution. It also ensures deterministic output by employing consistent key sorting for maps. The project covers serialization and deserialization workflows, including struct mapping and custom marshaling interfaces. It also handles input encoding detectio

    Provides security-driven limits on the nesting level of objects during deserialization to prevent resource exhaustion attacks.

    Go
    Voir sur GitHub↗7,023
  • sebastianbergmann/exporterAvatar de sebastianbergmann

    sebastianbergmann/exporter

    6,822Voir sur GitHub↗

    This project is a PHP variable export library designed to convert complex data structures and internal memory states into human-readable strings. It functions as a debugging tool that transforms variables and object hierarchies into formatted text for state inspection and troubleshooting. The system prevents output clutter by creating compact string representations of data types and circular references. It employs recursive traversal with depth limiting and circular reference detection to ensure that complex hierarchies are visualized without causing infinite loops. The library covers a broa

    Tracks the nesting level during variable traversal to prevent infinite loops when encountering circular object references.

    PHP
    Voir sur GitHub↗6,822
Préc.123Suivant
  1. Home
  2. Software Engineering & Architecture
  3. Generic Type Definitions

Explorer les sous-tags

  • Consistency Verifications1 sous-tagChecks that generic type definitions are consistently maintained across class hierarchies and subclass extensions. **Distinct from Generic Type Definitions:** Focuses on verifying the consistency of template types across inheritance, rather than just defining them.
  • Generic Pattern MatchingLogic for checking the type of a generic object and binding it to a variable within one expression. **Distinct from Generic Type Definitions:** Combines generic type resolution with pattern matching, whereas the parent is general generics.
  • Generic Type Resolution8 sous-tagsResolving generic type arguments at runtime to instantiate correct types for nested collections. **Distinct from Generic Type Definitions:** Focuses on runtime resolution of generics for deserialization, unlike Generic Type Definitions which focus on static analysis.
  • GraphQL Type GenericsUse of generic parameters within GraphQL type definitions to enable reusable data structures. **Distinct from Generic Type Definitions:** Focuses on GraphQL schema-level generics rather than general language-level class hierarchies.