Skip to content

Instantly share code, notes, and snippets.

@hpoit
Last active May 10, 2017 00:35
Show Gist options
  • Save hpoit/de4c7384b89be184b11c2d23f3d235db to your computer and use it in GitHub Desktop.
Save hpoit/de4c7384b89be184b11c2d23f3d235db to your computer and use it in GitHub Desktop.
Associations between the File and Stream I/O .NET Framework and Julia base
This is a file of associations of the File and Stream I/O .NET Framework and Julia base https://github.com/JuliaLang/julia/tree/master/base
This list will help me understand what needs to be done for supporting I/O compressed streams.
Classes or objects in Julia are types (e.g. abstract[no properties] or concrete type, immutable types are constants)
Types only inherit abstract types
Types for files and directories
IOStream object https://github.com/JuliaLang/julia/blob/96b28d64bdd3ae037378028d4cd60e5a4c397256/base/iostream.jl
IOStream and IOBuffer tests https://github.com/JuliaLang/julia/blob/96b28d64bdd3ae037378028d4cd60e5a4c397256/test/read.jl
IOStream.c https://github.com/JuliaLang/julia/blob/711941988565debc661d8fd9022bf52689749ced/src/flisp/iostream.c
Enumerate through directories and subdirectories https://github.com/JuliaLang/julia/blob/8e501ee90a314e903c08687319acfe15aa35c69f/base/iterators.jl
Iteration utilities https://github.com/JuliaLang/julia/blob/a304c557928d9eaa0a28af5fe96327d5da70d14b/doc/src/stdlib/iterators.md
Iterators test and enumerate eachline(IOBuffer) https://github.com/JuliaLang/julia/blob/a304c557928d9eaa0a28af5fe96327d5da70d14b/doc/src/stdlib/iterators.md
enumerate(fields) https://github.com/JuliaLang/julia/blob/96b28d64bdd3ae037378028d4cd60e5a4c397256/base/options.jl
enumerate(f) with multiple concurrent tasks https://github.com/JuliaLang/julia/blob/96b28d64bdd3ae037378028d4cd60e5a4c397256/base/asyncmap.jl
Abstract type Stream for reading and writing bytes and all concrete stream types, which should inherit from abstract type Stream
Abstract type LibuvStream, I/O concrete types https://github.com/JuliaLang/julia/blob/master/base/stream.jl
Readers and Writers
Asynchronous I/O operations (to be presented synchronously to the programmer)
I/O operations and wrappers https://github.com/JuliaLang/julia/blob/46551cdc408b9af2f21c0308eb71ffb8bef642d3/base/io.jl
Compression
Isolated storage
I/O and security
Related topics
MMAP test https://github.com/JuliaLang/julia/blob/96b28d64bdd3ae037378028d4cd60e5a4c397256/test/mmap.jl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment