Changeset d1b1063
- Timestamp:
- Feb 28, 2019, 1:42:39 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 58732d1
- Parents:
- 4eaefd1
- Location:
- doc/theses/aaron_moss_PhD/phd
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/aaron_moss_PhD/phd/Makefile
r4eaefd1 rd1b1063 27 27 experiments \ 28 28 conclusion \ 29 generic-bench \ 29 30 } 30 31 -
doc/theses/aaron_moss_PhD/phd/generic-types.tex
r4eaefd1 rd1b1063 425 425 Since all these languages are all C-based and compiled with the same compiler backend, maximal-performance benchmarks should show little runtime variance, differing only in length and clarity of source code. 426 426 A more illustrative comparison measures the costs of idiomatic usage of each language's features. 427 The code below shows the \CFA{} benchmark tests for a generic stack based on a singly-linked list; the test suite is equivalent for the other other languages .427 The code below shows the \CFA{} benchmark tests for a generic stack based on a singly-linked list; the test suite is equivalent for the other other languages, code for which is included in Appendix~\ref{generic-bench-app}. 428 428 The experiment uses element types !int! and !pair(short, char)! and pushes $N = 40M$ elements on a generic stack, copies the stack, clears one of the stacks, and finds the maximum value in the other stack. 429 429 -
doc/theses/aaron_moss_PhD/phd/thesis.tex
r4eaefd1 rd1b1063 160 160 % \nocite{*} 161 161 162 % APPENDICIES 163 % ----------- 164 \appendix 165 \input{generic-bench} 166 162 167 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.