jscherer92 / Quark

Create Applications with browser technologies using the native engine in your OS.
MIT License
270 stars 9 forks source link

Implement the Stream Interface #15

Open jscherer92 opened 6 years ago

jscherer92 commented 6 years ago

Going to move forward with the Streaming interface so I can finally move onto the crucial FileSystem API.

jscherer92 commented 6 years ago

after spending a week away (personal time and needing a bit of a break from coding), I have looked into the implementation of WriteableStream and ReadableStream. Current implementation will be wrapping the istream, ostream, and iostream implementations in the std library for C++.

I have looked at the Blink engine's version and how NodeJS handles this and it seems that they made their own (they do use the libuv system). But, I think using the underlying standard system may be best for now. If there is a problem that arises, this can obviously change, but getting the streaming system up and running will probably be the easiest/fastest using these.