HNHacker News
TopNewBestAskShowJobs

practicalswift

679 karma · joined June 7, 2014

submissionscomments
practicalswift··on Swift is Open Source
I'm really impressed by the attentiveness of the Swift compiler team. Found this in the repo: https://github.com/apple/swift/commit/666646fee95bc75ca81e1d...

One tweet and the bug is fixed within a couple of hours. Wow!

Found that issue while working on the Pythonic.swift project: https://github.com/practicalswift/Pythonic.swift (btw, contributors welcome! Know Python? If so, a very good way to jump into Swift programming is by contributing to Pythonic.swift: a Swift implementation of selected parts of Python standard library)

practicalswift··on Swift is Open Source
Happy to see that my collection of Swift compiler crashes (see https://github.com/practicalswift/swift-compiler-crashes) has been part of the official Swift repo since September 2014: https://github.com/apple/swift/commit/e5ca8be1a090335d401cd1... :-)

A previous HN thread about the swift-compiler-crashes project: https://news.ycombinator.com/item?id=9020206

practicalswift··on Looking Back at Three Months of afl-fuzz
These are the crashing statements:

  SELECT n()AND+#0;
  SELECT strftime()
  DETACH(SELECT group_concat(q));
  DROP TABLE IF EXISTS t0; CREATE TABLE t0(t);
  INSERT INTO t0 SELECT strftime();
  SELECT quote(t) FROM t0
See https://www.sqlite.org/src/info/fe578863313128 for the patch.
practicalswift··on Show HN: A Swift implementation of selected parts of Python standard library
Yes, the project was updated to compile without warnings in Xcode6-Beta3 directly after the release. Please note that most of the changes introduced in Xcode6-Beta3 are breaking, so the project won't compile in the earlier betas any more. So go get Xcode6-Beta3 if you want to use Pythonic.swift :-)
practicalswift··on Show HN: A Swift implementation of selected parts of Python standard library
The current Swift standard library is actually very small and limited, so Pythonic.swift is an attempt to extend the Swift language with a more comprehensive standard library that quite a few developers are already familiar with. I love both Python and Swift, so I thought why not let them marry? :-)