What's New

3.8.1

2023-07-10T01:40:07Z
  • Additional fixes for visionOS/xrOS

Full Changelog: 3.8.0...3.8.1

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.

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon Mar 11 2024 07:37:47 GMT-0900 (Hawaii-Aleutian Daylight Time)