SUPPORT THE WORK

GetWiki

Codebase

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
Codebase
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki
{{About|the source code of software systems|the homonymous database management system|CodeBase}}{{Refimprove|date=October 2014}}In software development, a codebase (or code base) refers to a whole collection of source code that is used to build a particular software system, application, or software component. Typically, a codebase includes only human-written source code files; thus, a codebase usually does not include source code files generated by tools (generated files) or binary library files (object files), as they can be built from the human-written source code. However, it generally does include configuration and property files, as they are the data necessary for the build.A codebase is typically stored in a source control repository that belongs to a revision control system. For smaller projects it may be kept as a simple set of files (even the Linux kernel was maintained as a set of files for many yearsWEB
,weblink
, A Short History of Git
, October 21, 2014
, git-scm.com
, ). A source code repository is a place where large amounts of source code are kept, either publicly or privately. Source code repositories are used most basically for backups and versioning, and on multi-developer projects to handle various source code versions and to provide aid in resolving conflicts that arise from developers submitting overlapping modifications. Subversion, Git and Mercurial are examples of popular tools used to handle this workflow, which are common in open source projects.

Distinct and monolithic codebases

Multiple projects can have separate, distinct codebases, or can have a single, shared or {{visible anchor|monolithic codebase}}. This is particularly the case for related projects, such as those developed within the same company. In more detail, a monolithic codebase typically entails a single repository (all the code in one place), and often a common build system or common libraries. Whether the codebase is shared or split does not depend on the system architecture and actual build results; thus, a monolithic codebase, which is related to the actual development, does not entail a monolithic system, which is related to software architecture or a single monolithic binary. As a result, a monolithic codebase may and (for large codebases) often will consist of separate components, instead of carrying only a single system or single binary; a distributed codebase (with multiple components) can be used to build a single monolithic system or even a single binary. For example, the Linux kernel is architecturally a single monolithic kernel, but it consists of separate binaries (loadable components), and is developed in multiple distributed repositories.There are both advantages and disadvantages to a monolithic codebase, when it is compared to a distributed codebase.CONFERENCE, Searching for Build Debt: Experiences Managing Technical Debt at Google, J. David Morgenthaler, Misha Gridnev, Raluca Sauciuc, Sanjay Bhansali, yes, 2012, Proceedings of the Third International Workshop on Managing Technical Debt, 1–6, IEEE,weblink WEB,weblink Scaling Mercurial at Facebook, Facebook Code, 29 April 2016, Most simply, a monolithic codebase simplifies integration{{mdashb}}changes to different components or refactoring of code between components can be done easily and atomically{{mdashb}}and allows operations across the entire codebase, but requires a larger repository and makes it easier to introduce wide-ranging technical debt.{{Dubious|date=October 2014}} A separate codebase or a distributed codebase keeps individual repositories smaller and more manageable, enforcing at the same time separation between components, but it also requires integration between codebases (or with the main repository), and complicates changes that span multiple codebases.WEB,weblink Git - Distributed Workflows, git-scm.com, 29 April 2016, In terms of standards, referring to multiple codebases as "distinct" declares that there are independent implementations without shared source code and that, historically, these implementations did not evolve from a common project. This may be a way of demonstrating interoperability by showing two independent pieces of software that implement a given standard.{{Dubious|date=October 2014}}

Examples

Some notably large codebases include:
  • Google: monolithic, 1 billion files, 9 million source code files, 2 billion lines of source code, 35 million commits in total, 86 TB total size (January 2015)JOURNAL, Potvin, Rachel, Levenberg, Josh, Why Google stores billions of lines of code in a single repository, Communications of the ACM, 24 June 2016, 59, 7, 78–87, 10.1145/2854146,
  • Facebook: monolithic, 8 GB (repo 54 GB including history, 2014),WEB,weblink Feross, Twitter, 29 April 2016, hundreds of thousands of files (2014)
  • Linux kernel: distributed,WEB,weblink Essence of distributed work: The case of the Linux kernel - Moon - First Monday, firstmonday.org, 29 April 2016, over 15 million lines of code ({{as of|2013|lc=yes}} and kernel version 3.10)

See also

{{Wiktionary}}{{Div col|colwidth=25em}} {{div col end}}

References

{{Reflist|30em}}{{Compu-prog-stub}}{{Soft-eng-stub}}

- content above as imported from Wikipedia
- "Codebase" does not exist on GetWiki (yet)
- time: 9:25pm EDT - Thu, Oct 18 2018
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
GETWIKI 19 AUG 2014
GETWIKI 18 AUG 2014
Wikinfo
Culture
CONNECT