awesome-repositories.com
Blog
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
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
swiftlang avatar

swiftlang/swift-corelibs-foundation

0
View on GitHub↗
5,434 stars·1,180 forks·C·Apache-2.0·6 vuesswift.org↗

Swift Corelibs Foundation

Ce projet est une extension de la bibliothèque standard Swift et une bibliothèque système multiplateforme. Il fournit une collection de types utilitaires et de structures de données fondamentales qui étendent le langage Swift de base, agissant comme une couche d'interface indépendante de l'OS pour gérer les opérations système telles que la mise en réseau et les systèmes de fichiers.

Le projet propose une couche d'interopérabilité C++ spécialisée qui mappe les types et fonctions C++ vers des interfaces Swift compatibles pour une communication inter-langages. Cela inclut un mécanisme de pontage pour gérer les types de la bibliothèque standard et les conteneurs étrangers, permettant aux types C++ d'être mappés en tant que types de référence ou de valeur pour synchroniser la gestion mémoire et la sémantique.

Les capacités étendues incluent la sérialisation de données pour l'encodage et le décodage de formats structurés comme JSON, ainsi qu'un framework d'internationalisation pour gérer le formatage localisé, les calendriers et les paramètres régionaux. Il fournit également une gestion des données de base pour manipuler les URL et les données binaires brutes.

Features

  • C++ Interoperability Layers - Provides a specialized interoperability layer that maps C++ types and functions into compatible Swift interfaces.
  • Standard Library Extensions - Serves as a collection of core utility types and fundamental data structures that extend the Swift programming language.
  • Internationalization and Localization - Adapts content and formats to ensure software is accessible across different regions and languages.
  • Locale-Aware Date and Number Formatting - Implements locale-aware formatting for regional settings, calendars, and language-specific data.
  • Core Data Management - Provides fundamental data structures for handling URLs, raw binary data, and JSON decoding.
  • Data Type Serialization - Provides serialization logic for encoding and decoding structured formats like JSON into native types.
  • Language Interop Mappings - Provides customizable macros to override default naming and copyability behaviors during C++ to Swift type mapping.
  • C++ Value Type Mappings - Imports C++ structures as structs to automatically manage copy constructors and destructors using value semantics.
  • Cross-Platform System Libraries - Provides a set of OS-independent interfaces for handling networking, file systems, and basic system operations.
  • Memory Management Models - Controls object lifecycles and allocation through a deterministic reference counting memory management system.
  • Reference Type Mappings - Imports C++ types as classes using customization macros to support shared reference counting.
  • OS Abstraction Layers - Abstracts system operations like networking and file access to ensure consistent behavior across multiple operating systems.
  • Runtime Metadata Management - Controls object allocation and type casting using reference counting and reflection to support dynamic behaviors.
  • C++ Interoperability Layers - Implements a specialized layer that maps C++ types and functions into compatible Swift interfaces.
  • Standard Library Mappings - Translates standard C++ library containers and types into native Swift equivalents for seamless data exchange.
  • Primitive Data Types - Implements core primitive types for integers, floating-point numbers, collections, and strings.
  • Foreign Library Integrations - Links static libraries and headers via module maps to extend functionality beyond the standard SDK.
  • Language Bridges - Converts standard data types and functions between different language runtimes to ensure consistent data exchange.
  • Reference Counting - Implements a deterministic reference counting system to manage object lifecycles and memory metadata.
  • Language Interoperability - Bridges Swift code with C and C++ APIs to enable seamless data exchange and shared memory management.
  • Data Type Utilities - Provides fundamental utility types for handling URLs, raw binary data, and JSON decoding.
  • Source Code Compilers - Implements a compiler that transforms high-level Swift source code into optimized machine code.
  • Cross-Platform Development - Implements an OS-independent interface layer to ensure consistent behavior across multiple operating systems.
  • Internationalization Utilities - Implements locale-aware formatting, calendars, and regional settings for consistent cross-platform internationalization.
  • Data Serialization Libraries - Provides a toolkit for encoding and decoding structured data formats like JSON into native Swift types.
  • Concurrent Task Execution - Enables the execution of multiple operations simultaneously across multicore hardware to increase throughput.
  • Static Binaries - Produces standalone, statically linked executables that include all necessary dependencies for multi-architecture deployment.
  • Network Communication Implementations - Executes networking operations on platforms that lack a native runtime using dedicated communication modules.
  • Toolchain Path Resolution - Detects and selects specific compiler versions and SDK search paths to ensure consistent binary builds across platforms.
  • API Binding Generators - Generates C++ header bindings for public types and functions so C++ code can call Swift logic directly.
  • Binary Size Optimizations - Reduces the disk footprint of compiled binaries by utilizing restricted language subsets for target environments.
  • C and Objective-C Interface Mapping - Maps external C or Objective-C modules into compatible interfaces for use within the source code.
  • Generic Specializations - Reduces runtime overhead by applying devirtualization and generic specialization during the compilation process.
  • Intermediate Representations - Improves performance by applying automatic reference counting, devirtualization, and generic specialization to intermediate representations.
  • Header Module Mapping - Uses module maps to represent C and Objective-C headers as native declarations for seamless function calls.
  • Type Extensions - Allows adding new functionality and protocol conformances to imported C++ types via extensions.
  • Language Interoperability Bridges - Modifies external frameworks to create consistent mappings and interoperability between different language runtimes.
  • Module Map Imports - Represents C++ headers as declarations using module maps to call functions without manual wrappers.
  • Internationalization Frameworks - Implements a framework for managing locale-aware formatting and regional settings for global software distribution.

