[swift-users] file io in Swift 2.2 for Linux (would like to be pointed in the right direction)
gerard_iglesias at me.com
Fri May 20 07:19:36 CDT 2016
From my point of view, I want to parse a huge file without loading it in memory...
Maybe something worth the reading
Le 20 mai 2016 à 13:59, Maury Markowitz via swift-users <swift-users at swift.org> a écrit :
>> On May 20, 2016, at 4:16 AM, Quinn The Eskimo! via swift-users <swift-users at swift.org> wrote:
>> I disagree. One-shot file system APIs make sense for a lot of reasons:
> I do most of my programming in .Net, where streams are the primary IO system. Even simple tasks often require multiple objects and loops copying data between them. Limitations in the API and in the implementations layer on complexity.
> I relish whenever I have to do IO on the Mac using the one-shot API. A single line of code almost always accomplishes what I want, and the API is perfectly clear on what it's doing.
>> I generally find myself streaming through a file only when I’m dealing with some sort of I/O pipeline, which is the exception rather than the rule.
> Indeed, and in these domain's it's an excellent conceptual platform to work in. But as the *primary* API it's a wonderful example of distributed cost.
> swift-users mailing list
> swift-users at swift.org
More information about the swift-users