Re: [whatwg] Proposal: navigator.cores

GCD exposes core count in that you can make your jobs keep track of
the current time and then count how many threads are running at the
same time. A GCD-style API will enable me to replace all of Core
Estimator's estimation and statistical code with a very simple counter
and time tracker, while yielding fully accurate core counts.

I honestly cannot think of a system that doesn't make it possible to
derive core count even easier than I currently can.

On Mon, May 5, 2014 at 7:46 PM, Ian Hickson <ian@hixie.ch> wrote:
> On Mon, 5 May 2014, Kenneth Russell wrote:
>>
>> It would be great to design a new parallelism architecture for the web,
>> but from a practical standpoint, no progress has been made in this area
>> for a number of years, and web developers are hampered today by the
>> absence of this information.
>
> Progress can be made imminently. Just tell me what you need. There's no
> reason this has to take a long time. The only reason it isn't in the spec
> already is that it hasn't been requested -- as far as I'm aware, until the
> past week, the last person who mentioned it on the list was me, several
> years ago.
>
> If multiple vendors are interested in a more elaborate solution that
> doesn't expose more fingerprinting bits, we can do that right away. What
> would be most helpful to do that is detailed descriptions of use cases,
> common pitfalls, experience with existing systems like Apple's GCD,
> strawman API proposals, and criticisms thereof.
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 5 May 2014 23:59:53 UTC