Re: Float16Array

2015-07-30 Thread Alexander Jones
Everything you mentioned, apart from computational savings AFAIK. (Half is used extensively in the visual effects industry.) On Thursday, 30 July 2015, Sebastian Markbåge sebast...@calyptus.eu wrote: On Wed, Jul 29, 2015 at 4:05 PM, Alexander Jones a...@weej.com

Re: String.prototype.trimRight/trimLeft

2015-07-30 Thread Behrang Saeedzadeh
I think poly-filling is only a good idea when the spec says a given type should have a given function but one or more browsers haven't implemented it yet. Otherwise it will become like the era of overtly monkey patching everything in Ruby that could end up with libraries clashing with each other

Re: Any opinions about adding a Ruby-like ||= operator to EcmaScript?

2015-07-30 Thread Behrang Saeedzadeh
I am not very fussed about the syntax as long as the facility is in the language. Any chance this gets included in EcmaScript 2016? On Wed, Jul 29, 2015 at 10:26 PM Claude Pache claude.pa...@gmail.com wrote: Le 29 juil. 2015 à 13:23, Behrang Saeedzadeh behran...@gmail.com a écrit : For

Re: Named Paramters

2015-07-30 Thread Axel Rauschmayer
On 12 Jul 2015, at 16:05, Luke Scott l...@webconnex.com wrote: Personally I'd rather be able to name parameters without creating an object. The intermediate object seem like something that JavaScript engines could eliminate by statically analyzing the code. I’m wondering whether any engine

Re: Float16Array

2015-07-30 Thread Florian Bösch
Float16 isn't a legacy format to Float32 much in the same way that unsigned int16 isn't a legacy format to unsigned int32. Float16 is a mandatorily supported format in OpenGL ES 3.0 textures and vertex attributes. If more precision than byte is required, but less than float32 precision is

Maven like dependency management for browsers

2015-07-30 Thread Behrang Saeedzadeh
Hi, Has this been discussed before? In a nutshell this diagram illustrates the idea: http://i.imgur.com/X1n57iQ.png - Rather than referencing a url in script or style tags, we require the browser to load name-spaced, versioned libraries. For example: com.jquery:jquery:1.0. - This

Re: Maven like dependency management for browsers

2015-07-30 Thread Sébastien Cevey
Hi Behrang, Have you had a look at JSPM and SystemJS? They cover similar grounds in userspace, with the intent for SystemJS to be the upcoming standard Module Loader. https://github.com/jspm/jspm-cli https://github.com/systemjs/systemjs On Thu, 30 Jul 2015 at 09:59 Behrang Saeedzadeh