{"title":"A stream library using Erlang binaries","authors":"Jay Nelson","doi":"10.1145/1088361.1088364","DOIUrl":null,"url":null,"abstract":"An implementation of a Stream Library for erlang is described which uses Built-In Functions (BIFs) for fast access. The approach uses binaries to represent and process stream data in high volume, high performance applications. The library is intended to assist developers dealing with communication protocols, purely textual content, formatted data records and the routing of streamed data. The new BIFs are shown to improve performance as much as 250 times over native erlang functions. The reduction in memory usage caused by the BIFs also allows successful processing in situations that crashed the runtime as application functions.","PeriodicalId":140676,"journal":{"name":"Erlang Workshop","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-09-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Erlang Workshop","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1088361.1088364","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
An implementation of a Stream Library for erlang is described which uses Built-In Functions (BIFs) for fast access. The approach uses binaries to represent and process stream data in high volume, high performance applications. The library is intended to assist developers dealing with communication protocols, purely textual content, formatted data records and the routing of streamed data. The new BIFs are shown to improve performance as much as 250 times over native erlang functions. The reduction in memory usage caused by the BIFs also allows successful processing in situations that crashed the runtime as application functions.