| Native code compilation of Erlang's bit syntax |
| Full text |
Pdf
(197 KB)
|
| Source
|
Annual ERLANG Workshop
archive
Proceedings of the 2002 ACM SIGPLAN workshop on Erlang
table of contents
Pittsburgh, Pennsylvania
Pages: 6 - 15
Year of Publication: 2002
ISBN:1-58113-592-0
|
|
Authors
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 3, Downloads (12 Months): 19, Citation Count: 4
|
|
|
ABSTRACT
Erlang's bit syntax caters for flexible pattern matching on bit streams (objects known as binaries). Binaries are nowadays heavily used in typical Erlang applications such as protocol programming, which in turn has created a need for efficient support of the basic operations on binaries.To this effect, we describe a scheme for efficient native code compilation of Erlang's bit syntax. The scheme relies on partial translation for avoiding code explosion, and improves the performance of programs manipulating binaries by translating frequently occurring instances of BEAM instructions into native code via an intermediate translation to instructions of a register transfer language. Our performance evaluation shows that in a HiPE-enabled Erlang/OTP system, the obtained speedups are often significant.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
Erik Johansson , Mikael Pettersson , Konstantinos Sagonas, A high performance Erlang system, Proceedings of the 2nd ACM SIGPLAN international conference on Principles and practice of declarative programming, p.32-43, September 20-23, 2000, Montreal, Quebec, Canada
[doi> 10.1145/351268.351273]
|
| |
2
|
P. Nyblom. The bit syntax --- the released version. In Proceedings of the Sixth International Erlang/OTP User Conference, Oct. 2000. Available at http://www.erlang.se/euc/00/.
|
| |
3
|
|
| |
4
|
C. Wikström and T. Rogvall. Protocol programming in Erlang using binaries. In Proceedings of the Fifth International Erlang/OTP User Conference, Oct. 1999. Available at http://www.erlang.se/euc/99/.
|
CITED BY 4
|
|
|
K. Sagonas , M. Pettersson , R. Carlsson , P. Gustafsson , T. Lindahl, All you wanted to know about the HiPE compiler: (but might have been afraid to ask), Proceedings of the 2003 ACM SIGPLAN workshop on Erlang, p.36-42, August 29-29, 2003, Uppsala, Sweden
|
|
Daniel Luna , Mikael Pettersson , Konstantinos Sagonas, HiPE on AMD64, Proceedings of the 2004 ACM SIGPLAN workshop on Erlang, p.38-47, September 22-22, 2004, Snowbird, Utah, USA
|
|
|
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE conference on Design automation
Gwo-Dong Chen
, Daniel D. Gajski
|