Swift is a nice language. What's really missing is better non-Mac support. Tools, libraries, etc. It'll become a Top 10 language (by popularity) once it becomes a real option for Linux and Windows.
Better Mac support would be nice too. Using Swift in a larger code base in Xcode often results in long compile times, auto completion and code syntax highlighting failures and other terribleness.
Rust creator Graydon Hoare is now at Apple working on Swift
41–50 of 68 posts
Re: Rust creator Graydon Hoare is now at Apple working on Swift
#42Re: Rust creator Graydon Hoare is now at Apple working on Swift
#43Graydon has been on Swift for a while, and there are a few other prominent Rust contributors there as well. I hope they are enjoying themselves and make good things.
I can understand why this is on HN, but as you say this is old news to most of us in Rust. For those not in the know, Graydon left Mozilla for a startup in 2013, and IIRC began at Apple in... 2015?
Re: Rust creator Graydon Hoare is now at Apple working on Swift
#44Earlier quoted context omitted.
Better Mac support would be nice too. Using Swift in a larger code base in Xcode often results in long compile times, auto completion and code syntax highlighting failures and other terribleness.
Isn't it a given that it's on the way? You're complaining about known issues. Apple will obviously improve its Mac tools. What Swift needs is great, and even better, tools for other platforms. Will Apple keep Swift wide open if it Google gives it first class support on Android, for example?
Re: Rust creator Graydon Hoare is now at Apple working on Swift
#45Swift is a nice language. What's really missing is better non-Mac support. Tools, libraries, etc. It'll become a Top 10 language (by popularity) once it becomes a real option for Linux and Windows.
Better Mac support would be nice too. Using Swift in a larger code base in Xcode often results in long compile times, auto completion and code syntax highlighting failures and other terribleness.
Re: Rust creator Graydon Hoare is now at Apple working on Swift
#46Earlier quoted context omitted.
This is being done before replacements of equivalent capability have been added to the new API XUL support isn't removed yet, and the bugs and requests for feedback are open and out there. It's also possible to implement new WebExtension APIs (WebExtension Experiments) and inject them as an add-on, in order to test replacement APIs. Most of the major addon authors have engaged there, and many already have a WebExtens…
The only characteristic unique to firefox is a customizable UI, everything else can be done by existing browsers.
Re: Rust creator Graydon Hoare is now at Apple working on Swift
#47Re: Rust creator Graydon Hoare is now at Apple working on Swift
#48Earlier quoted context omitted.
I've not looked at OCaml, but when I discovered that ML's pattern matching works for function heads, I immediately became more interested. Pattern matching for function heads is magical. Thus sayeth the Erlang fanboi.
what is a function head?
gcd(a, 0) = a
gcd(a, b) = gcd(b, a mod b)
That, in effect, is what pattern matching + function heads gives you. You can copy that function directly into ML or Erlang, modulo a couple tiny bits of syntax. gcd(A, 0) -> A;
gcd(A, B) -> gcd(B, A rem B).Re: Rust creator Graydon Hoare is now at Apple working on Swift
#49Earlier quoted context omitted.
Yes. In fact, the original compiler was written in OCaml. I would say the original intent was to be a lower level OCaml with optional safe control over allocation behavior and safe parallelism. I think he would probably have preferred OCaml syntax too. Notice some of the idioms, and even the capitalization/underscore norms (UpperCamelCase for types, snake_case for functions) are very similar to OCaml. But C syntax pr…
As I recall, early Rust versions used lowercase for non-built-in type names, too, which I found unnerving. I'm glad they changed that, though I wish they'd also moved to use camelCase for non-type identifiers. (As an aside: Surely the capitalized version of snake_case is Snake_Case, not SnakeCase. Very few languages are consistent here.)
Re: Rust creator Graydon Hoare is now at Apple working on Swift
#50Swift is a nice language. What's really missing is better non-Mac support. Tools, libraries, etc. It'll become a Top 10 language (by popularity) once it becomes a real option for Linux and Windows.
It's definitely a better language than C# after that