mcostalba wrote:diep wrote: As for algorithmic improvements, AFAIK stockfish falls under GPL, not LGPL, so means any change you do to it you should make public as well.
No this is not correct. In case of a modified GPL software the developer (or the owner as in this case) should make public the modified source only if he makes public the binary. IOW in case he keeps the porting for private use he doesn't need to do anything to comply with GPL.
But this was the easiest part that (almost) everybody understands (you don't now as well you didn't when a similar case arose for our private 'tuning' branch). The tricky part is another: what about a porting from GPL sources ?
In this interesting case there is no a single line of C# that is 'copied' verbatim by the C++ counterpart, so does the GPL license applies also in this case ?
Much depends upon which factual GPL you put on top of the version that David ported. Seems he already was posting about porting around 2011 and referrals to a chessprogram towwards C# i see of him februari 2010. Maybe David wants to shine a light there. So he's been busy quite some months, around a 24+, to port as it seems now.
As for the GPL i would guess, but i'm not a lawyer, that it does apply as it is a literrally port and also promoted as such as he is doing the speed claim of C++ versus C#.
Actually he did make results public of it, legally it might, depending upon which court in which nation, not matter whether he also released the managed code in this case (whether that's a binary is yet another question), claiming it's roughly 50% faster or slower ,w hich has a huge impact, making releasing the code very important to verify that claim.
Lucky David very quickly posted on how he tested things, which of course gives him some credits. Also David wrote about intending to release the entire code, which will make him a hero to some people who toy in C#.
Strictly speaking Marco, the GPL rules are much tougher and restricting than usually gets used; just of course as computerchess is hardly about money, and more about governments injecting money and consultants who try to get paid by government organisations, that such claims seldom get fought out in court.
If i may remind you that within the linux community we had some great x-windows type codebase, then suddenly becasue of some parts falling under a different owner basically all that was lost for linux, putting it back 15 years in time or so, with the current ugly x.org (which eats massive RAM and is duck slow) as a replacement; so if you throw big cash at it, enforcing rules can have far reachign implications, much further than anyone so far has ever interpreted them within the chess community where not too many dogfights about GPL have been fought out so far.
Kind Regards,
Vincent