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

learn more… | top users | synonyms (1)

3
votes
2answers
91 views

How to manage memory in C interface for C++ implementation considering c++11?

I have a library implemented in C++ which has a C interface. This C interface is, for all intents and purposes, the only way to use this library. C++11 seems to discourage the use of raw pointers but ...
-1
votes
0answers
57 views

Linear Algebra Api for c++ using external memory [on hold]

I need to perform Linear Algebra operations on Large size vectors and matrices which might or might not be sparse. Operations better include LU Factorization for matrices in addition to the basic ...
-3
votes
0answers
40 views

Data streaming C++ library? [closed]

I'm looking for a C++ library that implements a C#'s Stream-like interfaces over several common data tasks. So I need data compression, encryption, base64 conversion, file I/O to be implemented as ...
2
votes
1answer
70 views

How to do an effective code review of library changes?

One of my projects just changed the version number of a supporting third-party library. Specifically, we changed a J2EE app from JPA 1.x to JPA 2.0. Our CI system has had this change for a week and ...
49
votes
3answers
4k views

Why do JavaScript frameworks/libraries have functions which already exist in pure JavaScript?

I wonder why frameworks/libraries have their own helpers although they exist natively already. Let's take jQuery and AngularJS. They have their own each iterator functions: jQuery.each() ...
0
votes
1answer
97 views

Do C++ library developers only write C compatible interfaces as an afterthought? [closed]

I have developed the distinct impression that although C++ libraries are often developed for other slower languages to link with when performance is needed, some feature known as name mangling and ...
0
votes
2answers
102 views

Minified version of JavaScript library under LGPL used on a site without copyright notice

On this site hackfind.com the autor put minified version of my library without any copyright notice. Is this violation of the LGPL. Note that using on a site is not a copy.
1
vote
2answers
104 views

Is it okay to user other open source libraries when building your own or should that be avoided?

Seems like an odd question, but I've been questioning this myself for some time now. I've been told that, if you're working on a open source library/project, you should avoid adding dependencies for ...
1
vote
3answers
319 views

Should I pass array or pointer?

I am writing a C++ library (but prefer C style interface functions) and one of the function returns array of floats. I am not sure if I should pass pointer or fixed array to get this data? // in the ...
1
vote
7answers
109 views

How can I use different versions of an evolving library in different projects?

The problem I write a lot of exploratory code in my research. As I go along, I put functionality that I'd like to reuse in a central location. A project might look like this: ./mylib ./exploration ...
0
votes
1answer
39 views

Universal means of describing what functions a library should expose

I am busy with a hobby OS and I am planning on making the project open-source and eventually have support for multiple platforms. With this in mind I have taken the approach of putting all hardware ...
0
votes
1answer
63 views

Use of Unmodified AGPLv3 lib - am I AGPL too?

So, I've been reading the AGPL and here is my understanding (not being a lawyer and I'm not trying to look at it through the lens of "Since I WANT it to be ''free'', it therefore is.". In my case, I ...
0
votes
0answers
44 views

Where to put external libraries in a Qt project?

I create many small Qt Creator projects (.pro file based, not CMake) and sometimes need to use external libraries in them. Up until now I used to have a project structure like below: project folder ...
0
votes
1answer
126 views

Java has lots of libraries. How much more than other modern languages? [closed]

The only programming language I ever used 'seriously' to create relatively big applications, is Java. Thus, I'm very familiar with the fact that Java offers a lot of built-in libraries that help with ...
5
votes
3answers
222 views

Member functions vs. Non-member functions for math operators

I'm writing a linear algebra library (long story short, it's a school assignment) that involves matrices, vectors, etc. In the process of creating this library, I'm going to be creating functions ...
1
vote
1answer
73 views

How to organize repositories for a split library?

I have two libraries that implement a protocol: one provides tools for establishing a channel between two parts, and the other provides classes and tools for building and parsing the binary protocol ...
0
votes
0answers
57 views

Using web api or libraries

