Swiftpack.co - capnslipp/Vuckt as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by capnslipp.
capnslipp/Vuckt podspec/3.8.2
A Swift Vector Library That Doesn't Suck
⭐️ 6
🕓 41 weeks ago
.package(url: "https://github.com/capnslipp/Vuckt.git", from: "podspec/3.8.2")

Vuckt (formerly IntN)

Swift Build & Test

Vuckt is Swift library providing Obj-C-compatible integral & floating vector struct types with zero-cost SIMD vector bridging, and convenience methods to bridge to/from other vector-ish types throughout Cocoa.

It was born out of frustration with Swift/Cocoa's built-in SIMD types not being fully Objective-C compatible (particularly, they cause major problems when used with KVC, NSInvocation, or any other situation requiring NSValue-boxing), and has grown to try to cover as much of what native-SIMD can do, and to be easily convertable to/from any other vector type you might be using in Swift (e.g. SCNVector3, CGVector, etc.).

I might add more documentation here, but I don't really expect anyone else to find/use this lib— I built it for my own use and Don't Give A Vuckt if anyone else uses it, or about trying to popularlize a lib that does what should be built-into Swift. That said, if there are SIMD types or operations that you need that haven't been implemented in Vuckt yet, I'm happy to add them for you— just create an issue on GitHub, GitLab, or BitBucket and if it's plausible (packed types are a notable exception) and mirrors what SIMD does, I'll do it.  There's a good chance I already need the same feature you'd request, I just haven't added it yet, so don't be shy.

Vuckt is provided with a fully-permissive Public Domain license, because it really should've been built-into Swift.  I'm not one to claim rights over something so straight-forward and essential as a solid, interoperable, effecient vector library.

GitHub

link
Stars: 6
Last commit: 41 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

3.8.1
41 weeks ago
  • Additional fixes for visionOS/xrOS

Full Changelog: https://github.com/capnslipp/Vuckt/compare/3.8.0...3.8.1

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics