>>269
Also, ECMA is insufferable ancient bureaucracy that should have no place to decide what JS becomes.
Once a single decent browser implements native C types and efficient JIT without GC(no GC whatsoever) everyone else will strive to copy it or be left in the dust. And i have couple of ideas that make performance of browsers skyrocket
1. Prototypes are made C function pointers. Prototypes can be aliased, exchanged and set by code as pointer values.
2.All types are specifically either primitive(UInt32,Int8,Float64) or complex(Object,Array) and there is no implicit type conversion on primitives. Primitives should run at full speed without any interference by JS engine.
3.GC should either be removed(delete and new are enough) or delegated to idle threads. Only when app is completely idle GC should start.
4.all assignment/retrieval/math operations on pritimives and arrays/objects consisting of primitive are translated to direct machine code without any method calls or checks to ensure ("the object is the right type and range of values").
5. JS canvas should have more options on format of data presented instead of 32bit pixel arrays which can be manipulated byte at a time(excluding specific hacks to move data with ImageData arrays). Canvas pixel array should have wide variety of pixel formats, transparency options and should can be manipulated easily with array ops and draw commands on raw data(not displayed pixles but PixelArray itself).e.g.
setRowOfPixels(single int color),setPixel(x,y,single int color), setRectangle(x=bottom left,y=top right,single int color)
6.WebGL has to be reworked as JS method API (with optional low-level code) and it has to be hardware independent(like canvas).