We currently have 1 domain and 4 subdomains using 5 different applications. We are programming in asp.net and we have 6 different solution project. 5 applications and 1 solution for shared back-end. ...
-2
votes
4answers
122 views

Algorithm/research on detecting language of text [closed]

I am interested in finding an approach that will detect what language a string of text is. As Google translate does.
6
votes
1answer
100 views

Dangers when implementing features as plugins [closed]

What kind of problems have you encountered when building plugin interfaces for your application? And how did you resolve them? Background I want to refactor an application so that various features ...
1
vote
2answers
130 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 ...
2
votes
1answer
240 views

C# dynamically linking different libraries and/or external classes

tl;dr Is it possible to include an external library (and create instances of objects represented within that library) based on some condition? This must be done at compile-time, so separate builds? ...
3
votes
1answer
209 views

Proper way to “compile” a javascript project?

I'm developing a small open-source javascript library, and I was wondering about the proper method for compiling the source into one javascript file. It's easier to develop if the code is split into ...
1
vote
2answers
72 views

Can some LGPL library published upgrades use a commercial library?

I am using a LGPL v3 library and have made upgrades to it. Before using these upgrades, I understand I have to publish them. That's al-right. Is it legal if I perform upgrades that use a commercial ...
1
vote
4answers
194 views

Should timeout be a public static property or a parameter to every function?

TLDR: Should TIMEOUT be a public property on my static class, or a parameter to every function? Background: I am releasing a c# client-api library that facilitates communicating with our REST api. ...
1
vote
0answers
77 views

What are the tradeoffs involved in referencing Context in a library?

Context is one of the core classes of Android, and many functions it contains are useful in Android library projects, particularly accessing configuration. What are the trade offs involved in ...
0
votes
0answers
48 views

In what situations do mutually dependent modules have an advantage?

Earlier today I created two mutually dependent, implicitly linked DLLs just to see if this was possible: http://i.imgur.com/GMACpnC.jpg I am just curious; in general, what advantages might this kind ...
1
vote
2answers
128 views

Where in computer science education does “reuse and integration” find comprehensive coverage?

This intro is only my naive attempt at a mile-high snapshot helping me to position my question. Any user trying to answer my question, that tries to nail down one aspect of programming, will have to ...
2
votes
1answer
842 views

What is the difference between HaXe NME and OpenFL?

On http://en.wikipedia.org/wiki/NME_%28framework%29 there is an info: NME is an open-source game and application framework that supports iOS, Android, BlackBerry, Microsoft Windows, Mac OS X, ...
3
votes
2answers
156 views

How do I alter an open source library for my own use?

I'm programming in Objective-C. I want to include a camera library, DLCImagePicker, in my project. There is a variable I need to change, but it is private and I have no access to it. I've thought of ...
1
vote
1answer
172 views

Using jTransforms for a commercial (non-free) android application?

I am developing an application which is using JTransforms to compute FFT and InverseFFT. I am planning to sell that application on Play Store. The JTransforms Library is covered under MPL/LGPL/GPL ...
4
votes
4answers
382 views

Should I fork for a major re-write that uses a small amount of the original code? [closed]

I'm writing a library. It's a completely rewritten version of another one, to suit my needs (PCL compatibility, mainly). However, the API will be completely rewritten, as I'll need to change a lot of ...
0
votes
1answer
244 views

Is it required to differentiate between js framework and js library?

While searching through many javascript libraries/frameworks, I observed that the terms are sometimes used interchangeably. So, conceptually is it important to distinguish between framework and ...
7
votes
1answer
377 views

How do I distribute my scientific software with as few dependencies as possible?

As part of my research, I write a lot of Python and MATLAB code that never needs to be distributed to anyone else. Even if I need to distribute my software, Python and MATLAB, both being interpreted, ...
1
vote
1answer
171 views

In embedded, is there any difference between a device driver and a library?

