News for hackers. Stuff that matters.
Re:Intro to (images in) Go by gamegoblin on Sunday October 13, 2013 @08:59AM (#6542444)
At a hackathon about 6 months ago I decided to write a seam carver [0] in Go. I had no previous Go experience (not even "hello world"), so it was entirely new to me. Not only did I find the language a pleasure to use, but I was supremely impressed by the standard library and its heavy support for image manipulation.

[0] http://en.wikipedia.org/wiki/Seam_carving

Re:Intro to (images in) Go by petercooper on Sunday October 13, 2013 @09:17AM (#6542491)
Would you say Go is an ideal language for potentially creating high performance graphical manipulation plugins? (Say, for Photoshop or similar.)
Re:Intro to (images in) Go by gamegoblin on Sunday October 13, 2013 @10:09AM (#6542627)
I wouldn't say it's that much better than alternatives. I find it quite a bit better designed than C++ or the like, but if you're very comfortable with C++ or something, I think it'd probably be equally easy to code things like graphical plugins in either language.
Re:Intro to (images in) Go by pjmlp on Monday October 14, 2013 @03:49AM (#6545949)
Currently not in a developer friendly way, given the Go designers stance against dynamic linking.

Not sure if 6g/8g compilers will ever support it.

So you need to communicate with the plugins via shared memory when doing IPC that requires performance.

Re:Intro to (images in) Go by pheelicks on Sunday October 13, 2013 @09:10AM (#6542467)
That was my impression as well. Have you published your seam carver anywhere?
Re:Intro to (images in) Go by gamegoblin on Sunday October 13, 2013 @10:11AM (#6542634)
No, and I'm currently travelling and it's on another machine than the one I have with me. That being said, I may take some time on one of my following flights to rewrite it. I wasn't too proud of the first iteration, anyway (being my first foray into Go).