2014-06-09 15:56 GMT-04:00 Botond Ballo <bba...@mozilla.com>: > ----- Original Message ----- > > From: "Benoit Jacob" <jacob.benoi...@gmail.com> > > To: "Botond Ballo" <bba...@mozilla.com> > > Cc: "dev-platform" <dev-platform@lists.mozilla.org> > > Sent: Monday, June 9, 2014 3:45:20 PM > > Subject: Re: C++ standards proposals of potential interest, and upcoming > committee meeting > > > > 2014-06-09 15:31 GMT-04:00 Botond Ballo <bba...@mozilla.com>: > > > > > Cairo-based 2D drawing API (latest revision): > > > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4021.pdf > > > > > > > I would like the C++ committee's attention to be drawn to the dangers, > for > > committee, to try to make decisions outside of its domain of expertise. I > > see more potential for harm than for good in having the C++ committee > join > > the ranks of non graphics specialists thinking they know how to do > > graphics... > > Does this caution apply even if the explicit goal of this API is to allow > people learning C++ and/or creating simple graphical applications to be > able to do so with minimal overhead (setting up third-party libraries and > such), rather than necessarily provide a tool for expert-level/heavy-duty > graphics work? >
That would ease my concerns a lot, if that were the case, but skimming through the proposal, it explicitly seems not to be the case. The "Motivation and Scope" section shows that this aims to target drawing GUIs and cover other needs of graphical applications, so it's not just about learning or tiny use cases. Even more worryingly, the proposal talks about GPUs and Direct3D and OpenGL and even Mantle, and that scares me, given what we know about how sad it is to have to take an API like Cairo (or Skia, or Moz2D, or Canvas 2D, it doesn't matter) and try to make it efficiently utilize GPUs. The case of a Cairo-like or Skia-like API could totally be made, but the only mention of GPUs should be to say that they are mostly outside of its scope; anything more enthusiastic than that confirms fears that the proposal's authors are not talking out of experience. Benoit > > Cheers, > Botond > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform