[go-nuts] Who uses GoDS (Go Data Structures) ?

2019-03-12 Thread Chris FractalBach
So, I wanted to mess around with some algorithms and needed a priority queue. I've written one from scratch before but I wanted to try using the container/heap package. I found it pretty confusing TBH. After trying to recreate my own version of the example ( https://golang.org/pkg/container/heap

[go-nuts] saving files on google app engine

2019-01-17 Thread Chris FractalBach
So I noticed this post: https://blog.golang.org/appengine-go111 And especially noticed this part: Furthermore, the application code is completely portable—there are no ties > to the infrastructure that your application is deployed on. So I wanted to try it out! Just to keep things simple, I r

Re: [go-nuts] What are the reasonable reasons to use pointers?

2019-01-02 Thread Chris FractalBach
"I do consider assignment statements and pointer variables to be among computer science's "most valuable treasures."" Donald Knuth, Structured Programming with go to Statements -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from

Re: [go-nuts] Re: Announcing a Fyne GUI toolkit

2019-01-01 Thread Chris FractalBach
I've been experimenting with writing games in Go ever since webAssembly came out. Are games a possible use case for the GUI? I saw u mention you were working on... "basically a canvas that can draw line/rect/text/images(including svg) and some basic window handling." Which sounds like all you'

[go-nuts] Re: WebAssembly: Auto-generating Go bindings for javascript/DOM from the Web Standards.

2019-01-01 Thread Chris FractalBach
Are the # channels on slack? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.goog

[go-nuts] WebAssembly: Auto-generating Go bindings for javascript/DOM from the Web Standards.

2018-12-28 Thread Chris FractalBach
This is in the context of compiling Go to webassembly that will be used with javascript. *Currently:* We have`syscall/js` which has stuff like this: ```go js.Global().Get("document").Call("createElement", "div") ``` What it could be: ```go js.document.createElement("div") ``` *Why?* This w

[go-nuts] Joke in the air :D

2018-11-15 Thread Chris FractalBach
It reached it's "golden years" -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.g

[go-nuts] Writing a Compiler for Web Assembly

2018-05-11 Thread Chris FractalBach
So I've been playing around with compilers lately, and thought it might be fun to write a compiler from Go to web assembly! I notice it has been mentioned before, but discussion seems to be scattered around. searching the github repo reveals that the keyword: "wasm" is appearing: https://github.

[go-nuts] Re: Fancy Comments & Documentation

2018-04-19 Thread Chris FractalBach
Thanks everyone for posting. I poked my head around the standard library in search of comments, and the only file I found so far that uses --- lines: https://golang.org/src/go/ast/ast.go ... which is used to separate sections. // --

[go-nuts] Re: Fancy Comments & Documentation

2018-04-19 Thread Chris FractalBach
Test #1 Source: /* +--+ | fancy box | +--+ package goexplore explores Go! */ package goexplore Result:

[go-nuts] Fancy Comments & Documentation

2018-04-18 Thread Chris FractalBach
So, I'm one of those people who sometimes adds comments like this to my code: ++ | Program Title| | Author | |Date| ++ Synopsis, Description,

[go-nuts] Go Games

2018-03-04 Thread Chris FractalBach
I'm still new to Go, and have been writing server code to support a multiplayer game. After reading the Go 2017 Survey Results , I noticed the result* "I work in the following areas: Gaming"* had 5% respondents. I am curious about general interest in