Questions tagged [libraries]

A library is a collection of resources providing data and/or services for developing independent software.

Filter by
Sorted by
Tagged with
46 votes
16 answers
14k views

Are there concrete reasons not to use libraries and code snippets heavily? [closed]

Overall I'm in programming for about 8 years now and it seems to me that I'm relying more and more on open source libraries and snippets (damn you GitHub!) to "get the job done". I know that in time I ...
Henrik P. Hessel's user avatar
17 votes
7 answers
1k views

How do you structure your shared code so that it is "re-findable" for new developers? [duplicate]

I started working at my current job about 8 months ago, and its been one of the best experiences I've had as a young programmer. It's a small company, and both my co-developers are brilliant guys. ...
awmckinley's user avatar
34 votes
3 answers
13k views

Did C++11 address concerns passing std lib objects between dynamic/shared library boundaries? (ie dlls and so)?

One of my major complaints about C++ is how hard in practice it is to pass std library objects outside of dynamic library (ie dll/so) boundaries. The std library is often header-only. Which is great ...
Doug T.'s user avatar
  • 11.7k
3 votes
1 answer
519 views

Advice for Evaluating Web Frameworks (or software libraries in general)

At my workplace we are currently looking to redesign our application stack on the web. We are satisfied and accepted that our server will be Node.js but we are finding it very difficult to find a ...
Ryan Badour's user avatar
63 votes
3 answers
48k views

Are header-only libraries more efficient?

Assumptions One of the advantages of header-only libraries for C++ is that they do not need to be compiled separately. In C and C++ inline makes sense only if the function is defined in a header ...
Vorac's user avatar
  • 7,099
34 votes
14 answers
14k views

What benefits are there to native JavaScript development? [closed]

Given how much simpler jQuery development is, when compared to native JavaScript, what makes people forgo libraries like jQuery altogether? Is this because jQuery has limitations or it is slow? I ...
Mike's user avatar
  • 559
32 votes
16 answers
4k views

Do you have your own 'misc utils' library? What part are you most proud of? [closed]

I know that many of us maintain our own little personal library with tools and utilities that we use often. I've had mine since I was 16 years old so it has grown to quite a considerable size. Some ...
Nobody's user avatar
  • 2,613
25 votes
1 answer
15k views

Is vanilla JS still considered a library?

I very recently found out that VanillaJS (document?) is a library that's just bundled with 99% browsers and isn't exactly native JavaScript (shock of my life). While writing a lib of my own I normally ...
DividedByZero's user avatar
10 votes
8 answers
3k views

When is a 'core' library a bad idea?

When developing software, I often have a centralised 'core' library containing handy code that can be shared and referenced by different projects. Examples: a set of functions to manipulate strings ...
Alex Angas's user avatar
7 votes
2 answers
2k views

When would you choose *not* to update a third-party library to a newer version?

Using third party libraries for productivity gains in software development is common. Unfortunately, along with the library's functionality we also import its bugs. Some of them get fixed in ...
Mircea's user avatar
  • 81
0 votes
2 answers
515 views

In C, how are functions accessible if they're not inline or called by #include? [closed]

I'm looking at code that somehow calls a library but I don't see it calling any of the library's headers at any point. I've done searches within the code and I don't see anywhere the functions, ...
Volumetricsteve's user avatar
14 votes
4 answers
1k views

Why do people rewrite some libraries to many programming languages?

There are some libraries, which are available in their versions written in many different programming languages, like for example Lucene, which is written in Java (as they say, 100% pure Java), but ...
mik01aj's user avatar
  • 679
13 votes
8 answers
3k views

Do you tend to write your own name or your company name in your code?

I've been working on various projects at home and at work, and over the years I've developed two main APIs that I use in almost all AJAX based websites. I've compiled both of these into DLLs and ...
Connell's user avatar
  • 335
9 votes
2 answers
4k views

Designing exception classes

