If the world really needs better algorithms: it can pay for them. That's called a trade, something where both parties win... and if they don't, one party or the other walks away. What this discards is the immoral idea that you can only be good by becoming some sacrificial animal that discards his own needs in favor of others.
Oh... and by the way... you can sometimes advance your own interests by NOT charging them for your work; a lot of open source actually does work this way in practice (even if self-benefit is not the motivating factor for many). Trades are not always monetary.
As a computer programmer and an open source software enthusiast, believe me when I say that I would love to contribute every line of code I write to open source. Not because of any moral imperative, but simply because I'd love for my work to be widely distributed and used. Unfortunately, it's incredibly difficult for a company of one to pull that off (but not impossible -- see Mike Pall, for example, though I have no idea how much money he actually makes (made?) via LuaJIT). If I could work on nothing but my open source software without needing to sacrifice my (already rather modest, really) quality of life, I would tender my letter of resignation in the morning. People don't even want to pay for software when it's not available for free: I have a very hard time imagining that they'd be willing to pay for software that is free.
I just don't see any way I can make it work, at least not right now. Maybe once I've got more of a financial safety net set up, I'll give it a shot or two, but for now I'm content to develop proprietary software for The Man™ in exchange for a monetary salary. I do try to squeeze in bits of open source development wherever/whenever I can, and that'll have to be good enough.
I never said it is bad to put yourself first. You're free to do whatever you want with your work, because this work is yours. If anyone against they can make an alternative. There's no sum and the choice is huge starting from "you" and ending with "others", pick any point of this range.
That would be great to have this algorithm open sourced.
And it is sad to see how this went from "Unfortunately not open source" to "people need to eat". Also, please note that this company is $1.37M in sales (http://www.hoovers.com/company-information/company-search.ht...). So it is not about "eat" only.
Even considering lower gamedev salaries that's not a ton of revenue for one of the top middleware companies in an industry. Given east-side salaries I don't know if you could support more than 8-10 people on that revenue.
Or in the words of The Oatmeal: http://theoatmeal.com/comics/exposure
And, yes, you're right: good does not feed your family.
https://s-media-cache-ak0.pinimg.com/736x/19/d3/b0/19d3b0b76...
And sure, you're right "Plenty of people make a living doing things that help the world.", but why this "Kraken" is not Open Source then?
Disclaimer: it is a discussion, I don't try to blame RAD Game Tools for not releasing the source of Kraken. Just curios of what others think.