Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: What's the best non-JVM native language to look at? Date: Sat, 18 Jan 2014 19:46:29 +0000 (UTC) Organization: A noiseless patient Spider Lines: 20 Message-ID: References: <428f8206-d4f7-4fe6-b93c-8f881b498be6@googlegroups.com> <99qdnVXamdWBRErPnZ2dnUVZ8mOdnZ2d@bt.com> <52d9f1e0$0$300$14726298@news.sunsite.dk> <52dabcb3$0$298$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 18 Jan 2014 19:46:29 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="28001"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/oX5TzAqMk1OLXB/GgC+JmaqEkq4uKEI=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:HXf1hHm4ndMnMCamE1PG5cBSn58= Xref: csiph.com comp.lang.java.programmer:27346 On Sat, 18 Jan 2014 12:41:07 -0500, Arne Vajhøj wrote: > strtok is standard. > > (I do not like the API design, but ....) > Nor do I. > And as you say then getline can be replaced by fgets. > > I was just emphasizing the POSIX vs C difference. > Yep, and I was just showing that 50 lines of C to split a line into words is rather a large overestimate. 10-12 is more realistic. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |