A no bullshit way to Go
1
Name:
Anonymous
2012-08-17 0:06
It has been suggested I should try out Go, it was someone on /prog/
Please share any intensely commented code you know of written in it. Or any documentation besides the tutorial, effective go, and the google tech talks which are all shit.
The only thing remotely useful is the reference manual but it suffers from the same issue: They describe everything as a concept not a function and the examples have context.
2
Name:
Anonymous
2012-08-17 0:08
I mena the examples have no concept
3
Name:
Anonymous
2012-08-17 0:08
context
I need sleep.
4
Name:
Anonymous
2012-08-17 0:30
Go is a piece of shit. That's all you need to know.
5
Name:
Anonymous
2012-08-17 1:10
Id like to see C programs like games re-written in Go to see how it compares in speed
6
Name:
Anonymous
2012-08-17 1:35
>>5
I bet that sounded really intelligent in your head before you posted it.
7
Name:
Anonymous
2012-08-17 5:19
>>6
tell me something about Go, whoops you cant, you dont know shit about anything except whatever youre currently pleasuring your anus with
8
Name:
Anonymous
2012-08-17 5:59
Code: $GOROOT/src/pkg
Documentation: $GOROOT/doc/go_spec.html
9
Name:
Anonymous
2012-08-17 6:16
Why Go is still not a viable option for mission-critical systems:
1. GC
2. Shit implementation of said GC
3. OP's faggotry
10
Name:
Anonymous
2012-08-17 6:31
>>9
Don't delude yourself, it's not viable for shit.
11
Name:
Anonymous
2012-08-17 9:04
>>1
Don't blame Go for your lack of braincells.
12
Name:
Anonymous
2012-08-17 11:43
>>11
So I am not smart enough?
that's sad so I should stick to C and never ever learn something else?
>>8
Code: Not commented enough, written for an by people who already know it
Documentation: Again they provide not enough context for the examples and the explanations are descriptive not functional.
I am looking at the 2011 Ants AI challenge example that seems helpful.
13
Name:
Professional Go Ninja
2012-08-17 13:36
package main
import (
"net/http"
)
func main() {
http.Handle("/", http.FileServer(http.Dir(".")))
http.ListenAndServe(":9080", nil)
}
14
Name:
Anonymous
2012-08-17 13:56
Don't trust the Google jews,
>>1- san
15
Name:
Anonymous
2012-08-17 17:57
>>10 it's viable for getting your thinly-veiled startup marketing to the front page of Le Hacker News
!
16
Name:
Anonymous
2012-08-17 19:08
>>9
again, it would be nice to have benchmarks instead of peoples baseless claims
17
Name:
Anonymous
2012-08-17 19:48
>>16
again, it would be nice to have benchmarks instead of peoples baseless claims
Okay, you asked.
http://shootout.alioth.debian.org/u32q/which-programming-languages-are-fastest.php
Go is slower than Common Lisp. So much for being a ``systems language.''
18
Name:
Anonymous
2012-08-17 20:34
>>17
When you have a natively compiled language that's even slower than Java or Lisp, you're better off using Java or Lisp.
19
Name:
Anonymous
2012-08-17 20:35
Go is shit, it's broken for long lived processes on 32 bit.
20
Name:
Anonymous
2012-08-18 0:39
>>17
>>18
>>19
First, the 32-bit version of Go is stillborn, and the authors are open about this. Look at 64-bit instead.
http://shootout.alioth.debian.org/u64q/which-programming-languages-are-fastest.php
Second, why not look at the direct language comparisons?
http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=go&lang2=sbcl http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=go&lang2=java Go is slower in the memory-allocation-intensive benchmarks, because it's garbage collector is still unoptimized, again something the authors are open about. Go's regex is also unoptimized, hence the slow regex-dna results.
21
Name:
Anonymous
2012-08-18 1:03
>>20
Stillborn and unoptimized. Surely not a candidate for serious mission-critical apps.
The syntax sucks. Admit it. Pike was never a good language designer to begin with. If memory serves me right, they had a few WTFs early on regarding Go's syntax. Obviously a hack job, it was never designed with solid understanding of what they're trying to achieve. It's practically PHP all over again.
My advice is to stick with modern C.
22
Name:
Anonymous
2012-08-18 1:08
doesn't Go have semicolon insertion?
23
Name:
Anonymous
2012-08-18 1:09
semicolon insertion
eeeeeeeeeew
24
Name:
Anonymous
2012-08-18 1:13
>>23
it's the most useful javascript feature
why don't more languages do this?
25
Name:
Anonymous
2012-08-18 1:34
>>21
modern C
By that you mean Objective-C, right?
26
Name:
Anonymous
2012-08-18 3:30
27
Name:
Anonymous
2012-08-18 7:13
>>21
Go has the cleanest and simplest syntaxes of all C-like languages I've seen so far; it has Jo garbage syntax lying around and is easy to parse.
28
Name:
Anonymous
2012-08-18 8:14
>>22
no! its a systems programming language with one expression per line lol
oh that kills me, sorry, cant put any more isolated statements or expressions on that line, only one per line
29
Name:
Anonymous
2012-08-18 9:01
>>28
What are you on about? Go can accommodate a bunch of statements on a line in a few more places than C actually.
package main; import "fmt"; func main () { if fmt.Println("jabba"); true { fmt.Println("shit") } }
30
Name:
Anonymous
2012-08-18 9:04
how else erlang program make fast?
31
Name:
Anonymous
2012-08-18 16:17
>>30
you cant make Erlang run faster, they tried making an Erlang compiler that compiled to machine code and it only ran slightly faster than the regular interpreted one
32
Name:
Anonymous
2012-08-18 20:16
Read le SICP.
33
Name:
Anonymous
2012-08-18 20:58
34
Name:
Anonymous
2012-08-19 9:53
FYI I just downloaded a ripped version of the Go Programming Language Phrasebook that seems to be helping.
Somehow it's sad, but I don't have the 25USD nor the time to wait for it.
35
Name:
Anonymous
2012-08-19 10:42
>>34
What is even sadder is that you think Go is a good language
36
Name:
Anonymous
2012-08-19 11:08
37
Name:
Anonymous
2012-08-19 11:16
>>35
I just think it's better than Python and Java
38
Name:
Anonymous
2012-08-19 11:29
>>37
Both of those are far superior to Go
39
Name:
Anonymous
2012-08-19 11:40
>>38
you mind telling me why?
Forced OOP is where I draw the line. And python has version bloat, I rage about it even when I am just a user not a developer.
Go could turn out to be worse, but you never know till you try it.
40
Name:
Anonymous
2012-08-19 15:01
>>39
If you'd bother to use them you'd actually know they're excellent languages, it's all about using the right tool for the job.
Newer Posts