Skip to content

Currently Decided on MVP Pieces

Justin Scherer edited this page May 8, 2018 · 13 revisions

Node Implementation

The following APIs will be added into this release of Quark on Windows:

Fs

Implemented in separate branch

Empty

Path

Implemented in separate branch

Empty

Stream (Fs relies on this)

Implemented in separate branch
  • WriteableStream
  1. cork()
  2. uncork()

EventEmitter (Stream relies on this)

Unstable!
  • defaultMaxListeners
  • addListener()
  • eventNames()
  • getMaxListeners()
  • listenerCount()
  • setMaxListeners()
  • emit()
  • listeners()
  • on()
  • once()
  • prependListener()
  • prependOnceListener()
  • removeAllListeners()

Buffer (Stream relies on this)

Unstable!
  • buffer
  • length
  • alloc()
  • allocUnsafe()
  • allocUnsafeSlow()
  • byteLength()
  • compare()
  • concat()
  • copy()
  • equals()
  • swap16()
  • swap32()
  • swap64()
  • readDoubleBE()/readDoubleLE()
  • readFloatBE()/readFloatLE()
  • readInt8()
  • readInt16BE()/readInt16LE()
  • readInt32BE()/readInt32LE()
  • readIntBE()
  • write()
  • writeDoubleBE()/writeDoubleLE()
  • writeFloatBE()/writeFloatLE()
  • writeInt8()
  • writeInt16BE()/writeInt16LE()
  • writeInt32BE()/writeInt32LE()
  • writeIntBE()
  • writeUInt8()
  • writeUInt16BE()/writeUInt16LE()
  • writeUInt32BE()/writeUInt32LE()
  • writeUIntBE()

This is at a good point that I will be moving onto the Stream interface. This will test the code that I need. Other pieces will be implemented later on. Some of them in pure JavaScript.

Container Implementation

The following APIs will be added into this release of Quark on Windows:

  • BrowserWindow
  • Notification