タグ

ghcに関するcracchoのブックマーク (4)

  • Home · ghc-ios/ghc Wiki · GitHub

    GHC for iOS — by Stephen Blackheath — 19 Jun 2012 A cross-compiler for building iOS applications in Haskell. Using Mac OS X Lion, ghc-7.4.1 as native compiler, and Xcode 4.3.2 with iOS SDK 5.1 Recent changes: 19 Jun 2012 Fixed bug where there was a runtime crash in the 'dyld' dynamic linker if you referenced anything in Data.ByteString Installation instructions First install LLVM >= 3.0. I install

  • records · Wiki · Glasgow Haskell Compiler / GHC · GitLab

    The Glorious Glasgow Haskell Compiler.

    records · Wiki · Glasgow Haskell Compiler / GHC · GitLab
  • GHCのこと

    オブジェクトレイアウト 通常のHaskellの値(代数的データ型および関数)と、未評価の計算を表すサンクは、全てポインタで参照される。ポインタが指す先は通常はヒープ上のオブジェクトだが、静的セクションに置かれていることもある。いずれにしてもレイアウトは同じで、以下の一般形をとる。 オブジェクトの先頭1ワードは静的領域へのポインタ(infoポインタ)で、この値を評価(関数なら適用)するためのコード(entry code)と、このオブジェクトの種類に関する情報を集積したレコードを指している。なお、GHCにおける1ワードはポインタと同じ大きさ、つまり32ビットOSなら32ビット、64ビットOSなら64ビットである。これはIntの精度と同じでもある。 代数的データ型 代数的データ型の評価済みの値では、infoポインタが構築子の種類を表し、その後に構築子の引数を入れるスロットが続く。したがって、N引

    craccho
    craccho 2012/05/06
    興味深い
  • Good night, Posterous

    Posterous Spaces is no longer available Thanks to all of my @posterous peeps. Y'all made this a crazy ride and it was an honor and pleasure working with all of y'all. Thanks to all of the users. Thanks to the academy. Nobody will read this.

    craccho
    craccho 2011/09/09
    忠実に従ったらできた。終始rootで作業した方が良さげ。
  • 1