Re: Bytecode

2014-05-14 Thread C. Scott Ananian
On Wed, May 14, 2014 at 9:12 PM, Axel Rauschmayer wrote: > It'd be great if there was material on the limits of the JVM and the CLR. > AFAICT these are the only virtual machines that are trying to be universal > (run both static and dynamic languages well). > Well, from experience, the JVM is/wa

Re: Bytecode

2014-05-14 Thread Axel Rauschmayer
It'd be great if there was material on the limits of the JVM and the CLR. AFAICT these are the only virtual machines that are trying to be universal (run both static and dynamic languages well). [[[Sent from a mobile device. Please forgive brevity and typos.]]] Dr. Axel Rauschmayer a...@rauschm

Re: Bytecode

2014-05-14 Thread Brendan Eich
Axel Rauschmayer wrote: What is the best “bytecode isn’t everything” article that exists? The “the web needs bytecode” meme comes up incredibly often, I’d like to have something good to point to, as an answer. This one looks good: http://mozakai.blogspot.de/2013/05/the-elusive-universal-web-b

Re: Array.prototype.last()

2014-05-14 Thread Andri Möll
How are they related? Wouldn't that affect Object.defineProperty only if someone passes it an object inheriting from array, for which I can't think any valid reason for. Andri On May 14, 2014, at 8:10 PM, Andrea Giammarchi wrote: > I like we keep adding `get` and `set` here and there but I h

Re: Array.prototype.last()

2014-05-14 Thread Andrea Giammarchi
Same "any valid reason" inheritance should be considered for descriptors ... I didn't want to go off topic too much, just remind that these methods name have a very important meaning in some case. Best Regards On Wed, May 14, 2014 at 10:31 AM, Andri Möll wrote: > How are they related? Wouldn't

Bytecode

2014-05-14 Thread Axel Rauschmayer
What is the best “bytecode isn’t everything” article that exists? The “the web needs bytecode” meme comes up incredibly often, I’d like to have something good to point to, as an answer. This one looks good: http://mozakai.blogspot.de/2013/05/the-elusive-universal-web-bytecode.html Thanks! Axe

Re: Array.prototype.last()

2014-05-14 Thread Andrea Giammarchi
I like we keep adding `get` and `set` here and there but I hope we are not forgetting to fix descriptors inheritance problem where any `get` or `set` can compromise `Object.defineProperty` operations (just a gently reminder that `get` and `set` if inherited can cause many troubles in ES5 like opera

Re: Array.prototype.last()

2014-05-14 Thread Rick Waldron
On Wed, May 14, 2014 at 5:37 AM, Till Schneidereit < t...@tillschneidereit.net> wrote: > On Wed, May 14, 2014 at 8:48 AM, Mathias Bynens wrote: > >> Previous discussion on this topic: >> http://esdiscuss.org/topic/array-prototype-last >> >> We should look at how existing utility libraries handle t

Re: Array.prototype.last()

2014-05-14 Thread Till Schneidereit
On Wed, May 14, 2014 at 8:48 AM, Mathias Bynens wrote: > Previous discussion on this topic: > http://esdiscuss.org/topic/array-prototype-last > > We should look at how existing utility libraries handle this behavior and > base any proposals on that IMHO. Underscore and Lo-Dash have [`_.first`]( >