# Swift-Hello **Repository Path**: aohanhongzhi/swift-hello ## Basic Information - **Project Name**: Swift-Hello - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-08 - **Last Updated**: 2024-07-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: Swift ## README Swift === # 官网 https://www.swift.org/ https://developer.apple.com/cn/swift/ ## 安装 https://www.swift.org/install/ Swift全平台支持。就是IDE不是全部都有,目前除了Mac自己上有Xcode,macbook平台获得Jetbrains的支持AppCode,但是教育邮箱用不了。只能用Vscode或者其他。 IDE推荐:https://www.swift.org/documentation/server/guides/setup-and-ide-alternatives.html # 运行 ubuntu22.04下运行 ```shell swift main.swift ``` ![alt text](image-1.png) # 构建 ubuntu22.04下构建 ```shell swiftc main.swift -o main ``` ![alt text](image.png) # Server端开发 https://www.swift.org/documentation/server/ While Java, PHP, Python, and JavaScript have their strengths and use cases, Swift offers several advantages over other programming languages. For example, Swift’s performance is comparable to languages like C and C++, making it well-suited for building high-performance server applications. Thanks to the progressive and efficient design of the language, Swift server-side applications can handle large-scale workloads with high performance and low resource consumption.