by alcover · 2y ago · 0 comments
> I'd think that an ideal game dev language would be programmer time efficient, reasonably performant and designed for skilled programmers who can handle a language filled with footguns. Basically a better version of C such as a selective subset of C++ or a Golang without garbage collection.
I agree so much that I've been working on this for a whole year.There is a sweet spot : non-GC, with pointers (but bounded), inference, basic OOP + tacking, and all the comforts of scripts. All in a good looking syntax without semi-colons.
So you can program fast and get a fast program.
Nitpicking: I'm not fond of reserving keywords like len or append.
len(arr)
append(arr, v)
Better is arr.len
arr.append(v)
Also x: [dynamic]int
is quite verboseMaybe better would be
x: [int] //dyn
x: [int,2] //fixedAnd it takes a lot of people to make good tooling.
They're mostly useless and a visual annoyance.