Assuming a platform with no kernel mode, such as Atmel AVR, is there any difference between a device driver and a library, given that everything is user mode anyway? I ask because I'm thinking about ...
1
vote
2answers
122 views

What is global mutable variable behaviour in dynamically-linked libraries?

When a dynamically linked library includes a global mutable variable, such as a container for state initialised when loading the library, how do references to that variable behave when running an ...
4
votes
2answers
403 views

C++11 Header-only Library: in-class body vs. out-class body code?

BACKGROUND:optional Since 2002 I've been slowly building my own Windows Native C++ library. And let's just say that I have jumped 150KLOC (reusable code) having everything I need and the kitchen sink ...
-3
votes
4answers
218 views

Is there an existing market for software libraries? [closed]

Kinda have the impression library development is either done by big companies like Microsoft that give them away for free, or the open-source community. Is there an existing market to sell software ...
2
votes
1answer
430 views

Why doesn't libxml2 support XPath 2.0?

Libxml2 is the faster, stable and most popular "open DOM engine"... And the "XML C parser and toolkit of Gnome". The initial release of Libxml2 was September 1999, 13 years ago. XPath v1.0 was also ...
4
votes
2answers
2k views

Differences between different creative coding libraries

I've worked with Cinder previously under Windows, but have recently switched to Ubuntu. Since Cinder doesn't work on Linux (::sadface::) I've began looking for alternatives. With that in mind, could ...
5
votes
3answers
346 views

Why do some opensouce libraries lack comments?

I don't know if this happens to most Opensource libraries, but many of I know and use (for example OpenSSL, Webkit, ...) they all lack comments, or contain very few comments. Not to mention their ...
1
vote
1answer
85 views

Type dependencies vs directory structure

Something I've been wondering about recently is how to organize types in directories/namespaces w.r.t. their dependencies. One method I've seen, which I believe is the recommendation for both Haskell ...
5
votes
3answers
370 views

Coding Convention: C++ Header/Interface Files

I'm reading through a PDF on C++ programming from this page on Stanford's site. It says that when you're creating a C++ header file for a library interface, use a #ifndef preprocessor command to make ...
0
votes
0answers
85 views

What is good way to maintain library project without redundancy?

I am an Android developer, while I am developing a new project I often find I need to import a library project, so in every new project I need to to copy my library project and then I can add. Is ...
0
votes
4answers
125 views

How could distribution and reuse flexibility be hurt by linking my program as a static or dynamic library?

I'm writing a small program that I want to be able to link with other programs. I also intend to run it from a command line interface, and maybe later with a GUI interface. How could distribution ...
1
vote
0answers
79 views

Javascript library for Java source code reference

Could you suggest any JS lib, that will "recognize" all Java classes in specified text and create reference link to page with this class? (similar to Eclipse Ctrl+click) There are plenty of good JS ...
2
votes
1answer
48 views

Branching library behavior based on 3rd party library existence

Someone proposed to me this pattern which I have never heard of before and can't find any information on it. The basic idea is, when building a library for other developers to use; if the developer ...
2
votes
2answers
394 views

How to port cli c++ program with GNU libraries from windows to Linux

I need to implement some graph partitioning algorithms for my thesis. I have mostly Windows experience. I would like to know if it is hard to migrate c++ console program to Linux. I want to program it ...
9
votes
2answers
336 views

What guidelines should I follow while designing a library?

I am working on a Arduino project using the Uno. The project contains a significant amount of code. I would like to create a library and I may even share it later on. What guidelines should I follow ...
4
votes
4answers
364 views

Is it a good idea to build a library on top of somebody else's library?

Is it a good idea to use somebody else's library as a base and build your own library over that. I want to make a JavaScript Canvas framework for a animation player on top of KineticJS. Should I do ...
2
votes
1answer
285 views

A simple C library filling the gaps in standard (C, POSIX) libraries?

I'm looking for a C function library, which would contain a collection of simple and plain utility functions "missing" from C or POSIX standards. I found this earlier question, but answers there list ...