Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
austinz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
austinz
9y ago
Yeah, except for the facts that the leaky bolts that were the primary source of consternation last year (?) weren't part of the Chinese-built part of the bridge.
2.
▲
by
austinz
10y ago
For someone who laments the failure of modern programmers to learn from the work of the past, the author seems to completely ignore the contributions of ML, ML-style type systems, and related languages to the profession of software engineer
3.
▲
by
austinz
10y ago
I think an interesting life is important. I also think, though, that many people lead far more interesting lives than they realize. Some people are better than others at noticing and extracting the interesting parts of what would otherwise
4.
▲
by
austinz
10y ago
He doesn't have actual questions. He's making an ad hominem attack against the author of a language that he's forced to use, but hates.
5.
▲
by
austinz
10y ago
> The pattern matching in Swift isn't much better than what you would get with a tagged C union In what way? Pattern matching in Swift is quite powerful; definitely better than C's switch statement. This blog post is a good ove
6.
▲
by
austinz
10y ago
Swift supports ADTs and implements its Optional type as an ADT.
7.
▲
by
austinz
10y ago
What a great summary of the utter baseness of this type of advertising: a stomach-turning body horror image I never wanted to see, some article calling strangers "morons" based on some stupid superficiality, and gossip about the p
8.
▲
by
austinz
10y ago
Swift has "if case let" for that use case. (Admittedly, the syntax is a bit esoteric.)
9.
▲
by
austinz
10y ago
"Advanced manufacturing requires management and communication skills and the ability to operate complex information-based factories" is meaningless consultant jargon. It would have been better to explain exactly what about advance
10.
▲
by
austinz
10y ago
I'm not particularly enthused with how the code was presented. Here's a marginally more readable version of the first large snippet that still doesn't exceed 77 (or 79) characters in width: https://gist.github.com&
11.
▲
by
austinz
10y ago
Automatic Reference Counting: https://en.wikipedia.org/wiki/Automatic_Reference_Counting
12.
▲
by
austinz
10y ago
I've seen interest on the lists for modifying the model to allow a single failure type to be specified. I hope someone will write up a proposal once August rolls around and the lists are open again to new feature ideas.
13.
▲
by
austinz
10y ago
Scala tries a lot harder than Swift to unify object-oriented and functional programming principles. For example, in Scala operators are (IIRC) implemented as methods on objects, there's a 'Nothing' bottom type that is used fo
14.
▲
by
austinz
10y ago
That's bizarre. One thing I've noticed is that performing the string scanning operation is relatively cheap. (If the splitAndTrim code is modified to not use Strings and to return a [String.UTF16View], the runtime is around 1.2 se
15.
▲
by
austinz
10y ago
Weird. I'm using the same version of Xcode, running on a trashcan Mac Pro running OS X 10.11.4.
16.
▲
by
austinz
10y ago
After a bit more investigation, I found that if you replace the following code: result.append(begin == eos ? "" : String(cs[begin..<end.successor()])) with this: if begin == eos { result.append("") }
17.
▲
by
austinz
10y ago
"This is a proposal and not a plan of record." Not only that, the git feature branch, if it ever existed, doesn't anymore.
18.
▲
by
austinz
10y ago
To be clear, that document contains brainstorming by some core Swift team developers. It's neither implemented in Swift nor officially accepted as a guideline for future development.
19.
▲
by
austinz
10y ago
Regarding strings... I briefly ran the code sample you graciously provided me with a month ago through the profiler ( https://gist.github.com/austinzheng/d6c674780a58cb63832c4df3... ). Long story short, it looks like the
20.
▲
by
austinz
10y ago
VHDL vs Verilog flame wars everywhere. Also, discussions on people's favorite idiosyncratic, vendor-specific dialect of C for embedded devices.
21.
▲
by
austinz
10y ago
I'm not saying the experiments were trustworthy or conducted properly. Only that the author of the article misunderstood the experimental setup. (To be precise, the comment about the null thruster was made by the author in a comment on
22.
▲
by
austinz
10y ago
I am skeptical about the EmDrive (although I would very much like it to be real), and my opinion on the drive or its theoretical underpinnings is not really relevant, given my lack of knowledge about the field. But I don't think that w
23.
▲
by
austinz
10y ago
My (highly speculative) guess is that your String issues were due to either/both: - Swift performance issues involving working with strings, some of which have been ameliorated by later releases; - 'Hidden' bridging between N
24.
▲
by
austinz
10y ago
It's possible to write non-GUI command-line Swift programs that run on Linux (and certain other platforms). In terms of 'close to the metal', Swift is probably much closer to Rust or C++ than C# or Java, and is at least at th
25.
▲
Completing Swift Generics
(article.gmane.org)
22 points
by
austinz
11y ago
|
1 comments
26.
▲
by
austinz
11y ago
I love C# and think it's a great language, but when it was as old as Swift is now it was widely perceived as a Java clone. In fact, even today C# and Java are much closer in language design philosophy and implementation than C# and Swi
27.
▲
by
austinz
11y ago
No, just a 'greatest hits' compilation of the same things China detractors have been complaining about since 1995. Their analysis is no better than the already dubious "official" numbers.
28.
▲
by
austinz
11y ago
Yes, because moving from vtables to message passing eliminates a whole class of semantic errors whose genesis is independent of the implementation details of the language. Thanks for making this clear.
29.
▲
by
austinz
11y ago
Since I expect nothing less than clear, well-informed commentary from Hacker News regulars, I would be very interested in learning exactly what technical aspects make Rust, Python, and Go superior to Swift in each use case, as well as lesso
30.
▲
Generics in Swift: An Overview
(austinzheng.com)
5 points
by
austinz
11y ago
|
0 comments
More ›