From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Fri, 23 Nov 2012 11:21:16 +0100 Message-ID: <1441348.rbkaJH2T22@coil> User-Agent: KMail/4.9.3 (Linux/3.7.0-rc6-l47; KDE/4.9.3; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [9fans] C++ Topicbox-Message-UUID: e45b9e28-ead7-11e9-9d60-3106f5b1d025 On Friday 23 of November 2012 10:47:09 Gorka Guardiola wrote: > On Thu, Nov 22, 2012 at 11:32 PM, Winston Kodogo w= rote: > > But, let the record show, C++ has been scientifically shown to be a= n > > unbelievably crap and monstrously complex language, even though I e= arn > > my daily bread by using it. I was a contemporary of Dr Stroustrup w= hen > > he was spending his time dragging the Cambridge mainframe to its kn= ees > > using the Simula compiler - the kindest description I ever heard fr= om > > friends in the computer lab was "stubborn"- and occasionally, ok > > frequently, or indeed always, am tempted to view C++ as his revenge= on > > the world for pointing out that he doesn't have a clue how to progr= am > > efficiently. >=20 > Yes, this is why most games, which do not need speed or efficiency at= all > are programmed in C++. (...) you've just stepped on my pet peeve, apologies in advance for what foll= ows. <<'NITPICK' the bulk of in-game graphics processing is done via OpenGL calls/Direct= X=20 calls/whatever goes on the PS3' Cell CPU. the C++ parts could be replac= ed with=20 Python and noone would be any the wiser. similarily, Youtube flash player does not decode nor scale video in Fla= sh'=20 Actionscript; the GPU does it. unless you have broken drivers like i ha= d once,=20 in which case it is /slow/. C++ for the assembly-line-style game development [1] is choosen as PHB'= s safe=20 bet -- a.k.a. ``industry's stadard practice'' -- and not on technical = merits.=20 cue picture of Scott Adams (of Dilbert fame). if you really must, John Carmak writes idomatic C, not C++. NITPICK; [1] http://news.ycombinator.com/item?id=3D4821152 and countless other s= tories. --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]] Reality is just a convenient measure of complexity. -- Alvy Ray Smith