Why don't you share your code?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Why don't you share your code?

I am comercial (or willing to be)
2
14%
It's a mess, it wouldn't be usefull to anyone
3
21%
It's private, it would be like sharing my private correspondence
2
14%
I don't want anyone else to take advantage of my own ideas
1
7%
I guess open source code is harmful
5
36%
Just didn't think about it / it was an option
0
No votes
Just don't know how to do it properly
0
No votes
I guess it just doesn't deserve the effort
1
7%
 
Total votes: 14

User avatar
pocopito
Posts: 238
Joined: Tue Jul 12, 2011 1:31 pm

Why don't you share your code?

Post by pocopito »

Hi all

First of all I want to make clear this is not meant to be a "pro free software" post, or a try to convince people to change his/her mind, but it just comes out of curiosity. For example, till a few years ago I could have checked various of the options (I'm thinking of "just didn't know it was an option" or "I'm not quite proud of it").

Of course, in the case of the commercial chess engines (to stick to the forum topic) the question is unnecessary, but I guess this is the case of just a few engines, and it seems that exist lot of engines that are out of this category that keep private.

And, why not, the "complementary" poll could be interesting too (Why do you share your code?)

Best regards

E Diaz
Two first meanings of the dutch word "leren":
1. leren [vc] (learn, larn, acquire) acquire or gain knowledge or skills.
2. leren [v] (teach, learn, instruct) impart skills or knowledge to.
User avatar
hgm
Posts: 27795
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Why don't you share your code?

Post by hgm »

Mostly I keep sources closed to prevent people from modify it for uses I disapprove of, which would degrade its performance. Like making UCI versions of my WB engines to run them in an inferior GUI, which do not support all their features.
ZirconiumX
Posts: 1334
Joined: Sun Jul 17, 2011 11:14 am

Re: Why don't you share your code?

Post by ZirconiumX »

There needs to be an 'other' option - I haven't really got any code to share at the moment - but when I do - it will be GPL. Probably.

Matthew:out
Some believe in the almighty dollar.

I believe in the almighty printf statement.
mar
Posts: 2554
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Why don't you share your code?

Post by mar »

I too miss some options:
- There are enough very strong opensource engines already so why bother
- To not support copycats who ruin competition (you would be surprised that copycats exist not only on top level)
- Others may laugh upon you when you release a messy code :) (no problem if you don't give a s**t)
- Going opensource is irreversible
Even though I like open source, CC is very special in this regard.
I think that sharing ideas is the way to go IMHO.
If I ever write a new engine, it's sources will be closed. That's for sure.
I regret I went opensrc with cheng3 - it was pointless + my code is(was) very very ugly so I only made a fool of myself.
User avatar
Graham Banks
Posts: 41423
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Why don't you share your code?

Post by Graham Banks »

mar wrote:..I regret I went opensrc with cheng3 - it was pointless + my code is(was) very very ugly so I only made a fool of myself...
With who, Martin?
Certainly not with those of us who enjoy using your engine. :wink:
gbanksnz at gmail.com
mar
Posts: 2554
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Why don't you share your code?

Post by mar »

Graham Banks wrote: With who, Martin?
Certainly not with those of us who enjoy using your engine. :wink:
Thanks Graham but don't get me wrong - I was talking about the source.
Ugly source is very hard to maintain, has zero value for others as it's cryptic, that's it.
I don't regret releasing the engine itself, in fact it surpassed my expectations.
User avatar
smrf
Posts: 484
Joined: Mon Mar 13, 2006 11:08 am
Location: Klein-Gerau, Germany

Re: Why don't you share your code?

Post by smrf »

One simply could talk about ideas, so there is no need to share source code.

Here a lot of people are interested in compiling the strongest engine. But
for me new ideas are of top interest. Such approaches mostly do not start
within the level range of star programs', thus unfortunately being ignored.

At least I do not see any need for to support enabling any copy and paste.