• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

GHC LLVMBackend Workshop (This set of slides is just a draft)

on

  • 1,136 views

http://cotocoto.jp/event/39693

http://cotocoto.jp/event/39693

Statistics

Views

Total Views
1,136
Views on SlideShare
1,135
Embed Views
1

Actions

Likes
0
Downloads
7
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    GHC LLVMBackend Workshop (This set of slides is just a draft) GHC LLVMBackend Workshop (This set of slides is just a draft) Presentation Transcript

    • GHC LLVMBackend Workshop May 8, 2010 Osaka, Japan Tatsuhiro Ujihisa http://ujihisa.blogspot.com/
    • GHC? • The most common Haskell compiler • More features than Haskell98 specification
    • LLVM? • Low Level Virtual Machine • A virtual machine for arbitrary environments • (like JVM for C)
    • GHC × LLVM
    • Demo
    • What I did? • "fib" app on normal GHC • "fib" app on LLVM GHC • benchmarks of them
    • Differences • What do they change from and to? • GHC: • Haskell -> Executable • LLVM GHC: • Haskell -> LLVM Assembly Language
    • LLVM Assemby Language (1/2) • Platform-independent Assembly Language • Infinite number of (virtual) registers • All registers are referential transparent
    • LLVM Assemby Language (2/2) • Can call all C functions • other features are almost same as other common assembly languages such as IA-32
    • Advantage? Optimizer!
    • (to be continued...)