On Monday, 6 January 2014 06:59:07 UTC+2, Alf P. Steinbach wrote:
> On 06.01.2014 04:18, �� Tiib wrote:
> >
> > The future of anything depends heavily on first impressions it leaves.
> > Console ... that is rather unimpressive. It is easier to attract and
> > to teach C++ to kids when there is graphics API present right out of
> > the box.
>
> But I think Cairo may be too complex, too heavy, for kids.
I meant "for kids" not in literal sense but for anyone who is not
too experienced and tries C++.
I am unsure if there is plan that Cairo will be standardized. Cairo
is C library AFAIK. More likely they want to take Cairomm (or OFX
or Cinder) and evolve (and strip) some immediate mode graphics
library prototype out of it.
The immediate mode graphics are less used, less likely evolved,
easier to understand for novices but have more various libs.
Retained mode graphics have DirectX and OpenGL and it is
unlikely that hardware vendors want to support something more.
> Not that C++ isn't -- but tonight I saw a question from a 9-year old
> on Stack Overflow, and he claimed to already have written a 4000+ lines
> C++ program. I didn't write a program of that many lines until college
> (but then, computers weren't available at all until high school).
Yes, times change. Most kids know the touch-pad gestures better than
me. I also started with simple languages Basic and then Pascal as kid,
don't remember line counts but the printouts were long. :)
> I think the first one of that size that I made was "RealCalc", a general
> expression evaluator with naming and graphing of formulas, written in
> Pascal. I remember how nice it felt to demonstrate it to someone, doing
> some electronic circuit simulation, yay, works! And what a down-trip it
> was to discover that the way that I'd been passing files around as
> arguments, was not supported by the language, like today's C++ formal
> UB, only worse because it wasn't even meaningful enough to possibly
> /could/ have been supported, it just worked by a fluke...
I was young man when I first tried C (horror) and then C++ (also
shock). Translating, assembling and linking took ages, terrible
diagnostics, most errors were left undiagnosed. Graphics were
supported by language in Basic and (Turbo) Pascal already back
then. C++ had nothing. I basically had to learn how VGA card
and dot matrix printer work on low level to produce graphs.
About same was with mouse.
Modern day is other way around ... there are number of libraries
to choose. That might be even harder for novice than the *nothing*
that I had. Something accepted by committee, no matter if as C++
standard, as separate standard, as technical specification or as
technical report would be good thing.