Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PezzaDev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
1.
▲
by
PezzaDev
3y ago
No. Precision and Accuracy have very specific definitions in the world of science and engineering. https://en.m.wikipedia.org/wiki/Accuracy_and_precision
2.
▲
by
PezzaDev
5y ago
Automated testing is hard to justify for games because you are not simply finishing features and moving on. You are constantly experimenting. Throwing out features and ideas and reworking them is part of the creative process. Automated test
3.
▲
by
PezzaDev
6y ago
You made me realise that term "dumb code" isn't exactly what I mean. I want to advocate writing code that is very easy to statically understand. You should be able to look a piece of code without needing to read too much arou
4.
▲
by
PezzaDev
6y ago
No coding approach will ever solve an issue caused by a lack of discipline.
5.
▲
by
PezzaDev
6y ago
And everyone wishes they hadn't :P Even modders that use Lua have to write code that avoids allocations, caching and reusing all the objects they can. I can't stress enough how much time is spent on optimising code to avoid GC pau
6.
▲
by
PezzaDev
6y ago
I'd love to try Golang, but as a game developer, the gc makes it a no go due to perf. I begrudgingly accept C# due to unity. GC is a different topic altogether, but has also always been a pain. You end writing code to avoid allocations
7.
▲
by
PezzaDev
6y ago
After years of experience writing code for games, I find that the dumbest code is the best code. It doesn't matter if it's C# or C++, whenever I've used something like reactive extensions or template metaprogramming, it has b
8.
▲
by
PezzaDev
7y ago
Try bluring your vision or moving further away from your screen.
9.
▲
by
PezzaDev
7y ago
What are the advantages of this other than showing the language is competent enough that you can write a compiler for itself? Would it be better to keep a compiler written in a highly portable language such as c? Genuinely curious.
10.
▲
by
PezzaDev
7y ago
I feel zig is now experiencing feature creep now too sadly. Async and await and coroutines are being added to it, because it's the new-ish hotness I guess? Stopped paying attention to the language after that. I was hoping for a more st
11.
▲
by
PezzaDev
8y ago
It frustrates me too. I'm always on the look out for languages that implement modern performance approaches into their design. I'd love to see a language that focuses on data orientated design, auto-vectorisation and possibly some
12.
▲
by
PezzaDev
8y ago
AOT (ahead of time) is your code is turned into machine code before you run it. JIT (just in time) is your code turning into into machine code as you run it. Machine code is what your CPU directly processes, so it can be very fast. AOT lang
13.
▲
by
PezzaDev
8y ago
I didn't take me long to get this abomination https://imgur.com/a/gI8Vlla
14.
▲
by
PezzaDev
8y ago
After seeing callbacks cause a lot of "hard to debug" scenarios for me and for others, I'm starting to believe they are gotos in disguise.
15.
▲
by
PezzaDev
8y ago
I realise the irony of claiming I only lurk by writing this, but I'm fighting my habits to help illuminate those interested. For me personally, I just don't care and don't get any reward in the idea of conversing with some ra
16.
▲
by
PezzaDev
8y ago
Do you know where I could find details about how to optimise for SteamPipe?
17.
▲
by
PezzaDev
8y ago
Tessellating a sphere is one of those never ending areas of study because no solution feels 100% satisfying
18.
▲
by
PezzaDev
8y ago
I don't see how a new language can claim to fast and efficient when it does nothing to encourage data-oriented programming.