Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Christopher F Clark Newsgroups: comp.compilers Subject: Re: What does it mean to "move characters" in the lexer? Date: Wed, 22 Jun 2022 00:44:05 +0300 Organization: Compilers Central Lines: 20 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-06-064@comp.compilers> References: <22-06-057@comp.compilers> <22-06-058@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="90727"; mail-complaints-to="abuse@iecc.com" Keywords: lex, performance Posted-Date: 21 Jun 2022 19:25:33 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:3086 While worrying about copying characters around in compilers isn't given much thought these days, it is very relevant to people implementing networking software and also those doing hardware accelerators and their device drivers. The startup I'm working with these days, spends a lot of time worrying about zero-copy abstractions, i.e. how to avoid moving data around. Of course, that doesn't surprise me as we are building hardware accelerators and lots of the staff has a networking background and our accelerators communicate with each other over network connections or shared memory, but the less the data moves, the faster throughput we get with less energy usage and usually with less hardware too. -- ****************************************************************************** Chris Clark email: christopher.f.clark@compiler-resources.com Compiler Resources, Inc. Web Site: http://world.std.com/~compres 23 Bailey Rd voice: (508) 435-5016 Berlin, MA 01503 USA twitter: @intel_chris ------------------------------------------------------------------------------