Live data from Hacker News

Rust creator Graydon Hoare is now at Apple working on Swift

lists.swift.org

41–50 of 68 posts

Re: Rust creator Graydon Hoare is now at Apple working on Swift

#41
post #14

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.

Mhmm. Really with all those things, i'd give it a serious try for my game development side projects. Currently using html5 for some, libgdx (java) for others.

Re: Rust creator Graydon Hoare is now at Apple working on Swift

#42

Earlier quoted context omitted.

I think this is the first time I see anyone like the OCaml syntax.

I think I like Reason's syntax better, but can't say I dislike Ocaml's.

And I believe Reason's syntax was inspired by Rust, so we've come full circle. :P

Re: Rust creator Graydon Hoare is now at Apple working on Swift

#43
post #5

Graydon 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.

Indeed, Huon Wilson and Alexis Beingessner are both at Apple now, and happily they remain active in the Rust community as well (though under no uncertain circumstances are they allowed to submit code).

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

#44
post #32

Earlier 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?

Known issues since day one. I agree it's a given these things are on the way but when?

Re: Rust creator Graydon Hoare is now at Apple working on Swift

#45
post #14

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.

Hopefully the recently announced precompiled bridging headers will help with compile time (for mixed-language products at least):

https://swift.org/blog/bridging-pch/

Re: Rust creator Graydon Hoare is now at Apple working on Swift

#46
post #15

Earlier 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.

afaik, firefox is an "existing browser"

Re: Rust creator Graydon Hoare is now at Apple working on Swift

#48
post #34

Earlier 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?

If you look at the Wikipedia article for Greatest Common Divisor, you see this:

  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

#49

Earlier 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.)

Using any capital letters in code is an instant point away from a language IMO. Having to press Shift sucks.

Re: Rust creator Graydon Hoare is now at Apple working on Swift

#50
post #14

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.

What's missing is built in concurrency/parallelism model

It's definitely a better language than C# after that

Post reply on HN