Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We had about 3 or 4 guys full time. On my silly little i3 laptop, the whole codebase builds in 18 seconds - I suspect most of that is our C extensions.


C extensions because something you wanted wasn't in go? Are you using cgo to build?


Yeah, we actually have a few cgo packages. We have OpenSSL bindings (we need to use our hardware accelerated crypto, go's crypto/tls lib doesn't support that (yet)), a faster CRC thing, we needed monotonic clocks and couldn't wait for Go 1.3, etc.

We'll be releasing a bunch of these. Particularly the OpenSSL bindings, which even without hardware acceleration are faster than Go's TLS library, and despite Heartbleed, OpenSSL is not vulnerable to timing attacks like crypto/tls is.


Presumably, because they were doing it line by line, and the Python version used C extensions (for performance reasons).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: