Simplifying Regions
Greg Morrisett
Harvard University
Collaborators: Matthew Fluet & Amal Ahmed
Simplifying Regions Greg Morrisett Harvard University - - PowerPoint PPT Presentation
Simplifying Regions Greg Morrisett Harvard University Collaborators: Matthew Fluet & Amal Ahmed The Cyclone Safe-C Project Primary goal: type-safety Secondary goal: retain virtues of C C programmers should feel comfortable. It
Collaborators: Matthew Fluet & Amal Ahmed
April 2005 2
structures by looking at the types.
checks by programming with certain idioms.
settings where space and time may be scarce.
April 2005 3
April 2005 4
Cyclone vs. Java
5 10 15 20 25 30 35 40
ackermann except hash heapsort matrix random sieve strcat wc
Shootout Benchmark CPU Time Normalized to GCC Cyclone/gcc Java/gcc
April 2005 5
C vs. Cyclone Throughput on Boa Webserver
3900 4000 4100 4200 4300 4400 4500 4600 1024 2048 4096 document size (bytes) throughput (requests/sec) C Cyclone
April 2005 6
April 2005 7
April 2005 8
April 2005 9
April 2005 10
April 2005 11
runtime stack
April 2005 12
April 2005 13
April 2005 14
{ρ’}
April 2005 15
{ρ’}
April 2005 16
{ρ’}
April 2005 17
{ρ’}
April 2005 18
{ρ’}
April 2005 19
{ρ’}
April 2005 20
{ρ’}
April 2005 21
{ρ’}
April 2005 22
April 2005 23
April 2005 24
April 2005 25
{ρ1,ρ2,ρ3}
April 2005 26
April 2005 27
April 2005 28
April 2005 29
April 2005 30
April 2005 31
April 2005 32
April 2005 33
April 2005 34
April 2005 35
April 2005 36
April 2005 37
April 2005 38
April 2005 39
April 2005 40
April 2005 41