Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
timsneath
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Swift 6.4 Released
(swift.org)
125 points
by
timsneath
1d ago
|
61 comments
2.
▲
Embedded Swift improvements coming in Swift 6.4
(swift.org)
1 points
by
timsneath
27d ago
|
0 comments
3.
▲
Swift on Windows: A Year of Refinement
(speakinginswift.substack.com)
3 points
by
timsneath
2mo ago
|
0 comments
4.
▲
by
timsneath
3mo ago
To clarify a few comments here: this is not only OCI containers: container machines add support for persistence and filesystem mounting, making container machines a great lightweight Linux environment for developers using macOS. More detail
5.
▲
macOS Container Machines
(github.com)
1269 points
by
timsneath
3mo ago
|
437 comments
6.
▲
by
timsneath
7mo ago
Swift goes further down the stack than you might at first imagine -- there's a lot of Swift written at Apple even in places where you might expect C. The container CLI tool wraps the underlying Containerization framework, which in turn
7.
▲
Improving the usability of C libraries in Swift
(swift.org)
147 points
by
timsneath
8mo ago
|
35 comments
8.
▲
by
timsneath
8mo ago
Sounds a bit like "We Didn't Playtest This at All" ( https://boardgamegeek.com/boardgame/31016/we-didnt-playtest-... ), which is a lot of fun as an icebreaker game in various settings. This version ha
9.
▲
by
timsneath
9mo ago
Also see https://www.engadget.com/ai/you-can-turn-a-cluster-of-macs-i...
10.
▲
by
timsneath
10mo ago
Also announced today… AWS official support for Swift lambdas: https://aws.amazon.com/blogs/opensource/the-swift-aws-lambda...
11.
▲
by
timsneath
11mo ago
In macOS 26, you can see every Rosetta app that has recently run on your machine by going to System Information and then Software / Rosetta Software. It includes the "Fallback Reason" (e.g. if you manually forced the app unde
12.
▲
by
timsneath
11mo ago
Ha! But that's not semantically meaningful Swift code in any normal context, nor is it idiomatic. `self` is equivalent to `this` in C++, and is never normally null. You use this construct for unwrapping nullable fields, for example som
13.
▲
by
timsneath
11mo ago
This doesn't transpile. It cross-compiles to Android architectures using the NDK. You can see a very simple "hello world" example at the bottom of this article: https://www.swift.org/documentation/article
14.
▲
by
timsneath
11mo ago
It's worth noting that this doesn't add any expectations for how your UI is built. The example shown in the screenshot continues to use Jetpack Compose (Android's native UI) with Kotlin invoking Swift business logic. You can
15.
▲
by
timsneath
11mo ago
I didn't understand the introduction here, which says both: > The well-maintained NTFS driver in the Linux kernel enhances interoperability with Windows devices and > Currently, ntfs support in Linux was the long-neglected NTFS C
16.
▲
by
timsneath
1y ago
And just for fun, they also support what must be the most weird encoding system -- UTF-EBCDIC ( https://www.ibm.com/docs/en/i/7.5.0?topic=unicode-utf-ebcdic ).
17.
▲
Four Corners: the first Playdate game written in Swift
(news.play.date)
2 points
by
timsneath
1y ago
|
0 comments
18.
▲
by
timsneath
1y ago
OPA solves the problem of defining and enforcing policies across a system. Some examples: - How do I enforce that inbound API requests come only from trusted sources? - How do I enforce fine-grained access to user records? - How do I enforc
19.
▲
by
timsneath
1y ago
The framework that container uses is built in Swift and also open sourced today, along with the CLI tool itself: https://github.com/apple/containerization
20.
▲
by
timsneath
1y ago
That's built in now -- the default VSCode "Format Document" / "Format Selection" commands work with just the Swift extension installed.
21.
▲
by
timsneath
1y ago
Good news! https://code.visualstudio.com/docs/languages/swift
22.
▲
by
timsneath
1y ago
It runs on Linux-based infrastructure. We've updated the blog post to clarify this. Thanks!
23.
▲
by
timsneath
1y ago
Very feasible. From embedded ( https://www.swift.org/blog/embedded-swift-examples/ ) to Linux apps ( https://www.swift.org/blog/adwaita-swift/ ) to tiny games ( https://www.swift.o
24.
▲
by
timsneath
2y ago
Working on it: https://github.com/swiftlang/swiftly?tab=readme-ov-file
25.
▲
by
timsneath
2y ago
Of course! Tons of examples here: https://github.com/apple/swift-embedded-examples At WWDC24, we shared a session on embedded Swift, which is available on YouTube: https://www.youtube.com/watch?v=LqxbsA
26.
▲
by
timsneath
2y ago
It used to be that Hacker News was a place for the inventors, the technologists, and the futurists. What happened to our optimism and excitement for firsts? Airfares have dropped precipitously over the last fifty years: https://s
27.
▲
by
timsneath
2y ago
That is exactly the goal of Private Cloud Compute, part of the fabric of Apple Intelligence: https://security.apple.com/blog/private-cloud-compute/#:~:te... .
28.
▲
by
timsneath
2y ago
More here: https://www.swift.org/blog/announcing-swift-homomorphic-encr...
29.
▲
by
timsneath
2y ago
More on homomorphic encryption here: https://www.swift.org/blog/announcing-swift-homomorphic-encr... Summary: "Homomorphic encryption (HE) is a cryptographic technique that enables computation on encrypted data wi
30.
▲
by
timsneath
2y ago
Excellent! Come and join the Swift leaderboard here https://forums.swift.org/t/advent-of-code-2024 if you haven't already -- it's super interesting to compare different solutions.
More ›