Live data from Hacker News

Rust creator Graydon Hoare is now at Apple working on Swift

lists.swift.org

31–40 of 68 posts

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

#31
post #4

My frustration with Mozilla deprecating everything I need in Firefox has made it impossible for me to trust them as stewards of a language. Hopefully this contributes to a decoupling of Rust from Mozilla. (EDIT: Am I incorrect that they are deprecating the things I need in Firefox, am I incorrect that I don't trust them, or am I wrong to have hope for a good outcome?)

You are incorrect in the assumptions that Mozilla is the steward of Rust (and therefore that you would need to trust them in that role), and that Rust has not already been decoupled from Mozilla.

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

#32
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.

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

#34

Earlier quoted context omitted.

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

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?

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

#35
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?

In some languages, a function can be defined multiple times with different signatures (multiple 'heads'). It will try each clause until it finds one that matches, allowing you to filter or change course on the basis of the value or characteristics of the arguments.

This allows you to easily create special logic for corner cases and is generally extremely useful.

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

#36
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?

Pattern matching can be used in the parameter list of function's definition.

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

#40
post #15
post #13

Earlier quoted context omitted.

XUL-based add-ons are being deprecated, and Firefox is adopting the same extension mechanism as Chrome (but with more extension points). That means that add-ons that make more or less drastic changes to the UI will need to be updated, rewritten or abandoned. This is being done before replacements of equivalent capability have been added to the new API. And there doesn't seem to be signs of awareness of the risks of d…

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.
Post reply on HN