C Board  

Go Back   C Board > Community Boards > General Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 06-06-2005, 02:36 PM   #1
Jez
The C-er
 
Join Date: Mar 2004
Posts: 186
Releasing code

O.K. I've written my "worlds fastest" life engine, and now I want to release it as open source. It's of no commercial value, but I don't want bad people to pass it off as their own work, or distribute messed-about versions with my name on it. I do want people to be able to use it as the basis for a complete program however.

So should I GPL it? Or just rely on copyright?

Any advice would be gratefully received.
Jez is offline   Reply With Quote
Old 06-06-2005, 03:05 PM   #2
Registered User
 
Join Date: Aug 2001
Location: Newport, South Wales, UK
Posts: 1,094
GPL ticks all your boxes with the caveat that the programs people derive from your work would also have to be open source. If you can dig that, that's fine. If you want people to choose whether or not for it to be open source, I think you want something more BSD-y.

Plagiarism won't be an issue so long as you make your release visible on Google. Of course, the XviD peeps once had a problem with someone nicking their code, IIRC.
SMurf is offline   Reply With Quote
Old 06-06-2005, 03:29 PM   #3
World Developer
 
Hesacon's Avatar
 
Join Date: Jun 2005
Location: NY
Posts: 11
A lot of people will ignore copyrights, and a lot of countries won't honor them.

Depending on how big your code is, add a few orphans in there that give you credit. You may want to disguise them so that they aren't obvious, but you can find them in the code to see if they stole it.
__________________
Develop worlds, click here.
Hesacon is offline   Reply With Quote
Old 06-06-2005, 04:11 PM   #4
Toaster
 
Zach L.'s Avatar
 
Join Date: Aug 2001
Posts: 2,686
Check out the list of open source licenses.

The BSD license does sound like the one you'd want.
__________________
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.
Zach L. is offline   Reply With Quote
Old 06-06-2005, 05:00 PM   #5
and the hat of marbles
 
Sang-drax's Avatar
 
Join Date: May 2002
Location: Lund, Sweden
Posts: 2,041
GPL is good. I don't see how GPL would alter the chances of people putting their name on your code, though. I also thínk lots of people are being ridiculously overprotective with their source code.

BTW, Is it world's fastest or "world's fastest"? Your sig and your post say two different things.
__________________
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
Sang-drax is offline   Reply With Quote
Old 06-06-2005, 06:33 PM   #6
Banned
 
nickname_changed's Avatar
 
Join Date: Feb 2003
Location: Australia
Posts: 986
You can't just "rely on copyright". By law in most countries (I'm guessing the US), anything you write is copyrighted by default, and no one is even allowed to run your code let alone view/modify it. All rights to it are reserved to you.

Thats why you need a license agreement, which basically spells out what rights you give to users of the application. Licenses like the GPL give users the right to run and compile your code, and to modify it, but usually under the condition that they offer to give back any changes they make that might benefit you (I believe).
nickname_changed is offline   Reply With Quote
Old 06-06-2005, 09:28 PM   #7
Crazy Fool
 
Perspective's Avatar
 
Join Date: Jan 2003
Location: Canada
Posts: 2,596
>>but usually under the condition that they offer to give back any changes they make that might benefit you (I believe).

Thats more or less right. It says that any derivitave work must be released under a compatable license. So, anyone that uses GPL code in their project, must distribute the source for their project under a license compatable with the GPL.
Perspective is offline   Reply With Quote
Old 06-07-2005, 03:32 AM   #8
Jez
The C-er
 
Join Date: Mar 2004
Posts: 186
Many thanks for all your input. I've never heard of the BSD licence, so I'll take a look at that. Obviously if someone really wants to rip me off in some way then I can't do much about it, but if it's in the public domain already then hopefully there's no doubt that "I got there first". The protection is moral I guess, not physical.

>BTW, Is it world's fastest or "world's fastest"? Your sig and your post say two different things.

Well it's a little difficult to quantify, but based on comparsions with Johan Bontes excellent Life32 program (engine written by Alan Hensel - generally acknowledged to be the quickest) its between about 0.75x and 20x the speed, depending on exactly which test. I had hoped it would blow Life32 away in all cases, but that's over-optimism for you. (Mind you V2.0 will have an advanced periodicity checking system which should help).

>I also thínk lots of people are being ridiculously overprotective with their source code.

I couldn't agree more. That's why I'm making it open source. For instance the Life32 code wasn't released, the author claims it's too complex (many thousands of lines of delphi + asm) to be useful for others to learn from. I don't really buy that. My hunch is that some people are afraid to let others see how bad their coding style is. My own code is quite small, only about a thousand lines or so. The algorithm will be fully documented too.
Jez is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enforcing Machine Code Restrictions? SMurf Tech Board 21 03-30-2009 07:34 AM
Values changing without reason? subtled C Programming 2 04-19-2007 10:20 AM
Obfuscated Code Contest Stack Overflow Contests Board 51 01-21-2005 04:17 PM
Interface Question smog890 C Programming 11 06-03-2002 05:06 PM
Who will map the scan code (inserted by VKD_Force_keys) to virtual key code? Unregistered Windows Programming 0 02-21-2002 06:05 PM


All times are GMT -6. The time now is 02:03 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22