Historique des stars

Graphique de l'historique des stars pour swiftlang/swift-corelibs-foundationGraphique de l'historique des stars pour swiftlang/swift-corelibs-foundation

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Swift Corelibs Foundation

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Swift Corelibs Foundation.
  • swiftlang/swift-evolutionAvatar de swiftlang

    swiftlang/swift-evolution

    15,854Voir sur GitHub↗

    Swift Evolution serves as the central governance and design platform for the Swift programming language. It provides a structured, collaborative framework for tracking, discussing, and managing the formal proposals and technical goals that define the language's syntax, semantics, and core features. By maintaining a comprehensive collection of design documentation, the project ensures the long-term stability and consistency of the language as it matures. The repository acts as the primary hub for the language's evolution, coordinating community feedback and technical decisions through a transp

    Markdown
    Voir sur GitHub↗15,854
  • aissat/easy_localizationAvatar de aissat

    aissat/easy_localization

    1,046Voir sur GitHub↗

    Easy Localization is a framework for managing multi-language support in mobile applications. It provides a comprehensive system for loading translation datasets from local or remote sources, organizing them into modular files, and rendering localized content dynamically. The library integrates with the application's dependency injection system to broadcast locale changes, enabling reactive interface updates without requiring a full application restart. The project distinguishes itself through a focus on development safety and maintenance. It includes command-line tools to audit source code fo

    Dartcsvflutterflutter-apps
    Voir sur GitHub↗1,046
  • adambard/learnxinyminutes-docsAvatar de adambard

    adambard/learnxinyminutes-docs

    12,287Voir sur GitHub↗

    This project is a collection of programming language references and syntax cheat sheets designed for rapid developer onboarding. It serves as a library of code-based documentation that uses valid source code files to provide whirlwind tours of various language specifications. The project focuses on programming language learning by providing concise, commented code examples that explain core features and syntax in place. This approach enables developers to quickly grasp language-specific patterns, data types, and execution flow through a consistent reference format. The content covers a broad

    Markdown
    Voir sur GitHub↗12,287
  • rust-lang/bookAvatar de rust-lang

    rust-lang/book

    17,930Voir sur GitHub↗

    The Rust Programming Language Book is the official technical guide and educational resource for the Rust language. It provides a comprehensive walkthrough of the language's design, focusing on its core identity as a systems programming language that enforces memory safety and high-performance execution without the need for a garbage collector. The project is distinguished by its focus on ownership, borrowing, and lifetime tracking, which allow the compiler to verify memory safety and thread safety at compile time. It covers the language's unique approach to zero-cost abstractions, including t

    Rustbookmdbookrust
    Voir sur GitHub↗17,930
Voir les 30 alternatives à Swift Corelibs Foundation→

Questions fréquentes

Que fait swiftlang/swift-corelibs-foundation ?

Ce projet est une extension de la bibliothèque standard Swift et une bibliothèque système multiplateforme. Il fournit une collection de types utilitaires et de structures de données fondamentales qui étendent le langage Swift de base, agissant comme une couche d'interface indépendante de l'OS pour gérer les opérations système telles que la mise en réseau et les systèmes de fichiers.

Quelles sont les fonctionnalités principales de swiftlang/swift-corelibs-foundation ?

Les fonctionnalités principales de swiftlang/swift-corelibs-foundation sont : C++ Interoperability Layers, Standard Library Extensions, Internationalization and Localization, Locale-Aware Date and Number Formatting, Core Data Management, Data Type Serialization, Language Interop Mappings, C++ Value Type Mappings.

Quelles sont les alternatives open-source à swiftlang/swift-corelibs-foundation ?

Les alternatives open-source à swiftlang/swift-corelibs-foundation incluent : swiftlang/swift-evolution — Swift Evolution serves as the central governance and design platform for the Swift programming language. It provides a… aissat/easy_localization — Easy Localization is a framework for managing multi-language support in mobile applications. It provides a… adambard/learnxinyminutes-docs — This project is a collection of programming language references and syntax cheat sheets designed for rapid developer… rust-lang/book — The Rust Programming Language Book is the official technical guide and educational resource for the Rust language. It… boostorg/boost — Boost is a collection of portable, high-performance source libraries that extend the C++ standard library. It provides… lingui/js-lingui — Lingui is a JavaScript internationalization library that provides a framework-agnostic core with bindings for React,…