|
You are here |
www.uraimo.com | ||
| | | | |
number-none.com
|
|
| | | | | Previously, discussed the particle systems in Braid. They need to be generated differently from the way most games do it; this created more difficulty with r... | |
| | | | |
blog.kulman.sk
|
|
| | | | | How many times how you copied and pasted some code in your current codebase because there was no good way to abstract it? Maybe because it was some repeating code required by a framework or mapping of some data transfer structures. Writing such boilerplate code is an error-prone waste of time, especially when there is a much better way: generating that code. There are a few tools to help you do that, one of the most flexible of them being GYB. What is GYB? GYB is a lightweight templating system that allo... | |
| | | | |
swiftrocks.com
|
|
| | | | | CaseIterable is one of my favorite features in Swift 4.2. Despite being a simple protocol, it solves the common problem (that I personally faced many times) of needing access to an array containing all the cases of a certain enum. | |
| | | | |
ciesie.com
|
|
| | | Today I've played around with Zig, the new, hip (is it hip?) programming language. I find it pretty neat. I'm going to walk you (and myself) through my first, very short, piece of code. Below you can see the entirety of it. It basically allocates a 2MB buffer and reads a file into it... Yep, not particularly impressive, but this is a judgment free, learning zone, ok?! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 const std = @import("std"); const warn = @import("std"). | ||