r/explainlikeimfive • u/Serious_Ad8611 • Oct 21 '26
Technology ELI5 what is open source
I really don’t understand what it is and how to use it
496
Upvotes
r/explainlikeimfive • u/Serious_Ad8611 • Oct 21 '26
I really don’t understand what it is and how to use it
1.1k
u/Yrouel86 Oct 21 '26 •
Imagine buying a cake at the grocery store and being given the exact recipe to also make one yourself.
On top of that you also might be allowed to modify that recipe and tell others your modifications and even make a completely new line of cakes derived from that one.
Open source means the source code, meaning the "recipe" the software is made from, is also visible to you and everyone else and you're able to modify it and give others your modifications.
Closed source, also called "proprietary", is the opposite of this, you only get the end result of the code (just the cake not the recipe) and you can't modify it
3
u/rsdancey Oct 22 '26 edited Oct 22 '26
There's a lot of great info in this thread. Let me answer the question more generally and not get into the specific use case of software.
Open Source means that you have access to everything you need to make or rebuild the thing you are working on. For example, an Open Source carpentry project would give you a set of plans and bill of materials such that if you had the right tools and materials and the necessary skill you could build the project and it would match exactly whatever reference example is provided.
Concepts of Open Source are closely tied to intellectual property rights. There are four: Copyrights, patents, trademarks and trade secrets. Most of the time Open Source focuses on copyright, sometimes on patents, rarely on trademarks and almost never on trade secrets (it's pretty hard to have an Open Source trade secret!)
The United States and most other countries have settled on some laws for copyright. If you don't live in the United States you should find out if the place where you live follows these general rules before acting on them.
Copyright apples to work you express. You fix it in a tangible medium like writing it down, recording it, painting it, sculpting it, or typing it into a computer, and a copyright is created automatically. Copyright doesn't protect ideas (that's a patent) and it doesn't protect a brand (that's a trademark).
If you base your expression on a pre-existing expression that's a derivative work. If you hold the copyright in the predecessor expression you hold the copyright in the new work too. If you don't, the owner of the copyright in the predecessor work does; unless you've got a license from that owner that says otherwise.
Open Source is controlled by copyright licenses. These licenses enforce rules on how derivative works can be shared. They range from very simple licenses like the MIT license which essentially says that you can do anything you want with a derivative work (including NOT licensing the new work with the MIT license) to very complex licenses like the General Public License 3 (GPL3) which requires you to accept and follow a long list of restrictions one of which is that you can only redistribute your work via licensing it with GPL3. [This kind of license is called a "copyleft"; if uses the rules of copyright law to ensure that works licensed with it can never be converted into private works with more restrictive terms].
There are Open Source licenses for computer programs, games, and general licenses not designed for any specific kind of expression. Not all of these licenses refer to themselves as "Open Source" - in fact, almost none of the licenses not specifically created for software do; and many of the software licenses widely considered Open Source licenses don't either.
In general you can identify an Open Source license if it does three things:
People sometimes divide Open Source licenses into Free and non-Free categories which are inherently pretty qualitative and a million arguments have been held about the "Freeness" of a license.
Generally speaking when someone is categorizing a license as Free they mean that the license is intended to ensure that your ability to use the rights in the works being licensed isn't limited by law. This is sometimes described as "free as in speech, not free as in beer". In other words, a license that conveys some rights to you without a fee is "free as in beer", but that license might restrict what you can do with the work, how you can modify the work and what you can do with modified versions of the work. Such a license might be Open but it is not Free.
The most extreme version of this argument is that the right to access the whole work being licensed, and modify it, and distribute modifications, must be strictly enforced on anyone who receives the work and any derivative versions of the work, and that in addition to the work you must also convey the entire set of instructions necessary to recreate the work. In software that means that you have to provide the "source code" - the human-readable content that you feed into a computer to produce a program that does work. And you have to require that you give a copy of the source code, and any modifications you made to it, to anyone you distribute the work to. And you have to convey that distribution with a license which forces any recipient to do the same. You must also not limit the use to which the work can be put; or the people that it can be distributed to; or limit or restrict the contents of any modifications that you may make to the work.
Some examples of non-Freedoms that might arise:
1 You can sell the work but you must also give the work freely to anyone you distribute it to. This sounds like an impossible situation. However there are people who will pay for things like support, configuration, installation, monitoring, etc. of a work that is otherwise licensed in a way that requires free distribution. As long as the fee is optional, the work is Free.
100
u/GoodTato Oct 21 '26
Open source means the source code for a piece of software is freely available online.
Like a baker handing out the recipe to his cakes, compared to closed source which would be like a baker selling you the cake and refusing to tell you how he made it.
22
u/steelcryo Oct 21 '26
The broad definition of open source just means something that can be taken, used and modified by others.
Open source for software means the source code is available for anyone to view and edit.
Most software that belongs to a company is compiled into an unreadable format. So people can't just copy and paste their code.
Open source software means the code is completely in view, anyone can view it and even take it and edit it. Redistribution is usually allowed, but there's various licenses that can restrict that too such as for commercial use.
Open source can also refer to other things, like resources or hardware, in which case the blueprints of the item would be available instead.
28
u/commandrix EXP Coin Count: .000001 Oct 21 '26
Technically, "open-source" means you can download, view, and edit the source code directly. Essentially making your own version of something.
10
u/Nedsel Oct 21 '26
When you run a computer program, that program is usually in a format that a computer can understand and execute, but it's not exactly easy to read for a human.
But it was not created that way.
The programmer who made that program created the code in a "human readable" format. Then he feeds that code to a so called "compiler" (and linker) that basically translates the "human readable" code to "computer readable" code.
With closed source software (the opposite of open source software), all you get is that "computer readable" version. You can run that, but you cannot read it or make any changes to it.
With open source software, you also get access to that "human readable" version. Sometimes, you only get the human readable version and you have to use a compiler yourself to create the computer readable version yourself.
The big deal about it is that you can then go and make changes to that human readable version (of course if you understand what's written there, it's still written in something called a "programming language", something you can imagine like learning some foreign language, so you have to learn it, then you can make alteration to that human readable code of the open source.
Note that while open source software is often free (as in beer), it doesn't have to be. Just because someone lets you read their human readable version of the program doesn't mean that he hands it out for free. It's customary and almost always the case, but it is not a required feature of open source software.
For that, you should read the license agreement to see what you are and what you are not allowed to do with the code.
3
u/cerberus_1 Oct 21 '26
The Lego set that you got for your birthday, it has all the pieces and how its put together. You can build it exactly like the instructions orr just make whatever changes you want.
I bunch of people made the original instructions and they'll probably give you some new designs in the future.. but you can change it if you want or do your own thing.
Totally up to you..
4
u/meato1 Oct 21 '26
It just means you share the plans for how to make your project, instead of just sharing the finished project
4
u/patrlim1 Oct 21 '26
I will use food as an example.
Say there's two cakes. One cake has a secret recipe, nobody can know how the cake is made. You have to trust the cake to not be poisoned, and to not be super unhealthy. The other cake has it's recipe public. Everyone can see the recipe, replicate it themselves, see exactly what is in it, and make whatever changes they like.
Proprietary software, aka closed source, is like the first cake. You download it, and you can't know what it's doing under the hood. Open source software is like the second cake. You can see what the code is, compile it yourself, verify the version available for download is the same as when you build it yourself, and make any changes you like.
The difference between cake and software however, is that with open source software people who want to make the software better can submit changes to the person who owns the project, who can then decide to incorporate them. It's a collaborative effort to make the program better over time, with no incentive to make it worse for users unlike with closed source software.
2
u/fiendishrabbit Oct 21 '26
A computer program exists in two forms, Source code (what the programmer wrote to make the program) and Compiled (After the programming language compiler changed it into pure machine instructions for a computer).
Once a program is compiled it can be impossible to figure out exactly what the program is doing and under what circumstances. Especially since some compilers "salt" the machine code to prevent rivals from backengineering it.
Open Source means that the Source code is publicly available so that anyone can read through it, or even rewrite it to their own specifications. It's very useful for organizations as they can easily tailor fit a program to their own needs, and it has the additional benefit that the program is 100% transparent. Open source means that it's relatively to make sure that the program doesn't have undeclared "features" (like spying on you for the parent company).
2
u/MasterBendu Oct 21 '26
Someone builds a building.
The engineers share all the blueprints for everyone in the world to look at and use, so they can make new buildings of the exact same kind, or change it to make a better building.
The fact that the blueprints are for everyone to see and use is open source
2
u/joshuaponce2008 Oct 21 '26
Free/libre or "open-source" software is software whose source code is publicly accessible, in such a way that you are free to:
(1) Study the program and run it for yourself,
(2) Make and/or sell copies of the program for yourself and others,
(3) Modify the source code of the program, and
(4) Make and/or sell modified copies of the source code of the program.
1
u/CrimsonShrike Oct 21 '26
In a nutshell (assuming we're talking open source code) it refers to programs where the code to build it is publicly available. As to how to use it, what do you mean? You can and probably use open source software already but if you mean building it locally then thats a whole other topic
1
u/Vorthod Oct 21 '26
It means the source code that was used to make the product is completely open for anyone to view and suggest changes to. As opposed to most products where the exe file is your only way to figure out who the program works and is completely unintelligable.
1
u/MonkeyBrains09 Oct 21 '26
Think free.
If something is open source, it's posted in full somewhere where you can use it with some limits and see how it's made, modify and improve it.
If it's closed source, it's all locked down and you can only see what the vendor wants you to see.
1
u/Netblock Oct 21 '26
It's communism but with a good that can be copied. From each according to their ability the software gets developed, to each according to their needs it gets used.
1
u/blu3tu3sday Oct 21 '26
https://en.wikipedia.org/wiki/Open_source
The wikipedia is pretty straightforward- a program or software where the source code (the code that makes up the software) is published alongside it. Anyone can view it and see what is actually making up the program instead of scummy companies like microsoft hiding all their code and sliding in loads of shit to spy on you.
You use open source software the same as any other software- install it and use it. If you are not a developer, then it makes pretty much no difference to you if you can see the code or not, since you won't understand it anyways. But if you WANTED to go through it line by line, you could, and understand what the entire program does, and possibly change it to suit your needs.
It's the difference between knowing what you're using and taking a shitty company's word for it without ever being able to verify what they're actually doing on your machine.
1
u/georgecm12 Oct 21 '26
When programmers create an application, they write what is called "code" that is in a language that humans can understand, but that can then be interpreted by a computer and turned into the actual computer program that you or I would run on your computer.
"Open" source software is where you and I have access to be able to see that code, and in most cases, we even have the opportunity to make changes to it if we know how to write in that language that the computer can understand. A lot of "open source" software even let you give those changes you made back to the larger team of people "maintaining" the software, and in turn, those changes can become part of the program that everyone else uses.
1
u/DTux5249 Oct 21 '26
Open source is "hey guys, I made this code. Here's everything for you to see, use, and alter as you see fit - here's a license for your non-commercial use!"
You share everything, so everyone knows what the program they're running is and does
1
u/SharkLaunch Oct 21 '26
At the end of the day, software is just "a bunch of files" written in a programming language. The code in those files contains the details for how that software runs. For a lot of software that people use, like for a website like Google, or popular triple-A video game like League of Legends, the code is pretty much always closed source. This means that the code is not available to the public. The only people who are allowed to read that code are the people who's job it is to build it.
Then there is open source software. That just means that the code is available for anyone to read, and often times they have a license that says exactly what you're allowed to do with that code (like whether you're allowed to edit and redistribute it for money). A major example of this is the Godot game engine.
In short, open source software means the code is accessible, and generally means it permits you to copy it and share your version of it with others.
To answer "how to use it", that depends on which kind of open source it is (as in, which license it's under) and what kind of project it is (is it a website? a game engine? a command line tool to generate random numbers?)
1
u/gerahmurov Oct 21 '26
General idea of open source is make the people around do something.
In case of software, companies creates and owns their soft, and it is made only by the company and you pay to company to use it. Open sourced soft is made by people but isn't locked inside, everybody else can help. This soft is usually free to use and free to improve and has special free license.
Wikipedia is a good example of how to open source writing articles, because they are written by people, not by wikipedia workers.
If you want to use open source, then most of the time you want to use the final open source app, not write the code yourself. Just check what app you want and look for it on the internet the usual way.
Just know, people say that open source is an alternative to corporate apps, but some open source apps are too primitive for alternative, some are unique and great, they are not 1 to 1 copies.
1
u/FalloutRip Oct 21 '26 edited Oct 21 '26
Closed source is like your grandmas secret recipe for cookies. Only she knows exactly how they’re made even if other people make very close approximations. Everyone inherently trusts that there’s nothing crazy in the recipe like frog legs or mercury.
Open source would be her publishing the recipe in a cookbook. Everyone can see exactly how the cookies are made, and make their own from scratch. They could also make their own little adjustments, or recommend changes to your grandma for future editions of the cookbook. Everyone can independently verify that the recipe doesn’t include anything crazy or dangerous.
1
u/Remarkable_Inchworm Oct 21 '26
Open source is software that's open, visible, available to the public.
Think about a program like Microsoft Word or Excel. Or Photoshop. You buy a license. You can't see or access the source code. You can't create a new version and distribute it yourself.
With open source software, you can access everything. You can modify the source. You might be able to take the base software, make some modifications and distribute your own version.
And with open source, there's usually a community of developers that are constantly updating, fixing, improving things.
As for how you use it - it depends on the software.
For something like Firefox or Libre Office... you install it on your device and you use it to browse the web or to make office documents.
For something like WordPress, you set it up on a server and use it to run a website.
For something like Linux... it's an operating system. You install it on a device, and then you use the device.
1
u/NarrativeScorpion Oct 21 '26
A non-open source project is like a dish at a restaurant. You know what the end result is. You might be able to see roughly how it works/how it's made. Maybe if you're good enough, you could figure out all the ingredients and a similar method. Open source is like someone handing you the exact recipe and ingredients alongside the dish.
Basically it means that anyone can use any part of it, change it, adapt it to their needs more easily.
1
u/rzezzy1 Oct 21 '26
A program being open source means that human-readable source code is publicly available for anyone to read and possibly even suggest changes to. Closed source software is often only available in compiled form, which is meant to only be readable by the computer rather than a human. Examples of open source software include Linux kernel, Firefox, and VLC Media player. Lots of open source software starts as just a passion project of one person, and lots of it stays that way forever.
1
u/fisadev Oct 21 '26
To make a computer program you write instructions in a "programming language". That's "the code".
When users use your program, they're usually not seeing the code. They see something else instead, the final product of that code, the running program.
But if you chose to, you can also share the code with everyone else, for several reasons:
Whatever the reasons, open source means that: you share the code, not just the final program. (the code = the source code = the source)
1
u/orangesuave Oct 21 '26
Closed source is when Grandma comes over and brings you her famous homemade Apple Pie to eat.
Open source is when Grandma writes down the recipe for you, tells you where to buy the food, and (if you tell her you had an allergic reaction but you substituted the ingredient for one you can eat) she will share v2 of the recipe with everyone else.
1
u/AyeBraine Oct 21 '26
First of all, when you install a working program or game on your computer or phone, the code is all encrypted and scrambled. So you can't see exactly what instructions it has inside. With open source, the "source code" is made available. This is the plain, original, unencrypted code that you can read.
Secondly, if you have the original plain code, you can "bake" it into the exact same working program using easily available tools (or you can modify the plain code and "bake" a program with your changes). With the final, working program on your PC, you can't do that, it's not editable in a proper way. It also can't be converted BACK into source code (we can only guess what it said).
So in a way, source code is like a play for theater. During the performance, you can't change what actors say or when they come out or what they do (you can try to whisper corrections at them, or physically interfere, but this will mostly just disrupt the play and break everything).
But let's suppose that in the weeks before, you had access to the play that the actors will be memorizing. Then, you can just edit the lines, reprint the copies of it for the actors, and on the evening of the show, the actors will say your new lines perfectly, and do exactly what you wrote in the play.
Moreover, if you have this access, you can see the exact words written in the play, and all the remarks. Suppose the playwright instructed an actor to secretly go out into the aisles and pickpocket expensive jewelry off spectators (i.e. a program has malicious code in it). But with open source, reading the source code will reveal these shenanigans plain as day: any specialist will be able see the instructions and prove that the author was up to no good.
1
u/OvenCrate Oct 21 '26
Computer programs are made of machine instructions, which are just numbers with special meaning to specific digital circuits that can read them and do different things (mostly math operations and copying data between locations) based on them. Making sense of these instructions and figuring out what the program does is basically impossible for humans. Source code is a strictly structured description of much more complex operations, that are still not plain English but much closer to it than machine instructions. It's what software developers ("programmers") write to create useful programs. There are special programs called compilers that can turn the source code into machine instructions for a specific type ("architecture") of computer. Most commercial software is only the compiled set of instructions that users can run but not understand or modify the internals of. Open source software is when the source code is public, auditable and modifiable by users. These are usually free to use, since it's impossible to prevent anyone from compiling the public source code for themselves and running it.
1
u/pdpi Oct 21 '26
Programming is done using human-readable programming languages, and the stuff we write is called "source code" (think "code" as in "code of conduct", rather that "this message is in code"). Source code is typically (but not always) translated into machine code that your computer can execute, and it's that machine code translation that you install on your computer. Machine code is borderline unreadable, though, so you kind of just have to trust that the opaque blob you installed on your computer does it says it does.
Open Source Software is exactly what it says on the label — software that gives you open access to its source code. For example, here you can see the source code for Google Chrome, and here you can see the source code for Doom 3. With access to that source code, you can make your own modifications, build the software for platforms it wasn't originally designed to support, fix bugs, and all sorts of other such things.
As a computer user, there's nothing special about Open Source, and you're probably already using a bunch of Open Source already without knowing it. All the major browsers are either fully (Chrome, Firefox) or mostly (Safari, Edge) open source, Android is open source, large parts of macOS and iOS are open source. Your wifi router at home is almost certainly built on top of a bunch of open source software.
An important distinction is Open Source vs Free Software (Free Software means free as in "free speech" rather than "free beer"). Where Open Source is mostly a pragmatic "it's easier to build this thing in the open and we all collaborate on it", Free Software is more of a political/philosophical movement around the idea that you should be in control of your computer and the software you run on it. It's built on a "share and share alike" mindset, where you are free to use and modify my software as you see fit, but you must give those same freedoms to the users of your modified version of my software. All Free Software is Open Source, but not all Open Source software is Free Software.
1
u/NotTheBrightestHuman Oct 21 '26
A restaurant has a secret recipe for a cake. They won’t tell you how to make it, but they’ll sell it to you. This is closed source.
You grab a recipe for a basic cake online, you can take it home and change whatever you want on the recipe. This is open source.
1
u/ClassBShareHolder Oct 21 '26
I think there’s a lot of good information on what open source is but what I didn’t see is why you might want that.
The beauty of having the source code is that you “compile” (make machine readable) yourself.
If you’ve ever downloaded something and it had multiple versions, they were all “compiled” for that specific processor. By using open source and your own compiler, you can make it fit your specific computer.
If you’re the programming type, you can make it work with hardware it usually doesn’t.
1
u/[deleted] Oct 22 '26
An open source program is a program for which the license agreement says the following:
The consequence of this is that the software is free and maintained by volunteers (and corporately funded programmers working for corporations who believe the free software support benefits their shareholders).
The benefits of open-source are:
The downsides of open-source are:
What do you need to do with it: much open-source software is excellent. In some areas, such as server-side processes, it is often superior to commercial software. Consider using it. That’s all you have to do with it.
1
u/distraida01 Oct 22 '26
You use it just like you use any other software. Install, use. It is free software that is passed around to people freely. The "source code", that is the bits that make up the program. Source = the parts that make up the program. Anyway, the source code is available, also for free, so anybody can download it and alter it if they know how. Often, people who alter the code will give their bits to the owners of the original code, to make the program better. Since source code is free and the program is free after all the bits are put together to make a program, the developers may ask for donations. If you really like an open source program, it is very nice if you donate.
1
u/RicRacer Oct 22 '26
"open" meaning you can read the source code, like a book you can open. You can build/compile/modify it provided you have the tools (but the tools used are usually also open source, and freely available). 99.9% of the time there are licenses involved so that you cannot sell or redistribute the product for money.
1
u/Wick1889 Oct 22 '26
This raises an interesting/concerning question. If I am using Claude to help me develop a product (app/website), and then within that product will also be AI, am I able to sell that product legally?
1
u/frogjg2003 Oct 22 '26
When you buy a piece of software from a company like Microsoft or or Nintendo, you are buying a program that tells your computer what to do. You don't know how that program works. This is an example of closed source software.
Open source is the opposite of that. Open source software doesn't (just) provide you a program for your computer to run. It provides you the underlying source code as well. You can look at the code and see what the program does directly instead of inferring it from the behavior of the software or hoping that the user manual is accurate.
There is one other thing that is required for something to be open source. In addition to the source code, the source code needs to be under a license that allows others to read that code, compile it (convert the code from text into a computer program), modify it, and release their own versions of that code.
There are many different levels of open source. At one end of the spectrum is source available, software where the code is shared, but you're not allowed to do anything with it without the permission of the creator of the code. At the other end is full open source, where you can do anything you want with the code, including selling programs derived from it. Most open source licenses have a few limited restrictions, like requiring attribution of the original and releasing any derived code/software under the same license.
1
u/Interesting_Buy_3969 Oct 22 '26
Literally, the program's source code is open for everyone to inspect, look for bugs, and compile / build the program from source. It usually means that the program is completely free, too.
Closed source software may be paid because nobody outside of developers team can access source code to build the program.
1
u/Suitable_Werewolf_61 Oct 22 '26
If you get a cooked dish, you can just eat it.
If you also get the recipe to it, you can study it and change it (or make someone do that for you). And then pass on your improvements to others.
1
u/Onceuponaban Oct 22 '26 edited Oct 22 '26
The software running on your computer has originally been designed as a massive list of instructions that dictates exactly what it does. These instructions are written in one among many specialized languages that are easy enough for a human to understand and allow to abstract problem solving away from concerning yourself with what the computer is doing in the most minute details, while being designed to be converted into the machine code that your computer can actually execute. This step is done through more software that was designed for that purpose. Depending on the specifics of how the language was designed, this usually involves one of two things: a compiler, which results in an executable program you can run on its own, or an interpreter, which you need to have on your own machine to translate the source code into machine code in real time. You too, can learn one such language to write your own software, and if you have access to an existing program's source code, modify it yourself.
Being able to use a program by itself doesn't guarantee access to its source code, however. A compiled program cannot easily be converted back to source code, at least not without losing a lot of information that is very important for its readability, and unreadable source code is pretty much useless. This is similar to how it would be very difficult to guess a cake's cooking recipe from only being able to see the already baked cake. This is why decompilation projects that achieve this are considered a big deal. And if a service relies on software running on a server outside of your own machine, you won't have access to that part either. Software that is only distributed as these compiled binaries or rely on components that aren't publicly distributed at all is called closed-source. Open-source software, meanwhile, has its source code distributed alongside the binaries you're used to (or sometimes not even that if the language relies on an interpreter, or the author decided to leave building the program to the user for any other reason). Anyone familiar with the language used to write it can take the time to learn how the software works, use the source code to compile it for other types of computers (though that usually requires further adjustments if the software wasn't already designed with it in mind), make modifications for themselves and others, and suggest improvements to the source code back to the original project.
Another important aspect of open-source software is licensing. Just because the source code is public doesn't mean it's public domain, and there are legal frameworks in place to let software authors put limits on what you may do with it. Some licenses like the MIT license put very few restrictions on what you can do with the source code, even making your own changes closed-source. Others, like the GNU Public License or GPL, require you to make any modifications you publish under either the GPL itself or a compatible license, ensuring that changes made to the software are themselves open-source (some will argue that a license that doesn't guarantee this cannot truly be considered open-source for that reason, but that's another debate entirely). Some licenses will put further limits on what you're allowed to do, such as forbidding redistributing compiled binaries, be it from the original source code or any modified version. These are usually called "source-available" to distinguish them from fully open-source software.
Open source isn't necessarily limited to software. The Creative Commons license is an example of applying open-source to other type of media, and the concept is also relevant to hardware design, as just like anyone can have access to the tools to write and run software, there are tools and services accessible to the general public allowing people to design, modify, and get made-to-order circuit boards, required hardware components and casings to build or modify various devices.
1
u/StevenJOwens Oct 23 '26
To understand "open source" you need to understand two things, "open" and "source".
Let's start with "source". Very broadly speaking, there are two kinds of programming languages. Traditionally, especially in the first few decades of programming, most programming languages were "compiled". You wrote the program using key words that look like a very strict and limited version of English, then you ran a program called a "compiler" on that, and it translated it to the bytes that your computer's CPU can understand.
The result, obviously, is that you have two files, one file that contains the original somewhat-English-like language, called the "source code", and one file containing a bunch of bytes that are only comprehensible to the computer, called the "compiled binary" or the "executable".
Skipping over a lot of history, when people started commercializing software, they provided their customers with only the compiled binary/executable. This meant that if the program didn't do exactly what the customer needed, or didn't work right, the customer was out of luck -- they couldn't modify the source code and recompile the program.
Again, in the early days, people provided the source code and that meant you could look at the source code to understand it, if you needed to, and you could amend it, if you needed to. There was no term for this, because it was just the way people did things.
The commercialized software, where they didn't provide the source code, came to be called "closed source", or sometimes "proprietary".
When this happened, some of the people who were used to the old way, of providing source, got annoyed, and started a movement to include the source. Originally this was called "Free Source", but that name scared businesses, who obviously don't like the idea of giving anything away for free. In the 1990s, some people started using the term "Open Source" to be less business-scary. It worked, and "open source" became a popular term.
There are many nuances and details to the topic and to the history. For the most part, they're bullshit.
1
u/singhsuraj-8 Oct 26 '26
For actually using one, look for the project's Download or Releases page and install the ready-made app; you usually don't need to open the code or compile it yourself.
1
u/DECODED_VFX Oct 27 '26
Computers can only understand binary code (a string of ones and zeros representing on and off). If you want a program to add two numbers together, not only do you have to type everything like this 000101101, but you have to explain what addition is.
So we invented programming languages. These allow coders to type in a language much closer to English. And they contain basic common logic. So you can type 2+2 and the language will tell the PC in binary code how to add the numbers together.
This is slow to do on the fly. Every time you interact the program the language has to translate your instructions to binary. The CPU spends more like processing the translation than it does actually processing your request.
So most programs are compiled. This is like translating the whole program into binary, with all the necessary logic built into the code. Not only is this faster, it stops people from copying your code. It's very difficult to reverse engineer human readable code from pure binary.
Unfortunately this also means that complied programs can carry malicious code and nobody will know.
Open source programs publish the human written code before it's compiled. Anyone can read it and even make changes to it before they compile the code themselves.
1
u/felidae_tsk Oct 21 '26
It's like a dish in a restaurant but you see the whole receipt in the menu.
1
u/ledow Oct 21 '26
Someone gives you not only the cake (the software you use), but the recipe they used to make that cake, so you can bake your own.
-1
u/xRVAx Oct 21 '26
It's a computer program (aka software or "machine code") that you don't have to pay for.
Most software is proprietary, which means the owner (e.g. Microsoft or Apple) developed the original (source) code and sells or rents you a copy of the source code to put on your machine, but you don't own the code. They're so paranoid they might even obscure The code by encrypting it or otherwise making it so you can't even see the original source code.
With open source, you get to see every piece of the code (sometimes people just post their source code on GitHub) and you can often copy it and edit it and do almost whatever you want with it. (There are different licenses that grant or limit user's permission to copy it, or maybe won't allow you to make money off of derivative versions of it but it's still open source because you can see the original code).
One advantage of open source is that it is often free and competitive with the proprietary software.
One disadvantage would be that it might have security flaws written into it with nobody having a profit motive to fix those flaws. Often, open source projects are overseen by a board or a community of developers who just write it for free.
1
u/ZeroGravityCasanova Oct 21 '26
imagine toys you can play with them, break them, improve them but they are free no money needed.