swift-numerics
sourcekit-lsp
Our great sponsors
swift-numerics | sourcekit-lsp | |
---|---|---|
5 | 12 | |
1,619 | 3,124 | |
1.1% | 1.8% | |
5.1 | 9.7 | |
5 days ago | about 13 hours ago | |
Swift | Swift | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-numerics
-
Modules in Swift Playgrounds
You'll need to install the Swift Package. If you're on iPad, just press the Add File → Package buttons and then there should be a text box. Then just paste in the URL: https://github.com/apple/swift-numerics
-
How do I write a math function that uses addition and division and is generic across number types like Int and Double?
I don’t know if it applies, but you could try checking out the Numerics package?
-
Are people using Swift for machine learning / differentiable programming outside of Apple?
Apple released a numerics library under Apache 2! This is great news.
-
Does anyone know if Swift's version of Penrose tiling algorithm exists somewhere?
I implemented a Swift version here for fun! The core logic is strictly similar to https://preshing.com/20110831/penrose-tiling-explained/. I used the great Swift Numerics Package for complex numbers. I also added UI logic with SwiftUI to visualize and experiment.
-
The New Open Source Package Swift Algorithims is Finally here
Packages like Swift Algorithms (and Swift Numerics) complement the Swift Evolution process by providing a means to:
sourcekit-lsp
- Swift development using NeoVim instead of Xcode?
-
ShadowVim embeds Neovim inside Xcode
Great!By the way,you can also use sourcekit-lsp and xcode-build-server to program in neovim directly。though still need to debug in xcode。
-
Finally got "eglot" to work with "sourcekit-lsp" in iOS project
After enabling eglot, our local files will not be picked up by language server. Because the documentation(https://github.com/apple/sourcekit-lsp) mentions "IndexStoreDB is built using the Swift Package Manager."
- anyone have an ios/macos swift workflow with helix?
-
How to instantly crash Xcode in 5 easy characters
Created an issue: https://github.com/apple/sourcekit-lsp/issues/636
-
vim-lsp merged inlay hints support!
For Objective C it looks like you can use SourceKit-LSP or ccls as language servers.
-
Desenvolvimento Swift no Windows com WSL
git clone https://github.com/apple/sourcekit-lsp.git cd sourcekit-lsp/Editors/vscode/ npm install npm run dev-package code --install-extension sourcekit-lsp-development.vsix
-
Swift Syntax and Structured Editing Library
There's already an LSP server for Swift (also made for Apple): https://github.com/apple/sourcekit-lsp
This library is intended for syntactic tools: formatters, highlighters, that kind of thing.
- SourceKit-LSP now supports syntax highlighting for Swift
-
NeoVim setup for iOS Dev ( xcodebuild etc. ) ?
You could probably set up something to work on Swift packages, however the tree sitter grammar for Swift hasn’t been updated since 2019. sourcekit-lsp also isn’t likely to help you out either because it’s not made to understand Xcode projects. You’d need an LSP capable of parsing a .pbxproj (I highly doubt there is one, but I haven’t looked around), which has the terrible downside of not being something Apple considers a public API and can and will introduce breaking changes on any Xcode update. An Apple engineer confirmed this with me during a lab in 2020 when I was asking about how doing some hacky things with binary Swift packages.
What are some alternatives?
swift-algorithms - Commonly used sequence and collection algorithms for Swift
swift-syntax - A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code.
SciPy - SciPy library main repository
swift - The Swift Programming Language
Matft - Numpy-like library in swift. (Multi-dimensional Array, ndarray, matrix and vector library)
cxx-interop-test - Small test app for C++ Interop with Swift.
penrose-simple - Penrose tiling, simple command-line case
tree-sitter-swift - A tree-sitter grammar for the Swift programming language.
Swift-AI - The Swift machine learning library.
tree-sitter-swift - Swift grammar for tree-sitter
alchemy - Modern, batteries included web framework for Swift.
fastlane - 🚀 The easiest way to automate building and releasing your iOS and Android apps