I love go, and do play with it @home, but won't use it @ work yet, for two reasons. The first is the lack of LDAP support.
With so much infrastructure (not just ours, but corporations worldwide) needing LDAP based authentication and access control, it's a core need for us. And our daemons not only read the LDAP, but add, modify, and delete accounts held therein as well. The second is more minor, but the lack of major IDE support hampers it's use a little I think, and especially in team settings. Not just the syntax highlighting or even code completion, but the IDE's ability to "build" the program without people fiddling with make files makes using an IDE very useful.Having said that, it's a matter of time, and I'm watching closely because I'd love to start replacing some of our "back end" infrastructure with "daemons" written in go. Oh, there's another (admittedly) minor problem, the lack of true "daemonization" available through go.
cheers,PaulOn Fri, Mar 30, 2012 at 10:27 AM, hampton catlin <hca...@gmail.com> wrote:
Just thought I'd stop in and post something saying "hi" to the group.
I work at
Moovweb where we power some of the biggest e-commerce sites' mobile
experience
on our platform. Our platform has super strong demands on it and our
business is
growing at a nearly exponential rate.
This past summer, I made the decision to switch all of our internal
software to Go
after being persuaded by our Senior Architect, Zhigang Chen.
Makefiles are gone. "go build" is where it's at.
> Oh, there's another (admittedly) minor problem,
> the lack of true "daemonization" available through go.
daemontools is a good solution for this. It does the daemonization and
restarts the service automatically if necessary.
--Benny.
from Kyle:
>and know that in 32-bit there be dragonsare there still issues in go1?
does anyone know of any links to know issues on 32-bit?
I already know about issue "909".
I have a Go program running on a 32-bit Linux that I don't think I can
change to 64-bit.
so far no problems, but it has not been running long and it is a very
small program.
Haven't gotten around to cleaning it up, fully documenting etc, but
https://github.com/jmckaskill/goldap does have the basic protocol and
search going. I wrote it up awhile ago so that I could do kerb+ldap
authentication/authorization against an active directory server.
Adding add, modify, and delete commands should be fairly straight
forward.
-- James
I love go, and do play with it @home, but won't use it @ work yet, for two reasons. The first is the lack of LDAP support. With so much infrastructure (not just ours, but corporations worldwide) needing LDAP based authentication and access control, it's a core need for us. And our daemons not only read the LDAP, but add, modify, and delete accounts held therein as well.
>
> I have to admit, I'm a bit of a purist. :) And yes, in a pinch I could do that I suppose. But each time you fall back on that approach, I think you lessen the argument for going with go in the first place, just a little bit. When I get a chance I'll take a look at what James has (posted in this thread), but for now I'm using go on personal projects to learn and come up to speed and work will just have to wait.
Amusingly enough, I actually initially started out with a wrapper around openldap, but quickly found it a pain to work with and rewrote it in go [1]. Specifically getting a pure go kerberos and cyrus-sasl to talk was annoying. The only way I could come up with was to write the credential out to a credential cache and then set an environmental variable to tell cyrus where to find it. This was really problematic if you had multiple kerberos credentials in multiple threads.
[1]: https://github.com/jmckaskill/goldap/commit/019ffe767f3314b7351f9e2bd2b85cb792622bf8
-- James