[Haskell-cafe] Announcing GHC iOS

Simon Peyton-Jones simonpj at microsoft.com
Fri Aug 30 11:04:20 CEST 2013


Great.  Please thank Stephen too.. I don't have his email.

Just go ahead and modify
http://ghc.haskell.org/trac/ghc/wiki/CodeOwners
http://ghc.haskell.org/trac/ghc/wiki/Platforms

I assume iOS will become a tier-2 platform?

Simon

From: Luke Iannini [mailto:lukexipd at gmail.com]
Sent: 30 August 2013 09:07
To: Simon Peyton-Jones
Cc: Austin Seipp
Subject: Re: [Haskell-cafe] Announcing GHC iOS

Certainly! And I'd be happy to take on maintainership of GHC iOS if that's what you mean - I've committed to a very large project using it so I'll be maintaining it anyway : ). I'd guess Stephen would feel the same.

And thanks so much for the kind words, it means the world! Thank you infinitely for Haskell : ).

Cheers
Luke

On Fri, Aug 30, 2013 at 12:32 AM, Simon Peyton-Jones <simonpj at microsoft.com<mailto:simonpj at microsoft.com>> wrote:
Should we update the "Platform maintainers" on http://ghc.haskell.org/trac/ghc/wiki/TeamGHC
or the list of supported platforms on http://ghc.haskell.org/trac/ghc/wiki/Platforms?

From: Haskell-Cafe [mailto:haskell-cafe-bounces at haskell.org<mailto:haskell-cafe-bounces at haskell.org>] On Behalf Of Luke Iannini
Sent: 29 August 2013 21:56
To: Haskell Cafe
Subject: Re: [Haskell-cafe] Announcing GHC iOS

Stephen provided some more credits - thanks so much to all!

Three connected projects concerning cross-compilation:

*Registerised ARM support, added using David Terei's LLVM compiler back end with Stephen Blackheath doing an initial ARMv5 version and LLVM patch and Karel Gardas working on floating point support, ARMv7 compatibility and LLVM headaches. Ben Gamari did work on the runtime linker for ARM.

*General cross-compiling, with much work by Stephen Blackheath and Gabor Greif (though many others have worked on this).

*A cross-compiler for Apple iOS. iOS-specific parts were mostly Stephen Blackheath with Luke Iannini on the Cabal patch, testing and supporting infrastructure, also with assistance and testing by Miëtek Bak and Jonathan Fischoff, and thanks to many others for testing; The iOS cross compiler was started back in 2009 by Stephen Blackheath with funding from Ryan Trinkle of iPwn Studios.

Thanks to Ian Lynagh for making it easy for us with integration, makefile refactoring and patience, and to David Terei for LLVM assistance.


On Thu, Aug 29, 2013 at 1:43 PM, Luke Iannini <lukexipd at gmail.com<mailto:lukexipd at gmail.com>> wrote:
Hi all!
(in case you don't read /r/haskell : ))

Stephen Blackheath and I are extremely happy to report that as of today, GHC can natively build binaries for iOS devices and the iOS Simulator.

You'll find everything you need here: http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS

The short of it is you can use "ghc-ios myFiles.hs" to get a universal ARMv7/ARMv7s/i386 static library to drop straight into an Xcode project.

Stephen's already working on some wonderful FRP-powered games, I'm working on a project called SpaceTime that I'll announce shortly, and you may now all begin creating insanely great iOS software using the finest language in the world : ).

Stephen deserves the lion's share of the credit for this project - it's been over 3 years in the making! Many thanks to Maxwell Swadling for generalizing static library builds into a -staticlib flag for GHC, Carter Schonwald for compilation guidance, and the venerable Austin Seipp for reviewing and merging our patches.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130830/4092da64/attachment.htm>


More information about the ghc-devs mailing list