HN user

maxdesiatov

553 karma
Posts29
Comments17
View on HN
forums.swift.org 4mo ago

Emscripten Target Support for Swift

maxdesiatov
2pts0
forums.swift.org 1y ago

Swift SDKs for WebAssembly now available on swift.org

maxdesiatov
6pts0
desiatov.com 5y ago

Structured concurrency in Swift: continuations, tasks, and cancellation

maxdesiatov
3pts0
lapcatsoftware.com 5y ago

Yet another macOS privacy protections bypass

maxdesiatov
320pts90
forums.swift.org 5y ago

First stable release of SwiftWasm 5.3 is now available

maxdesiatov
3pts0
swiftwasm-pad.netlify.app 5y ago

Interactive Swift Playground Built with WebAssembly

maxdesiatov
4pts0
desiatov.com 5y ago

The State of Swift for WebAssembly in 2020

maxdesiatov
2pts0
github.com 7y ago

Open-source implementation of Apple's Combine framework

maxdesiatov
1pts0
github.com 7y ago

Show HN: Tokamak – React-like framework for native UI written in pure Swift

maxdesiatov
8pts0
news.ycombinator.com 7y ago

Swift and React Native (and Similar Libraries/Frameworks) Survey

maxdesiatov
3pts1
forums.swift.org 7y ago

Apple is patenting Swift features

maxdesiatov
580pts208
desiatov.com 7y ago

Unbreakable reference cycles in Swift no one is talking about

maxdesiatov
1pts0
desiatov.com 7y ago

Parsing Excel Spreadsheets with Swift's Codable Protocols

maxdesiatov
103pts30
desiatov.com 7y ago

Coroutines and “yield” expressions: foundation for async/await in Swift

maxdesiatov
1pts0
desiatov.com 7y ago

What are generators and why Swift needs them?

maxdesiatov
2pts0
desiatov.com 7y ago

Event loops, building smooth UIs and handling high server load

maxdesiatov
2pts0
desiatov.com 8y ago

How do closures and callbacks work? It's turtles all the way down

maxdesiatov
1pts0
desiatov.com 8y ago

Why I use GraphQL and avoid REST APIs

maxdesiatov
1pts0
medium.com 9y ago

Why We Need Developer Tools for Server-Side Swift

maxdesiatov
2pts0
blog.eladgil.com 9y ago

Startups in Machine Learning and AI

maxdesiatov
1pts0
www.serverswift.tech 10y ago

Server-Side Swift Newsletter Issue #1

maxdesiatov
3pts0
dailykanban.com 10y ago

Tesla Suspension Breakage: It’s Not the Crime, It’s the Coverup

maxdesiatov
1pts0
appreviewtimes.com 10y ago

iOS App Store review time is less than 2 days now

maxdesiatov
2pts0
www.daedtech.com 10y ago

Please Stop “Geeking Out”, help others understand and help simplify

maxdesiatov
4pts1
www.russbishop.net 10y ago

Functors, Applicatives, and Monads in Plain English

maxdesiatov
136pts62
blog.iconfactory.com 10y ago

Color management coming to iOS and implications of True Tone on iPad Pro

maxdesiatov
1pts0
dev.iachieved.it 10y ago

Ncurses with Swift on Linux

maxdesiatov
1pts0
www.appstorereviewguidelineshistory.com 10y ago

iOS App Store Review Guidelines History

maxdesiatov
1pts0
www.bbc.co.uk 10y ago

The woman who shows how toxic America’s culture wars have become

maxdesiatov
2pts0

Sorry, I'm not sure I understand this point. Why would I need a different license for this from scratch implementation? What if I want Apache 2.0 as well?

Also, I'm convinced that many many people do have interest in this. Many people were interested in GCC existing in parallel with whatever other compilers were available. Heck, Chris Lattner's Clang wouldn't exist if C and C++ were "protected with patents from patent trolls". Are you saying that all these alternative compilers were a total waste of time?

but what about reimplementing a compiler from scratch without reusing any of Apple's code? It wouldn't fall under a definition of Derivative Work under terms of Apache 2.0 then

Exactly this, thank you for summarizing this so well! I've tried to clarify this exact point at Swift Forums, but I haven't seen even a clarifying answer from anyone in the core team on this point. Everyone says "it protects Swift", but looks like this protection comes at a cost of the overall ecosystem.

Including from suits from Apple itself for using concepts of Swift elsewhere in projects that were developed from scratch, not forked from Apple's projects, right?

From what we see, software patents have caused more harm than good, but would be great if there were enough concrete public examples listed somewhere that prove otherwise.

ok, does it mean that if you implement only parts of the patent (say only a single feature) there's no infringement because then it doesn't "fit the language of the claims"?

Also, "using Swift" isn't in the claims ¯\_(ツ)_/¯

Could you please provide an example? From what specifically have any patents protected users of an open source product? I know plenty of examples when patents were used to harm the users, the most notorious one being Oracle and Java. But I don't remember a single case where users of an open source product were protected from anything with a patent owned by a big for-profit company, would be happy to know a concrete example that shows that this protection outweighs the risk of a company harming open source users.

Could you please elaborate on this? Is there any direct confirmation of this? There wasn't any single answer from anyone affiliated with the Swift core team on this specific point. Or from any lawyer for that matter.

The biggest question here is whether this means they lose the patents when they sue something that's not covered by Derivative Works as defined in Apache 2.0?

Looks like an implementation of a compiler not from Apple (that is, not a fork, or one that diverged too much from the original) or different languages that overlap with the patent would be infringing even if they used Apache 2.0 as well.

The main reason for that is lack of hygienic macros in Swift. Currently you can use code generation tools like Sourcery and SwiftGen, but I expect 1st-class meta-programming support to come after Swift 5.0 release. After ABI stability I imagine macros are pretty high on the priority list of the core team.

I appreciate such detailed feedback, thank you! Parsing of workbook.xml is implemented in the library itself in `parseWorksheetPaths` function I mentioned it briefly in the article, but decided to omit it as main focus was on Codable protocols.

I will definitely update the "s" attribute parsing to have a more sensible name. Will also link to the standard from the README file, although not sure that will help with a document of this size.

The fact that I'm writing Swift apps, releasing them to App Store and testing those apps on iPhone 5/4s and having zero problems with that?

You can just alt-click on the variable in Xcode and see the inferred variable type instantly, no matter what the type is or where the variable is declared. No need to search. You can't do this in Objective-C.