tag:blogger.com,1999:blog-3099671593541938429.post4189257426644286542..comments2023-06-09T06:49:50.008-07:00Comments on Grammerjack: A Multi-threaded Go RaytracerJack Palevichhttp://www.blogger.com/profile/03007259254321602946noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3099671593541938429.post-20479238234493287282009-11-24T19:34:20.657-08:002009-11-24T19:34:20.657-08:00No worries, I intended the code to be open sourced...No worries, I intended the code to be open sourced, so you're free to develop it any way you like. Glad to hear it inspired you to write some good go code!Jack Palevichhttps://www.blogger.com/profile/03007259254321602946noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-24073651470552996472009-11-12T15:46:40.524-08:002009-11-12T15:46:40.524-08:00I managed to improve the speed by about 60% ( on a...I managed to improve the speed by about 60% ( on a single core ), bringing the rendering speed down from 2.0s to 1.3s.<br /><br />Also I noticed that go gets sluggishly slow if pointers are used for the vector math, I could even nail down a single function that will cut the speed in half.<br /><br />As I intend to post it on the mailing list, and data needs to exchanged, I created a project on gitorious: http://gitorious.org/gotracer.<br /><br />I mentioned your name everywhere, hoping to make sure authorship is clear. If you truly dislike that please let me know and we will figure out a solution :).<br /><br />Kind Regards.Unknownhttps://www.blogger.com/profile/01051917768508491248noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-16159438871640389702009-11-11T01:07:05.508-08:002009-11-11T01:07:05.508-08:00Neat! Glad you liked it.Neat! Glad you liked it.Jack Palevichhttps://www.blogger.com/profile/03007259254321602946noreply@blogger.comtag:blogger.com,1999:blog-3099671593541938429.post-356660320939723192009-11-10T22:49:59.566-08:002009-11-10T22:49:59.566-08:00just tried it on my first gen macbook with 32 bit....just tried it on my first gen macbook with 32 bit.<br />works great! thanks for the code<br /><br />MacBook:gotracer sebi$ GOMAXPROCS=1 time ./gotrace<br /> 4.98 real 4.96 user 0.02 sys<br />MacBook:gotracer sebi$ GOMAXPROCS=2 time ./gotrace<br /> 2.60 real 4.96 user 0.02 sys<br />MacBook:gotracer sebi$ GOMAXPROCS=3 time ./gotrace<br /> 2.60 real 4.96 user 0.03 sysSebastianhttps://www.blogger.com/profile/01206711978884883504noreply@blogger.com