Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

# prints -user-module-version of the selected framework using the selected iphoneos sdk | |
# #if canImport(<module>, _version: <user-module-version>) | |
# https://blog.eidinger.info/sdk-conditional-code-with-canimportmodule-version-1234 | |
grep -oE '\-user-module-version ([0-9]+(\.[0-9]+){1,5})' "$(xcrun -sdk iphoneos --show-sdk-path)/System/Library/Frameworks/AppIntents.framework/Modules/AppIntents.swiftmodule/arm64-apple-ios.swiftinterface" |
// | |
// MyMetalWaterfall.swift | |
// version 0.1.105 (updated for Swift 5) | |
// | |
// Demonstrates using a MetalKit compute shader to render a live waterfall RGB bitmap | |
// into a UIView | |
// | |
// This is a single file iOS app | |
// | |
// It includes AppDelegate for a minimal demonstration app |
This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).
Matrix multiplication is a mathematical operation that defines the product of
// | |
// MyMetalWaterfall.swift | |
// version 0.1.105 (updated for Swift 5) | |
// | |
// Demonstrates using a MetalKit compute shader to render a live waterfall RGB bitmap | |
// into a UIView | |
// | |
// This is a single file iOS app | |
// | |
// It includes AppDelegate for a minimal demonstration app |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
Friend: I tried looking at static linking in Mac OS X and it seems nearly impossible. Take a look at this http://stackoverflow.com/a/3801032
Me: I have no idea what that
-static
flag does, but I'm pretty sure that's not how you link to a library. Let me RTFM a bit.
Minutes later...