3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
As of 1.1 Go code generation is also drastic improved. I would love to see Go 1.0.3 vs Go 1.1 vs GCCGO tests with a wide sample of programs.
comment 13y ago · link · parent
Not only that, but is vocational training adequate to create citizens equipped with the skills and knowledge to make them capable of analyzing the policy decisions voters in a modern democracy must consider? Some people will claim the traditional college system has failed in this regard, but they are confusing failure with lack of perfection. I'm sure not every citizen needs to go to college to have these skills, but I think most do, and this is especially important in regressive regions of the country.
comment 13y ago · link · parent
I have a friend who went to a Mono talk at MS MIX where a Mono developer was speaking. The Mono developer said that while Mono is a little slower than .NET (and he was talking a couple percent) Mono often ends up being faster on the same hardware because the Linux system calls the runtime uses are faster. There were a few ROFLs in the audience.
I also agree with you that investing in a .NET (Windows) test isn't good bang for the buck here.
comment 13y ago · link · parent
I make that last point because I think new people coming into large C++ projects often take longer to ramp up and understand the code than in large Java code bases. But that is purely anecdotal.
comment 13y ago · link · parent
comment 13y ago · link · parent
The Go code size is pretty small, in fact it might be smaller than the Rails code... I'm still trying to find all the Ruby files, Go is in one file...
comment 13y ago · link · parent
comment 13y ago · link · parent
Sure it is, if you are leaking goroutines you will see an every increasing count, even when your app is idle if the count doesn't return to the proper baseline then you know you have a problem.
If you start a goroutine should should have a plan for terminating it. If you don't have a natural way like the life cycle of handling a request then you need to use channels (defer/close are your friends), waitgroups, condition vars etc. I work on some fairly large Go applications and this hasn't been a pain point.
comment 13y ago · link · parent
It is also pretty easy to detect by this (or something better), which might be handy in a big program: http://play.golang.org/p/XmKfgQ4TmS
comment 13y ago · link · parent
Outside of the "dangling reference" issue above "leaking" in a GCd language is non-trivial. Here is a related Java discussion: http://stackoverflow.com/questions/6470651/creating-a-memory... . Also note Go doesn't have ClassLoader or class static fields.
comment 13y ago · link · parent
http://dimitrik.free.fr/blog/archives/2013/02/mysql-performa...
comment 13y ago · link · parent
1. moving a break point
2. recompile
3. run
4. stopping at new break point
I think that happening behind the scenes could be made to appear like live editing in other languages. Go is fast enough compiling and fast enough executing that I think it could be pulled off as not appear laggy as well. But maybe I'm wrong and I don't understand well enough how LT handles other langs.comment 13y ago · link · parent
Also if I am figuring out something OBO (off by one) prone sometimes I use this to double check myself: http://play.golang.org/