123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|517|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Misc Languages -> Coding in Go

Sat, 14 Sep 2019, 15:56
HoboBen
Day 2 of learning Go language, I really like it its so much easier to do everything and I think it will replace both C and Python for me

-=-=-
blog | work | code | more code
Sat, 14 Sep 2019, 15:56
Jayenkai
Man, I forgot all about Go!
Sat, 14 Sep 2019, 16:52
HoboBen
I think Noel likes Go too. I should make a quick Go gamedev tutorial here on SoCoder!

-=-=-
blog | work | code | more code
Sat, 14 Sep 2019, 18:02
Jayenkai
...
<_<
.....
..
..
>_>

...

.....

GO for it!!!!

-=-=-
''Load, Next List!''
Sat, 14 Sep 2019, 18:12
Jayenkai
(Moved into the "new" Misc Languages section, because.. apparently we didn't have one..!?!?)

-=-=-
''Load, Next List!''
Mon, 16 Sep 2019, 15:53
Jayenkai
How's the Go going?
Mon, 16 Sep 2019, 17:12
HoboBen
Really good! There's even a cross compile to android and webassembly :o

-=-=-
blog | work | code | more code
Mon, 16 Sep 2019, 17:23
Jayenkai
Cool!
Tue, 17 Sep 2019, 05:23
cyangames
Cross compiliation...Okay, I'm interested now.

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Tue, 17 Sep 2019, 07:18
HoboBen
Cross compiling in Go is SO EASY.

I got an OpenGL/GLFW example running really easily. As long as you have the mingw32 compiler installed (on windows or linux) you just "go get" the packages and "go build" and everything just works!

Here's my simple script that compiles for Linux, Windows, 32bit and 64 bit, in parallel. But you can just run the individual "go build" lines on their own too




WebAssembly and Android have a few more hoops, but not many.

-=-=-
blog | work | code | more code