Re: Has there been any discussions around standardizing socket or file io usage?

2016-06-18 Thread Isiah Meadows
For server-side, you might want to look into the CommonJS standards, which Node itself was based on from its conception. There's the file system API, the console API (different from browsers), the event emitter API, the module standard (which Node purely extended) and even the precursor to

Re: Has there been any discussions around standardizing socket or file io usage?

2016-06-17 Thread Bob Myers
How does WebSockets fit into this? ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss

Re: Has there been any discussions around standardizing socket or file io usage?

2016-06-17 Thread Boris Zbarsky
On 6/17/16 10:35 AM, David Bruant wrote: Specifically, even if there was a standard why would Node or browser makers implement it given they already have an API for the job and lots of code is already written on top of these APIs? The other issue, of course, is that Node and browsers have very

Re: Has there been any discussions around standardizing socket or file io usage?

2016-06-17 Thread David Bruant
Hi Kris, Le 17/06/2016 06:44, Kris Siegel a écrit : I didn't see this in the archives but I was curious if any consideration has been given for standardizing on features more commonly found in most other language's standard library. For example reading and writing to sockets in JavaScript

Has there been any discussions around standardizing socket or file io usage?

2016-06-16 Thread Kris Siegel
I didn't see this in the archives but I was curious if any consideration has been given for standardizing on features more commonly found in most other language's standard library. For example reading and writing to sockets in JavaScript requires platform specific libraries and works very