Programming Language for Games, part 3

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 1 15:32:44 PDT 2014


Am 01.11.2014 um 23:23 schrieb Paulo Pinto:
> Am 01.11.2014 um 22:20 schrieb "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
> <ola.fosheim.grostad+dlang at gmail.com>":
>> On Saturday, 1 November 2014 at 17:17:34 UTC, Paulo Pinto wrote:
>>> Another trend, which I find positive, is how many people are now
>>> (finally!) assuming that C widespread into the industry was after all
>>> not that good, in terms of bugs/line of code.
>>>
>>> Now we need another 30 years until D, Rust, Swift, Nim, <place
>>> language name here>, get to replace C and C++.
>>
>> Jonathan referenced Mike Action, who when asked about what C++ vs C said
>> he preferred C and that using C++ was cultural:
>>
>
> I mean in terms of unsafe code and the amount of money spent in research
> and bug fixing that could have been avoided, if C wasn't as it is.
>
> I wouldn't be that vocal about C if:
>
> - arrays were bound checked (just use a compiler flags and dataflow to
> remove them like any sane language)
>
> - enums were strong typed
>
> - had reference parameters
>
> - had namespaces or real modules
>
> - no implicit type conversions
>
> - had a sane macro system
>
> But I guess D already covers it...
>
>
> --
> Paulo

Forgot to mention, proper strings.


More information about the Digitalmars-d mailing list