CODIGO
log in

Swift

AKA Swift Programming Language

Swift logo

Summary

A powerful and intuitive programming language developed by Apple for iOS, macOS, and other platforms. Swift combines modern programming concepts with an elegant syntax designed for safety, performance, and expressiveness.

Paradigms

imperative, object-oriented, functional, concurrent, generic, declarative, structured, dataflow

Domains

server-side applications, desktop applications, mobile development

Key Features

algebraic data types, pattern matching, type inference, closures, generics, string interpolation, first-class functions, named arguments, modules, traits/interfaces

Typing

static system, non-structural typing, strong typing, full inference, compile-time checking, conservative type coercion, optional type annotations

Compilation

compiled, interpreted with JIT compilation

Influenced By

Objective-C, Rust, Haskell, C#, Python, Ruby, Java, C++, Smalltalk, D, Scala, CLU, C

Ratings

Startup time
▊▊
▊▊
▊▊
▊▊
▊▊
Memory usage
▊▊
▊▊
▊▊
▊▊
▊▊
Computation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Compilation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Community size
▊▊
▊▊
▊▊
▊▊
▊▊
Learning resources
▊▊
▊▊
▊▊
▊▊
▊▊
Job market demand
▊▊
▊▊
▊▊
▊▊
▊▊
Learning curve
▊▊
▊▊
▊▊
▊▊
▊▊
Cognitive load
▊▊
▊▊
▊▊
▊▊
▊▊
Syntax complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Semantic complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Memory safety
▊▊
▊▊
▊▊
▊▊
▊▊
Concurrency ease of use
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib size
▊▊
▊▊
▊▊
▊▊
▊▊
Backwards compatibility
▊▊
▊▊
▊▊
▊▊
▊▊
Documentation quality
▊▊
▊▊
▊▊
▊▊
▊▊

File extensions

swift

External Links

Status active
Type programming
Created 2010
Designed by Chris Lattner
Doug Gregor
Developed by Apple Inc.
PyPL Index #11
TIOBE Index #23
GitHub rank #15

Popularity [PyPL]

Code Example

Loading...