Questions tagged [libraries]

Use this tag for questions about software libraries. This tag is NOT for questions about computer programs used in public lending libraries or other brick-and-mortar libraries. Questions asking us to recommend or find a library are off-topic.

A library is a collection of non-volatile resources used by programs on a computer, often to develop software.

Libraries contain code and data that provide services to independent programs. This encourages the sharing and changing of code and data in a modular fashion, and eases the distribution of the code and data. Library files are not executable programs. They are either static libraries that are merged with an executable when the executable is being compiled and linked, making them "statically linked", or they are dynamic libraries that are loaded by a dynamic linker while the executable is running, making them "dynamically linked". The dynamic linker may also allow an application to explicitly request that a module be loaded and to obtain references to routines in the module; this can be used to implement plug-ins.

The above was taken from the Wikipedia entry Library (computing).


Questions asking us to recommend or find a library, documentation or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

3395 questions
13
votes
2 answers

Why is Sparkjava not suitable for production?

No, not Apache Spark. Sparkjava I have found to be the simplest approach to APIs and the one that clicks the most with me, but everyone states that it shouldn't be used for production, but no one has given me a good answer why. Do any of you know…
cody.tv.weber
  • 536
  • 7
  • 15
13
votes
7 answers

Toolkit Options for 2D Python Game Programming

What are some toolkits for developing 2D games in Python? An option that I have heard of is Pygame, but is there anything that has more range to do more things? What are the good and bad parts about the modules?
David Locke
  • 17,926
  • 9
  • 33
  • 53
13
votes
1 answer

Accessing resources from Android library project?

I am trying to build a library. I have an Android library project and some resources under the res directory that I want to access in the library project's code. The Android docs says: source code in the library module can access its own resources…
sqshemet
  • 143
  • 1
  • 7
13
votes
2 answers

"No rule to make target" error in cmake when linking to shared library

In Ubuntu, I have downloaded a third-party shared library, mylibrary.so, which I have placed in the directory /home/karnivaurus/Libraries. I have also placed the associated header file, myheader.h, in the directory /home/karnivaurus/Headers. I now…
Karnivaurus
  • 22,823
  • 57
  • 147
  • 247
13
votes
6 answers

What libraries provide persistent data structures?

I've become addicted to Clojure's core data structures. When working in other languages, I try to stay true to their respective idioms, but occasionally, a few persistent data structures are exactly the right solution to the problem. In particular,…
Brandon Bloom
  • 1,301
  • 10
  • 26
13
votes
2 answers

How to master Document Object Model (DOM)?

Been using Javascript libraries like Prototype and jQuery for development, for a while now. While its a boon using those libraries, the one downside is that using such libraries probably doesn't help in understanding what happens under the hood.…
Anand Shah
  • 14,575
  • 16
  • 72
  • 110
13
votes
4 answers

C++ Design Pattern library?

What is the most common C++ Design Pattern libraries? I've read about Loki library in Alexandrescu's book, but looks like it somewhat dead now. Is there something similar out there?
cody
  • 3,233
  • 1
  • 22
  • 25
13
votes
8 answers

Referencing the google-play-services library

I'm working on a project using the Google Maps Android API v2, and I have a problem when I start referencing google-play-services_lib. A red exclamation mark appears on my project icon, and I have an error message in the "Problems" tab (I'm using…
Apoz
  • 503
  • 2
  • 10
  • 22
12
votes
2 answers

qmake : Build library without the symlinks and 'lib' prefix

I require a very simple mechanism in my application, where my project is built as a shared library '.so' or '.dll', but what I want is: ExampleAppOne.so I get: libExampleAppOne.so -> libExampleAppOne.so.1.0.0 libExampleAppOne.so.1 ->…
Rohan Prabhu
  • 7,180
  • 5
  • 37
  • 71
12
votes
1 answer

--enable-static vs --disable-shared

I understand the importance of shared vs static libraries. However, several programs I have come across recommend compiling with --enable-static while other recommend --disable-shared Are these the same thing? And if not, what is the difference?…
bremen_matt
  • 6,902
  • 7
  • 42
  • 90
12
votes
3 answers

codeigniter - best practice library with many classes

I'm building a library for our CodeIgniter app, but it requires many classes (currently I'm at 12). Is there a best practice for packaging these many clients into one library. So I can just make one call to load it.…
markymark
  • 629
  • 4
  • 7
12
votes
2 answers

Moment.js: Uncaught TypeError: Cannot read property 'defineLocale' of undefined at moment.js:13

When running the small html file below I see the following console log error: moment.js:13 Uncaught TypeError: Cannot read property 'defineLocale' of undefined at moment.js:13 at moment.js:9 at moment.js:10
Sean D
  • 3,810
  • 11
  • 45
  • 90
12
votes
1 answer

SNMP Library for Java

I need to make a feasibility study on various SNMP libraries. Currently I am using SNMP4J. My requirement is to compare various libraries with their features. I wasn't able to locate any useful reference links. Please someone suggest any links.
Gapchoos
  • 1,422
  • 5
  • 20
  • 40
11
votes
2 answers

How to choose a CDN to load Javascript & CSS libraries?

What kind of reasoning should I do in order to choose a specific CDN to load Javascript & CSS libraries into my website development projects? I see that there are some options (i.e. BootstrapCDN, cdnjs, unpkg, jsDelivr and possibly others) but I…
Sekhemty
  • 1,222
  • 2
  • 13
  • 33
11
votes
2 answers

ASIHTTPRequest equivalent for Android or any HTTP request manager/wrapper?

I'm developing an app that will make extensive HTTP requests. I know for a fact that iOS has a third-party library called ASIHTTPRequest to manage and organize all these requests, making it much easier and less tedious. Is there a similar library…
MR Mido
  • 1,618
  • 4
  • 25
  • 35