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

Pages: 1-

Le C++ vs. Go

Name: Anonymous 2012-07-20 14:52

http://commandcenter.blogspot.ca/2012/06/less-is-exponentially-more.html

But the C++0x talk got me thinking again.  One thing that really bothered me—and I think Ken and Robert as well—was the new C++ memory model with atomic types. It just felt wrong to put such a microscopically-defined set of details into an already over-burdened type system. It also seemed short-sighted, since it's likely that hardware will change significantly in the next decade and it would be unwise to couple the language too tightly to today's hardware.

We returned to our offices after the talk. I started another compilation, turned my chair around to face Robert, and started asking pointed questions. Before the compilation was done, we'd roped Ken in and had decided to do something. We did not want to be writing in C++ forever, and we—me especially—wanted to have concurrency at my fingertips when writing Google code. We also wanted to address the problem of "programming in the large" head on, about which more later.

Name: Anonymous 2012-07-20 21:18

Uuuhh, no exceptions?

Name: Anonymous 2012-07-20 21:50

>sage
But you have defered my thread!

Name: Anonymous 2012-07-20 21:51

>>1
le
What are you? A frenchanus? Please cease and desist.

>>3
learn2quote

Name: Anonymous 2012-07-20 22:00

learn2nose

Name: Anonymous 2012-07-20 23:40

>>4
YHBT

Name: Anonymous 2012-07-21 4:02

>>4
>Implying frenchs put "le" everywhere.

Name: Anonymous 2012-07-21 4:04

>>7
Ah mais le con.

Name: Anonymous 2012-07-21 6:49

>>7
Retour sur les planches à images, \\ s'il-vous-plaît >> !

Name: Anonymous 2012-07-21 7:05

10 GET

Name: Anonymous 2012-07-21 8:04

check check chek

Name: Anonymous 2012-07-21 10:50

>>7
En pensant de la langue, je me sent comme je dois dire oui.

Name: Anonymous 2012-07-21 14:39

Leプローッグ

Name: Anonymous 2012-07-21 16:18

>>9
Va te faire foutre, pédé.

Name: Anonymous 2012-07-21 19:16

that feel when you thought Go would be a decent C alternative, but then GC and no pointer arithmetic...why even call yourself a systems language?

Name: Anonymous 2012-07-21 19:22

>>15
import "C"

Name: Anonymous 2012-07-21 20:48

>>15
You don't even need that for any userland applications (if you're programming a kernel, Go really is the wrong tool).

If you REALLY need pointer arithmetic (protip: you don't), you have the unsafe.Pointer type, into which you can cast any type and cast it into any type.

Otherwise, these things are perfectly acceptable for most, if not all, userland applications. The lack of pointer arithmetic only makes it harder for you to screw stuff up without sacrificing any real usefulness, while GC removes one of the most dreaded problem of C, memory leaks, at a negligible performance cost.

All in all, wanting pointer arithmetic in userland programs is misguided and ``no GC'' is premature optimization in most cases.

Name: Anonymous 2012-07-21 20:57

>>7
Back to the imageboards, ``please"!

Name: Anonymous 2012-07-21 22:02

>>17
Back to >>>/googlemarketing.com/, 66pronto99!

Name: Anonymous 2012-07-21 23:09

>>17
``you don't need it''
fuck you and fuck Go

Name: Anonymous 2012-07-21 23:28

lol

Name: Anonymous 2012-07-21 23:28

Le doubles

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