Re: Re: [tsc-devel] Rewrite: Programming language
Ryan Gonzalez |
Mon, 25 Sep 2017 20:15:23 UTC
Well, I just didn't want to write my next Go rant if that wasn't
actually under consideration. ;)
For me, I think Go is being bold in trying to be simple. Maybe a
little *too* simple.
Things like the error handling are never problems with small programs,
but as they start to grow it becomes an incredibly major hassle.
If we're really doing this from scratch, that would mean building a
game engine. Lack of operator overloading bites here: instead of
things like SFML's nice vector operations (e.g. obj.getPosition() +
otherVector), you have to use long function calls like
obj.getPosition().addVec(otherVector) or similar.
Of course, the only true solution would be to write a programming
language and use that to implement a compiler framework which would
then be used to implement a compiler which would then be used to
implement a programming language which would then be used to implement
a 2D graphics engine which would then be used to implement a game
engine which would then be used to implement a game.
In all seriousness, though: if we're looking at other languages, I'd
highly recommend Nim: https://nim-lang.org/
I mean, it's not perfect either, but IIRC a lot of the language design
leans very nicely towards game development.
On Mon, Sep 25, 2017 at 11:46 AM, Marvin Gülker
<…r@p…> wrote:
> Am 25. September 2017 um 07:09 Uhr -0700 schrieb "…9@g…" <…9@g…>:
>> Wait, is writing the game in Go up in the air????
>>
>> Oh god...
>
> More specific criticism would be nice. I note down that you don't like
> the idea, though. Nothing is decided in this regard yet.
>
> Marvin
>
> --
> Blog: https://www.guelkerdev.de
> PGP/GPG ID: F1D8799FBCC8BC4F
>
--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
http://refi64.com/