Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@reiver
reiver / glfw_example_for_opengl.go
Created December 29, 2013 01:55
A very very basic #golang program that opens up a window using glfw ( https://github.com/jteeuwen/glfw ) that *could* (potentially) be used for OpenGL.
package main
import "fmt"
import "github.com/jteeuwen/glfw"
import "os"
import "time"
func main() {
@reiver
reiver / array_copy_example.go
Created December 27, 2013 04:59
One way of copying between arrays of different sizes, in #golang (i.e., Go). Is this the most efficient way of doing it?
package main
import "fmt"
func main() {
var a [9]uint8