Page 1 of 1

OSDev Tutorial License

Posted: Fri Jan 31, 2014 8:26 am
by inixsoftware
I have been borrowing & adapting OSDev tutorial code, and I'm wondering how the tutorial code is licensed (GPL, LGPL, Public Domain, etc) as so to comply to it and heed to the license when I release my own source code (and complied code).

Thanks!

Re: OSDev Tutorial License

Posted: Fri Jan 31, 2014 8:30 am
by sortie
The code on wiki.osdev.ofg is CC0 unless specified otherwise. In fact, nobody will really care if you copy snippets off the wiki.

Re: OSDev Tutorial License

Posted: Fri Jan 31, 2014 8:34 am
by inixsoftware
Thanks!

Re: OSDev Tutorial License

Posted: Fri Jan 31, 2014 9:13 am
by bluemoon
As a side note, codes from tutorials are for learning purpose, it is very likely not suitable for any serious work.

Re: OSDev Tutorial License

Posted: Fri Jan 31, 2014 4:12 pm
by neon
I have been borrowing & adapting OSDev tutorial code
That is a bad habit to be dropped ASAP. That type of thing might work well for some other projects, but I assure you that it does not work well for OS development. There is always a threshold; a point of no return; when you will have to be completely self reliant. And if you don't understand your own code very well (you don't from copying and pasting) you won't stand a chance.

Copying and pasting code does not even guarantee that the code you copied is valid or correct, even if it appears to work on some machines.

Re: OSDev Tutorial License

Posted: Fri Jan 31, 2014 4:22 pm
by sortie
Indeed. It's also worth remembering that when you copy code, even if it is correct and you understand it, it might not be good code. I'm still removing the last pieces of bad tutorial code from my OS, going on for the third year.

Re: OSDev Tutorial License

Posted: Fri Jan 31, 2014 9:51 pm
by inixsoftware
Yes, I do understand that. I just copied some code to start off (e.g. bare bones tutorial), but don't intend on making my OS 100% based off of tutorials & copied code (as there are many possible issues as mentioned before)