I'm coding a small library and I'm having some trouble with designing the exception handling. I must say that I am (still) confused by this feature of the C++ language and I tried to read as much as ...
celavek's user avatar
  • 373
9 votes
3 answers
1k views

Distributing Libraries

How are libraries typically distributed? Because they have to be compiled with the same compiler under the same settings as the project using it, distributing the .dll, .lib, etc. seems impractical. ...
Maxpm's user avatar
  • 3,146
8 votes
3 answers
2k views

When to Use Shared Libraries

Note: I'm not sure if this question is more suitable for Stack Overflow or Programmers. The thought process behind putting it here was that it doesn't actually relate to coding itself. I noticed a ...
Maxpm's user avatar
  • 3,146
8 votes
8 answers
933 views

What counts as reinventing the wheel?

Do the following scenarios count as "reinventing the wheel" in your book? A solution exists, but not in the language you want to use, and existing solutions can't be interfaced with the language you ...
dsimcha's user avatar
  • 17.3k
8 votes
3 answers
3k views

Version control on standalone (in-house) libraries?

Problem Statement At our company, we have various application projects that we work on and then we also have libraries that those projects need to utilize. I feel the need (based on some similar ...
Snoop's user avatar
  • 2,728
7 votes
4 answers
5k views

Splitting up a single project into libraries

I am working on a project/application that I feel is not very well organized, and parts of it intertwine in different ways. Everything works, but I can see things are not very modular. Is it ...
Alexander Kondratskiy's user avatar
6 votes
3 answers
2k views

How can you separate a monolith into domain-driven libraries without duplicating interfaces and still keep dependencies simple?

I'm working on a project with web services, and I've been structuring things where: The web service contains the business logic layer A library which handles the data access layer I've recently been ...
ricksmt's user avatar
  • 163
6 votes
2 answers
7k views

What is the difference between a static library and an archive library?

In the comments of a recent answer, I equated a static library with an archive of compiled object files. The response was that they are not the same, so what is the difference? To clarify - gcc ...
Baldrickk's user avatar
  • 714
5 votes
5 answers
661 views

Language-agnostic libs every programmer should consider learning? [closed]

Assuming the language provides it, what are some things to do or libraries to use that every programmer should know? My list would be Regular Expressions Named Pipes standard IO (std in/out/error) ...
user avatar
4 votes
1 answer
542 views

Deciding what values should be configurable

My application is a Java program that controls a robot (which is essentially a raspberry pi hooked up to a lot of devices). There are many devices on the robot that have semi constant address values ...
flakes's user avatar
  • 151
4 votes
1 answer
958 views

Different ways to distribute (embedded) C modular library

picoTCP (an open source embedded TCP/IP stack) has always had a development focus (both in picoTCP itself and with picoTCP) on linux & gcc systems. The final target is usually an embedded micro (...
Phalox's user avatar
  • 43
4 votes
2 answers
366 views

How do I get people to contribute ideas for my .NET library?

I maintain a LGPL library for rapid development of large scale .NET applications, It's a general purpose class library containing functionalities that are used at the DAL and BLL level. So, in ...
Sklivvz's user avatar
  • 5,252
3 votes
1 answer
4k views

Using GPL library in our software [duplicate]

Currently we're starting to work on a project for which we're going to need image processing libraries. The problem is some of the libraries are GPL licensed. I'm reading through GPL licence and ...
mishan's user avatar
  • 211
1 vote
1 answer
131 views

Collect DLL usage data (Open Source)

Is it legal to collect some usage data of a open source library? Let's say, I would like to know Things like These: Name of the assembly, using the library Number of Startups of the assembly, using ...
LibOverflow's user avatar
0 votes
3 answers
2k views

Choosing language to write general library in

I'm about to start writing a library to support machine learning algorithms (decision trees, ANNs, Bayes nets, etc.), and I'm planning on making this a very general library. By this, I mean I want to ...
yolksamurai's user avatar