[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Public WebCL] WebCL syntax style?




On May 24, 2011, at 4:40 PM, Chris Marrin wrote:

============================<cut>

1) Keeping it like OpenGL allows us to leverage the learning of existing
OpenGL developers.

2) OpenGL ES is a very lightweight API which is very powerful. Moving
away from its native API means you either make it more heavyweight or
lose some of its power.

3) Adding structure to the library would necessarily bias it toward a
certain solution space, making it less appropriate for other uses.

4) Coming up with a higher level API that would satisfy everyone would
have either been impossible or would have taken much too long.

We learned from the success of OpenGL vs the difficulties of higher
level representations like X3D. Keeping it simple makes it fit a wide
variety of use cases, and higher level abstractions that suit a
particular need can be layered on top.

============================<cut>


It seems the above arguments also apply to OpenCL/WebCL. In addition I
think there's another reason WebCL APIs should be similar to OpenCL:

5) OpenCL and WebCL will evolve. It will be easier to keep the two in
sync if WebCL APIs closely resemble those in OpenCL.

Simon Gibbs
Samsung Electronics

-----------------------------------------------------------
You are currently subscribed to public_webcl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webcl
-----------------------------------------------------------