My team at Apple is hiring in San Francisco. https://jobs.apple.com/us/search?#location&ss=47424189&t=0&s... If you're interested, please email jaybuff@apple.com with [Swift Server] in the email subject line.
FYI the job description says Seattle, Washington
Server APIs Project
161–170 of 181 posts
Re: Server APIs Project
#162Earlier quoted context omitted.
Most of the compile time issues comes from type inference (exponential algo!), a really simple file based incremental compilation logic system and generic / struct specialization. If you could make a version of swift that turns off those two features and improves incremental compilation then it would probably be pretty good. Compile speeds go into the seconds when you try simple things like append 10 array variables…
Some anecdata: I'm working on a 100k+ LOC Swift project and I can confirm, compilation is a dog and much of my day is spent getting myself back on track after waiting for compiles to finish. That said, I'm in love with the language and I'd rather wait for a compile to finish than have a server blow up because of a null pointer exception. After working on a large Python backend, it's been really nice having a compiler…
Re: Server APIs Project
#163Earlier quoted context omitted.
The definition I am aware of is undeniably negative: "disagreeably damp, musty, and typically cold"
Ha! I was so used to the... one I'm used to, that I forgot this obvious one. Seems like my analogy to "bad" was appropriate. "dank" as in "dank memes" as in "a word stoners use to describe good weed" is how I'm taking it to be used here.
Re: Server APIs Project
#164Earlier quoted context omitted.
Scala compiles to LLVM too. https://github.com/scala-native/scala-native Though it's experimental (and will likely remain that way for a while).
> and will likely remain that way for a while Not so sure, the alt-Scala train is moving fast (i.e. Dotty, Scala Meta, and Scala Native). Scala.js is already production ready; come 2019 I'd consider present day Scala deprecated, replaced by Dotty with Scala.js and Scala Native compile targets. In fact, initial release of the Scala to Dotty Migration Tool[1] is now available It's happening ;-) [1] http://scala-lang.or…
Scala.js acquired significant community help because it has some very strong motivation: tons of software is written for browsers, and sans-plugins, browsers only run JS.
Re: Server APIs Project
#165Earlier quoted context omitted.
I think it was an error from Sun not to offer AOT in addition to JIT, but apparently they were religious against the idea, only offering it on the embedded JDKs. This could have made Java actually relevant on the desktop, ignoring for a second how clueless Sun was about doing good desktop libraries. However with Java 9 you will be able to use the new Java linker and create you own little VM + AOT startup code. So tha…
That Java 9 feature would definitely be amazing. I agree, Swift is nowhere near the maturity of the Java ecosystem.
https://www.youtube.com/channel/UCdDhYMT2USoLdh4SZIsu_1g/sea...
Re: Server APIs Project
#166Earlier quoted context omitted.
Also a significant drop in null dereferencing issues. The `if-let` syntax is brilliant.
Not as general or useful as Rust's "if let", though. Rust's "if let" affords fallible pattern matching on arbitrary types, not just on "nullable pointer types" (in Safe Rust, a "nullable pointer" is simply a regular reference wrapped in Option ).
if let string = thing as? String
Re: Server APIs Project
#167Earlier quoted context omitted.
Scala on Android is pretty terrible
How? Even the tooling seems to be vastly superior to the Gradle one. Deals with SDK dependencies automatically, typed resources and views, better Instant Run, ProGuard caching, extremely low overhead, fast compiles, ...
Very slow compiles (contrary to what you claim).
Language style encourages constructs that cause GC spikes, closures are not low overhead
SDK dependencies automatically meaning what? The thing AS does for imports from AppCompat and co?
Better instant run?
Re: Server APIs Project
#168Earlier quoted context omitted.
Swift has had Linux support ever since it was open sourced.
Just not with Xcode projects? I was looking for something like xcodebuild that I could run in a docker container and never found anything. Can you point me in the right direction?
Re: Server APIs Project
#169Earlier quoted context omitted.
That Java 9 feature would definitely be amazing. I agree, Swift is nowhere near the maturity of the Java ecosystem.
The linker part is described in these JavaONE 2016 talks https://www.youtube.com/channel/UCdDhYMT2USoLdh4SZIsu_1g/sea...
Re: Server APIs Project
#170Earlier quoted context omitted.
> and will likely remain that way for a while Not so sure, the alt-Scala train is moving fast (i.e. Dotty, Scala Meta, and Scala Native). Scala.js is already production ready; come 2019 I'd consider present day Scala deprecated, replaced by Dotty with Scala.js and Scala Native compile targets. In fact, initial release of the Scala to Dotty Migration Tool[1] is now available It's happening ;-) [1] http://scala-lang.or…
I base my statement on that fact that it's basically just a student working on it. Scala.js acquired significant community help because it has some very strong motivation: tons of software is written for browsers, and sans-plugins, browsers only run JS.
Is everything perfect? No! Can you write stuff with it and have it work? Absolutely!