Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lyinsteve
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
lyinsteve
3y ago
The Swift optimizer has matured dramatically since 2017, to the point where I think this benchmark would almost certainly not result in a 3x power usage/4x slowdown compared to C. On the current benchmark game, many of the purely algor
2.
▲
by
lyinsteve
8y ago
I don’t know much about rust specifically, but the overflow traps happen in debug (i.e. -O0) builds, and are not emitted when optimizations are enabled. LLVM’s constant folding and canonicalization passes will convert (x * 2) / 2 from
3.
▲
by
lyinsteve
9y ago
There are tons of amazingly-smart people working on Swift at Apple right now
4.
▲
by
lyinsteve
9y ago
-swift-version 3 really just turns on some different paths through the parser and type checker to allow previously-valid Swift 3 code to survive to code generation time. They're both compatible
5.
▲
by
lyinsteve
9y ago
I have the strange feeling this will really only be used to enforce the copyrights of large music and movie industry corporations and will not be effective at protecting the IP of independent creators.
6.
▲
Building a Compiler in Swift with LLVM, Part 3 of 4: Code Generation to LLVM IR
(harlanhaskins.com)
2 points
by
lyinsteve
10y ago
|
0 comments
7.
▲
Building a Compiler in Swift with LLVM, Part 1 of 4: Introduction and the Lexer
(harlanhaskins.com)
3 points
by
lyinsteve
10y ago
|
0 comments
8.
▲
by
lyinsteve
10y ago
This should be much higher. Thanks!
9.
▲
Trill: A typed, LLVM-backed compiler, inspired by (and written in) Swift
(github.com)
7 points
by
lyinsteve
10y ago
|
0 comments
10.
▲
Trill: A typed, LLVM-backed compiler, inspired by (and written in) Swift
(github.com)
4 points
by
lyinsteve
10y ago
|
0 comments
11.
▲
Goto in Swift
(harlanhaskins.com)
1 points
by
lyinsteve
11y ago
|
0 comments
12.
▲
by
lyinsteve
11y ago
The author completely missed the point of named parameters. How am I supposed to know that the string argument of "make_window" is the title?
13.
▲
by
lyinsteve
11y ago
Why did I just implement this in Swift? https://github.com/harlanhaskins/Base65536.swift
14.
▲
by
lyinsteve
11y ago
Apple uses XMPP internally as a way to securely communicate. Doesn't really change much; just thought that'd be an interesting thing to throw out.
15.
▲
Show HN: Implementing a Lispy Language in Haskell: Part 1
(harlanhaskins.com)
6 points
by
lyinsteve
11y ago
|
0 comments
16.
▲
by
lyinsteve
11y ago
I'm a Computer Science House member -- Drink is still a staple of our organization! Where else can you get Jolt on campus? Also we've since made an awesome web app and iOS app for dropping drinks.
17.
▲
QuoteMaker – A Markov Chain Generator Generator
(quotemaker.co)
1 points
by
lyinsteve
11y ago
|
0 comments
18.
▲
by
lyinsteve
11y ago
Surprisingly salient and cogent points for an article that's so hostile and willfully ignorant. The author is correct about when to use both, and I'm glad he doesn't discount structs entirely like I've seen from some OOP
19.
▲
Swift and Haskell: 'do' or Die
(harlanhaskins.com)
1 points
by
lyinsteve
11y ago
|
0 comments
20.
▲
by
lyinsteve
11y ago
>The move fast and break things approach Sounds like something I want no part in.
21.
▲
by
lyinsteve
11y ago
LLVM has a GitHub mirror, too. https://github.com/llvm-mirror/llvm
22.
▲
by
lyinsteve
11y ago
Why no mention of GCD here? GCD is very, very good at synchronizing access to shared resources. The most Cocoa-compatible way of handling background execution of expensive procedures is always going to be best executed, quickest, using Gran
23.
▲
by
lyinsteve
11y ago
>50. Give Steve Jobs as much authority as he wants in new product development.
24.
▲
Computer Science House
(csh.rit.edu)
2 points
by
lyinsteve
11y ago
|
1 comments
25.
▲
Show HN: Click, use any watch band with Apple Watch
(kickstarter.com)
7 points
by
lyinsteve
12y ago
|
0 comments
26.
▲
by
lyinsteve
12y ago
let x: String = { if 3 == 4 { return "Hello" } else { return "Goodbye" } }() Although in this case, I'd just use ternary. let x = (3 == 4) ? "Hello&q
27.
▲
by
lyinsteve
12y ago
This looks really amazing. Probably the most simple implementation of FRP I've ever seen, nonetheless in Swift.
28.
▲
Apple just released some sample code for HomeKit
(developer.apple.com)
2 points
by
lyinsteve
12y ago
|
0 comments
29.
▲
by
lyinsteve
12y ago
Seems like performance always works in Swift's favor when the compiler is able to reason about the types (e.g. no AnyObject nonsense, banishing the objc dynamic behavior). Interesting to see Generics performing so poorly, though.
30.
▲
by
lyinsteve
12y ago
Please don't use hamburger menus on iOS. http://blog.manbolo.com/2014/06/30/apple-on-hamburger-menus
More ›