Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Go Programming

Name: Anonymous 2011-10-18 18:54

http://golang.org/

Is this language worth learning or looking into.

Name: Anonymous 2011-10-18 19:03

no


--- THIS THREAD HAS ENDED PEACEFULLY ---

Name: Anonymous 2011-10-18 19:21

>>1
Pros:
 + compiles to machinecode, thus easier to distribute your software
 + huge standardlib
 + relatively sane module system
 + fairly readable syntax
 + closures
 + implicit type declaration

Contras:
 + retarded enforcement of braces being on the same line as the expression
 + retarded 'strictly no parentheses' around if, while, for
 + code generation depends motherfucking entirely on a handcrafted C compiler + Linker, instead of using gcc, ld and co, resulting in non-conforming intermediate code, and makes the binaries non-debuggable with gdb
 + source repository uses a set of handcrafted bash scripts instead of a proper buildsystem, let alone makefiles, making a port to windows a total bitch
 


-- That said, you be the judge.
I wrote some stuff in Go, and found it nice to work with, but the part about parsing and code generation is a serious tradeoff, at least to me.

Name: Anonymous 2011-10-18 19:22

I've written some simple programs in it, I probably prefer it to using C.

I don't see it gaining mainstream traction if you care about that sort of thing. It's elegant for hobby projects though.

Name: Anonymous 2011-10-18 19:41

is worth looking.

C has so much baggage that carries until today. go is a new start of the C philosophy that has learned a little bit of the academia

Name: Anonymous 2011-10-18 19:46

>>4
elegant
Whenever I hear that word I'm reminded of how it means something incredibly different to different people. For example, "a conglomeration of caveats" (Pike et al. call them "conventions") is not what I would call "elegant."

Name: Anonymous 2011-10-18 21:06

>>7

+ retarded enforcement of braces being on the same line as the expression

That's a pro, not a con, idiot. That way fucktards can't write their non-kernel style bullshit.

+ retarded 'strictly no parentheses' around if, while, for

They are special forms; why add parens to them when they are completely unnecessary to keep the grammar unambiguous?

My real cons would be:

- Statements, why?
- Not homoiconic
- Pointers WTF
- Implementation-specific bullshit again, e.g. size of int
- Probably more

Name: Anonymous 2011-10-18 21:30

>>7
- Not homoiconic
Go away.

- Implementation-specific bullshit again, e.g. size of int
Fuck you, even in dynamic languages, fixed size integer types are necessary.

Name: Anonymous 2011-10-18 22:01

The language you all should be excited about is DASH. DASH is going to replace JavaScript, Java, C, and Lisp by 2013. I guarantee it.

Name: Anonymous 2011-10-18 22:16

>>8
Fuck you, even in dynamic languages, fixed size integer types are necessary.
He's not complaining about fixed size integers, he's complaining that the size of int depends on the hardware, to which I would respond:
1) The architectural decides the size of an int, not the programming language.
2) If you absolutely need an int that's the same size on all hardware, use Int32 or Int64.
3) The reason the register-sized ints are provided by default is because they're always the fastest to perform arithmetic on. All arithmetic is done on the CPU, whereas with big ints, something as simple as incrementing a for loop variable requires a long series of assembly instructions and multiple memory calls. Not a concern with scripting languages, but Go aims to be a fast, low-level language. My theory in fact is that Google is using it to rewrite Android.

Name: Anonymous 2011-10-18 23:28

<--- THE MOST NIGGER MATURE

Name: Anonymous 2011-10-18 23:49

>>11
You're not from around here are you?

Name: Anonymous 2011-10-18 23:58

>>10
>rewrite android

i don't think so but i would like to.

mainly because there is a fuckload of underlying software on android already written in C. and google being a company shouldn't be "fixing what isn't broken"

Name: Anonymous 2011-10-19 2:59

>>9
Fuck me that should be DART. DART is the language you should be looking out for.
Made by Google? Check.
Compiles to JavaScript? Check.
Totally a good name for a programming language? Fucking check.
2012 will be the year of DART on all imaginable platforms.

Name: Anonymous 2011-10-19 6:38

>>3
+ code generation depends motherfucking entirely on a handcrafted C compiler + Linker, instead of using gcc, ld and co, resulting in non-conforming intermediate code, and makes the binaries non-debuggable with gdb
I thought they had gcc working with Go?

Name: Anonymous 2011-10-19 8:25

>>15
the primary compiler is still their own one.

The GCC frontend is merely a halfassed port.

Name: Anonymous 2011-10-20 0:21

i'm not super familiar with go but one thing i like about it is no class-based nonsense. it uses interfaces instead, in a more traits/roles kind of way.

Name: Anonymous 2011-10-20 2:29

>>13
>google being a company shouldn't be "fixing what isn't broken"
Yes, but Oracle is suing the shit out of Google for like nine figures for infringing on JVM patents with Dalvik. Google started development on Go less than a month before to case went to court, and Go has supported the ARM processor, specifically Nexus One's, since the very beginning. The Go team has said they're not allowed to talk about what they're doing with Android, but they're clearly doing something with it.

Name: Anonymous 2011-10-20 8:19

>>16
GCC is halfassed in general, so I don't see the problem there.

Name: Anonymous 2011-10-20 8:19

>>14
Fuck me that should be [b][i][o]FART[/u][/i][/b]. [b][i][o]FART[/u][/i][/b] is the language you should be looking out for.
Made by Google? Check.
Compiles to JavaScript? Check.
Totally a good name for a programming language? Fucking check.
2012 will be the year of [b][i][o]FARTISM[/u][/i][/b] on all imaginable anii.

Name: Anonymous 2011-10-20 8:20

>>20
fuck

Name: Anonymous 2011-10-20 8:21

>>>20
b[o]B[u]COD[sup]E[/o][/u] [b][i][u][o]FAILURE[/b][/u][/i][/!!!!!![/sup]

Name: Anonymous 2011-10-20 8:38

>>20,22-san cannot into BBCODE

Name: Anonymous 2011-10-20 8:41

>>19
GCC as such is fine, as long as you don't have to deal with the back-end too much.

The problem is rather that the GCC port is inofficial, and Golang keeps using their own, shitty C Compiler.

And as far as I can tell, the only reason the goland folks are using their own compiler is because "it's faster", not because it's more... you know, portable.

As said before, Go is, in this current state, a serious bitch to port to anything else than Linux.

Name: Anonymous 2011-10-20 10:39

>>24
Compilation speed was one of the big selling points of the language.

Also Google rolled their own linker for gcc too, they use it to build Chrome. Their reasons being that ld was too slow / used too much memory.

Name: Anonymous 2011-10-20 10:50

>>25
The real reason was that they wanted to hide a shitload of spyware everywhere.

Name: Anonymous 2011-10-20 15:45

>>25
Also Google rolled their own linker for gcc too, they use it to build Chrome. Their reasons being that ld was too slow / used too much memory.
wtf?

Name: Anonymous 2011-10-20 16:13

Name: Anonymous 2011-10-20 18:24

>>28
Ian is the one Google developer I've had exchanges with who seems to have an ounce of humility.

Don't change these.
Name: Email:
Entire Thread Thread List