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

Pages: 1-

So is go 1.0 finally useable?

Name: Anonymous 2012-04-15 10:24

I've read they ditched GNU make in favor of something more suited.

I am tempted to try it but am still traumatized from my last attempt.

Name: Anonymous 2012-04-15 10:25

go back to /b/ please

Name: Anonymous 2012-04-15 10:26

Have you tried something like Scons or Cmake?

Name: Anonymous 2012-04-15 10:27

>>2
>>3
NO

Name: Anonymous 2012-04-15 11:20

>>4
Why not?

Name: Anonymous 2012-04-15 11:26

C++11 is better.

Name: Anonymous 2012-04-15 13:15

go can't be used on 32bit machines.

Name: Anonymous 2012-04-15 13:53

Go could always be used on a 19x19 board.

Name: Anonymous 2012-04-15 13:55

>>7
You misread that bug report. It can't be used on anything, not just 32-bit. 64-bit isn't safe either.

Name: Anonymous 2012-04-15 14:37

Name: Anonymous 2012-04-15 14:53

dubs

Name: Anonymous 2012-04-15 14:57

>>9
It's usable on 64 bit for applications that aren't long lived since constants are less likely to collide with heap pointers.

So for its target audience it's completely worthless, I don't know why someone would expect much from a toy either way though.

Name: Anonymous 2012-04-15 15:39

Go is a broken piece of shit.
https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/qxlxu5RZAl0
You are right about the fact that it is an issue for long-running 32-bit programs. It may be possible to improve the situation by adhering to the following rules throughout your program:

- avoid struct types which contain both integer and pointer fields

- avoid struct types containing arrays such as [100]byte (replace it with *[100]byte or with []byte)

- avoid data structures which form densely interconnected graphs at run-time

- avoid deep call chains at run-time

- replace pointer identity with value equivalence (this can lead to a more explicit memory management in your program)

- if a data structure contains both long-lived and short-lived fields, move the short-lived fields into a separate data structure or into local variables of a function

- avoid integer values which may alias at run-time to an address; make sure most integer values are fairly low (such as: below 10000)

- if you are using caches to speed up your program, apply the rules mentioned here to redesign the cache. It may also help to use strings instead of structs as map keys.

- lower the overall memory consumption of your program

- carefully speed up your program (this may lead to a lower memory consumption in certain situations)

- call runtime.GC()  (at the right moment)

Name: Anonymous 2012-04-15 15:43

>>13
All those points are pretty funny, but they would be better if you added some emphasis in the right places, here I'll show you.

- class runtime.GC() (at the right moment)

Name: Anonymous 2012-04-15 17:41

Go's GC gives GC a bad name.

Name: Anonymous 2012-04-15 21:53

GC is shit.

Name: Anonymous 2012-04-15 22:45

>>16
You are a fucking faggot.

Name: Anonymous 2012-04-16 11:13

>>15
They also force you to use it, it's completely non-optional, you can't free memory manually so you're instantly fucked.

Name: Anonymous 2012-04-16 11:53

What's the difference between Haskell and Go?
Haskell is a toy functional language. Go is a toy dysfunctional language.

Name: Anonymous 2012-04-16 14:33

>>15
- Jon Bon Jovi

Name: Anonymous 2012-04-16 14:34

>>19
You can't call it a toy language just because it's still somewhat domain specific.

Name: Anonymous 2012-04-16 15:37

Go's GC was never intended to be final, just a stopgap until some awesome GC from IBM could be used. Unfortunately IBM still hasn't completed it, so for now we're stuck with the crappy one. The GC's behavior is an implementation detail, not part of the language spec; it can (and undoubtedly will) be changed later. Further, the authors were clear that "1.0" didn't mean "nothing left to do," but just that 1.0 code should continue to be backwards-compatible with subsequent versions (something that the earlier releases did not guarantee.)

Name: Anonymous 2012-04-16 16:11

>>22
GC is great. Golang is shit. Nice doubles. You're shit.

Name: Anonymous 2012-04-16 16:12

>>23
Great argument.

Name: Anonymous 2012-04-16 21:22

>>24
fuck off and die dipshit fag

Name: bampu pantsu 2012-05-29 4:26

bampu pantsu

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