A compiled set of exposed objects that isn't directly executable, but that can be referenced and used by other code.

learn more… | top users | synonyms (1)

4
votes
0answers
99 views

Yet another JavaScript library

I have written myself a little JavaScript library for personal use, and anyone who'd like to use it for some reason. The reason why I decided to create my own library instead of using the already ...
2
votes
0answers
21 views

Rewrote my benchmark/timer library

I created a timer library called PHPBenchTime a few years ago, and decided to rewrite it last week. This new version is meant to add in missing functionality (pause/unpause) as well as expand on the ...
11
votes
2answers
589 views

Too many objects, too “deep” class structure?

I have a pretty large model library I'm working on and it's turning out quite complex, or so I believe at least and I could use a second opinion. The basic idea is that the user should only have to ...
0
votes
1answer
44 views

Bignum library with arbitrary bases

I just started development on a new bignum library that can operate on numbers of any arbitrary base (up to 232). I want to get a good idea of where I can improve before taking things any further. ...
4
votes
2answers
65 views

C Development Utilities Library

I have been working on a small library of development utilities for some time now, incrementally improving and expanding it as I make use of it in other projects. I feel that it is fairly mature now; ...
5
votes
2answers
156 views

Am I handling “spot the missing DLL” right?

I have a .net 4.5 desktop script which has dependencies on some third party libraries (dll's). These libraries are used in my MainWindowViewModel. I need to check ...
9
votes
4answers
150 views

Bare-bones string library

After years of criticizing others, I've finally found the time and worked up the courage to polish up one of my bits of code and solicit criticisms of my own. This is a simple dynamic-string library ...
6
votes
1answer
130 views

PHP library for handling account creations, logins, and file uploads

I'm new to OOP and PHP. I've made an attempt at a PHP library file that handles account creations, logins, and file uploads with image resizing on the fly. It works so far. I'd like some help with ...
10
votes
3answers
107 views

Dynamic library to intercept oddsock hostname lookups

Just for the fun of it, I decided I would try to create sort of an intermediate DNS system for the oddsock SOCKS proxy. With this, the domain name extension .unet is statically resolved when ...
6
votes
1answer
144 views

What is the proper naming of classes and method when designing API for calculation library?

I'm working on library which will provide easier writing and calculation in Java using fluent API. Library I have implemented with basic functionalities and now I am working to improve API. I ...
2
votes
1answer
59 views

Improving a Haskell FizzBuzz Solution

I wrote a solution to the popularized FizzBuzz problem in Haskell to see how a functional solution looks. I'm more or less happy with my solution, except for the definition of ...
2
votes
0answers
62 views

Leverage C++ Type Inference and basic Reflection library

I've just finished my fist iteration on a type inference and basic reflection library for C++, which is part of a small game engine I'm writing on my spare time. It features type instantiation by ...
17
votes
6answers
647 views

A Library Class : Point

I am trying to create a library of my own which contains (among others), a class called Point. As the name suggests, it is intended to encapsulate a point ...
10
votes
1answer
121 views

A regular expression parsing library in C

I've created a regular expression (regex) parsing library in C, and would like some feedback on it. Speed is really important to me, but any and all suggestions are acceptable. ...
0
votes
1answer
71 views

Threadsafe network message

I have started making a very basic networking library in C++. It is built on UDP, with both reliable and unreliable delivery options. So far, I have made the base messaging class, so I will show the ...
13
votes
2answers
170 views

parcel: a JSON parsing library in C

I've created a JSON parsing library in C, and would like some feedback on it (feel free to submit a pull request on GitHub). Any and all suggestions are acceptable, but I would prefer if reviews were ...
4
votes
1answer
132 views

Library for parsing strings to java types, generic types and collections/arrays

I've done a library that can parse strings to different java types and to List<...>, Set<...>, ...
9
votes
1answer
85 views

Shortcuts and imports for large RPG basic code

I decided to work on putting together an Arena-style (very basic) text-based RPG as a way to help myself learn Python. Unfortunately, after about 1,000 lines of pieced-together code, I realize that ...
2
votes
1answer
53 views

Backend interface VS hard contract

Here is an API for using a warehouse: ...
6
votes
2answers
103 views

Educational “Library” project

The assignment is very open and we have only 4 things it needs to cover: File write and read Use a Struct Export into HTML format use a common sorting algorithm so I've decided to create a little ...
5
votes
2answers
78 views

Java HTTP Apache - Making my own library

My company has asked me to write a few Java based programs to deal with sending HTTP requests and parsing the response. After playing around with the Apache HTTP Commons library and making plenty of ...
2
votes
2answers
61 views

A package for outer-package communications

By outer-package, I mean outside of this package - this can be the DOM or other packages. This package has a basic event system and a basic registry. It also has a debugger which allows you to ...
5
votes
1answer
83 views

Does this image-processing library break the Single Responsibility Principle?

I'm writing a small library to do some image-processing on GPU for WinRT, however, I'm not sure if such design breaks SRP. One class loads and saves image, renders and maintains filters - isn't it ...
2
votes
1answer
58 views

A package for application booting

I've built a small library that I use to boot or start a web application. The library code has been posted below, as well an example of application code. I'm looking for ways to make the code more ...
2
votes
1answer
123 views

Naming convention in my C++ library

I am implementing a library in C/C++11 and I have chosen to follow Google C++ Style Guide as I also use this Style Guide in my code. As such all classes and types (including ...
2
votes
1answer
87 views

LDAP Library design, classes, functions, initialization?

I have started working on my first open source project making an LDAP library in Python. I have coded quite a bit and am starting to think about a couple of the details related to design. I have ...
5
votes
3answers
206 views

Developing a JavaScript library

I am slowly learning to master JavaScript and particularly the art of self-executing/invoking functions. I have developed a simple JavaScript plugin and I think I have followed the correct standards. ...
5
votes
1answer
153 views

A simple NAT library

I've created a simple NAT library, with four essential functions: Find the UNPN device (the router in my case). Get the external IP address. Add a port forwarding entry. Delete a port forwarding ...
4
votes
0answers
192 views

Building a good C++11 template library - compile-time checked enum array

The task is to add data or values to members of a given enum class. The compiler should check, if a value for each enum member is available, and not just default construct empty values. It is a tool ...
0
votes
1answer
85 views

Advice on Java class for a library

I wrote a small Java class with documentation that is going to be a part of a library I am writing. I learned Java as my first programming language from many different sources on the web, and ...
0
votes
0answers
240 views

C++ serial port library across different compilers

I'm writing a C++ library with MinGW (4.8.0, DW2, POSIX) compiler. But this library must be used by another compiler. I've read this post, so I've re-written the C++ library interface in this way: ...
7
votes
2answers
305 views

Usage of a C library in a C++ project (std::string char array conversion)

Abstract I have little C/C++ skills. I've learned programming mainly with Java, and so I chose C++ (targeting C++11) as the language to learn better. In my current C++ project, I have to use the ...
7
votes
2answers
2k views

Small PHP framework template library

The following is a new question based on answers from here: Small MVC for PHP I have written a small template library that I would like some critiques on. The library is located here If you are ...
1
vote
1answer
63 views

Improving the flexibility of my library/what can be improved? [closed]

How can I make my library more flexible towards programmers? Here is my library. It's a basic library that provides a simple interface to organise your game (with scenes, and engine/game connection). ...
5
votes
5answers
187 views

C string library inspired by Python string functions

I'm working on a C library which attempts to bring some of the Python string functions over to C. This is where my full source is located, but the majority of what I have so far is here. Are there ...
2
votes
1answer
4k views

Custom Task Scheduler

I want a task scheduler with some specific capabilities for my application. I've searched for a good library that provides me with the following, but found nothing. Queuing awaitable tasks. Ability ...
6
votes
1answer
183 views

CDN Fallback “library”

Edit: Even adding a comment of "looks good to me" and up-voting that comment would be appreciated :) I just want the feedback! Thanks! For the fun of it as well as professional development, I wrote a ...
2
votes
1answer
132 views

Boiler.js Deep Object Comparison Code/Performance Optimizations?

I have a deep equality comparison method that returns true when two objects are equal (see method Doc): ...
4
votes
2answers
152 views

Singly-linked list library

This is sort of a follow-up to a post I created about 10 days ago, but I have completed the implementation: Designing function prototypes for a singly-linked list API in C. As I began to work on the ...
3
votes
1answer
1k views

PID Controller library

I'm trying to implement a PID without floating point operations on a micro controller. I appreciate all feedback I can get. Header file: ...
2
votes
1answer
337 views

RTCPeerConnection signaling library

I created a library/npm module to handle the signaling process for RTCPeerConnection. There is still a good bit of work that needs done (error handling, dealing ...
7
votes
2answers
257 views

Using standard library to simplify pairwise iteration of container values

I came up with this code whilst answering this question. Is there a simpler way of doing this using standard library? I want to iterate over every object and do something with every other object. ...
4
votes
2answers
2k views

Small MVC for PHP

The following is a new question based on answers from here: Small PHP MVC Template I have written a small MVC template library that I would like some critiques on. The library is located here ...
4
votes
1answer
112 views

Code review for a collection manipulation tool in Javascript

As I was working with .NET, I started wondering how I would implement the LINQ methods syntax in Javascript. So here is my first try; is there a more elegant, or more performant, way to write this ...
1
vote
2answers
362 views

C++ counter part of Java's “package private”

I'm writing a C++ library which needs deeper access to its own classes than it wants to allow the application using the library to have. I'm talking about headers to be included by the application, ...
6
votes
1answer
198 views

Thoughts on my little javascript library?

just wanted to gather your opinion on my little javascript library. It features Math, String, Array, canvas and location extensions, aswell as some useful animation and timing classes I came up with: ...
7
votes
1answer
292 views

Writing SIMD libraries for C++ on FASM in x86-64 Linux

I have recently started a project of SIMD libraries development for C++ on FASM for x86-64 Linux. I would be glad to hear any opinion or feedback about the project, cleanness of the code and ...
8
votes
2answers
271 views

Usability of API to declare modules in JavaScript

Edit: I updated the JavaScript modules in http://enlargeyourpassword.com to use scope(). You can see the result in the source of the page, and get an idea of the process by looking at the commit ...
2
votes
2answers
155 views

Please review different approaches for writing plugins/widgets in javascript

I have written a js library (think, jQuery, but with much much less features, and targetted for newer browsers on mobile). This library provides a extension mechanism. One of the ways the extension ...