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

17
votes
6answers
625 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
74 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
62 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 ...
11
votes
2answers
124 views

A JSON parsing library in C

I've created a JSON parsing library in C, and would like some feedback on it. Any and all suggestions are acceptable, but I would prefer if reviews were focused on making this more efficient. My ...
4
votes
1answer
47 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
67 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 ...
6
votes
2answers
98 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
60 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 ...
2
votes
1answer
57 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
104 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 ...
1
vote
1answer
69 views

LDAP Library structure, 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 structure. I have ...
5
votes
3answers
198 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
104 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
153 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
0answers
206 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
254 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
57 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
177 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
3k 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
167 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 ...
3
votes
2answers
135 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
960 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: ...
7
votes
2answers
209 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
111 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
308 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
192 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
281 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
263 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 ...
5
votes
0answers
273 views

Basis of custom C++ serialization lib

I know it's been done a million times already, but I couldn't find a serialization library to suit my needs. This is the very basis of what I came up with. I know the code is ugly and unstructured, so ...
2
votes
1answer
216 views

Review my JavaScript cookie library

I wrote a small JavaScript libary that aims to simplify JavaScript cookies. You can find the code on Github: https://github.com/js-coder/cookie.js I tested it in various browsers and it seems to work ...
1
vote
5answers
377 views

Any criticism on my JavaScript micro-library?

I made this little library for personal use to make javascripting faster and easier. I would like to know if there are any inefficiencies in it (in size and performance) and possibly if there is a ...
1
vote
3answers
303 views

Critique my parsing library interface

Update: I've realized that I've missed the goal of fluency completely. I have added another configuration interface now, which more closely meets what I originally desired. I've added this. Comments ...
8
votes
1answer
3k views

Small PHP MVC Template

The following is a new question based on answers from here: Small PHP Viewer/Controller template I have written a small MVC template library that I would like some critiques on. The library is ...
1
vote
2answers
3k views

Generic binary search

I have the following code for binary search ...
1
vote
1answer
151 views

Optimizing my CSS selector library

I've made a selector library at https://github.com/minitech/Sprint.js and it appears to be much slower than jQuery on the ID selectors #test and ...
6
votes
1answer
822 views

High level file structure and library structure [closed]

I'm working on a DOM-shim project. For a small subset of the DOM4 specification (Actually a subset of the Node interface) I already have 400+ lines of functions. I presume keeping this up will ...
17
votes
3answers
1k views

Small PHP Viewer/Controller template

I have written a small template Viewer/Controller esque library that I would like some critiques on. The library is located here If you are looking for where to start, check out ...
2
votes
1answer
611 views

A library written in CoffeeScript

So, I wrote this small library for fast DOM building with API tailored for CoffeeScript I feel like the code overall can be made better/smaller/faster. I am also not particularly happy about a few ...
1
vote
1answer
65 views

Critique the design and quality of this TrainingData class used in my image recognition software

I'm working on a project for an image recognition software. The software takes an image and returns a set of labels (a label is just a string of text) which describe the contents of that image. Each ...
8
votes
3answers
348 views

Basic JavaScript library

My own CMS is currently using jQuery, but as one of the goals is to have the whole project to be very small, I've decided to write my own basic library. I only really need to select elements and ...
11
votes
4answers
921 views

Thoughts on PHP Autoloader Library

Basically, I had written this class a little while ago to ease autoloading of our local libraries. The premise is that everything's split by packages into multiple layers of sub-packages. Classes ...