News for hackers. Stuff that matters.
Re:Vitess: Scaling MySQL databases for the web by canop_fr on Wednesday February 29, 2012 @06:29AM (#3647403)
Interesting comments (in mysql.go) :

    // Muahahaha
    func strlen(str *C.char) int {
            gstr := (*[1 << 30]byte)(unsafe.Pointer(str))
            length := 0
            for gstr[length] != 0 {
                    length++
            }
            return length
    }
BTW, is Google planning to make a proper mysql driver in go (implementing database/sql API and not unsafe) ?
Re:Vitess: Scaling MySQL databases for the web by enneff on Wednesday February 29, 2012 @06:18PM (#3650222)
Here's a list of database/sql drivers: http://code.google.com/p/go-wiki/wiki/SQLDrivers
Re:Vitess: Scaling MySQL databases for the web by canop_fr on Friday March 02, 2012 @02:14AM (#3655718)
Yes, that's the driver I'm using. But my question was related to the fact that Google seems to have made (see source) a partial mysql driver, so I was wondering if they were planning to make it database/sql compatible.