The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
109 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
99 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: #ifndef BRUSHPID_H #define BRUSHPID_H #if defined(ARDUINO) ...
4
votes
2answers
96 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. ...
-1
votes
1answer
48 views

Am I using the Input/Output Stream Library right? [closed]

I am a newbie in C++ programming and I'm trying to use std:: because someone told me that is a good habit rather than putting in using namespace std; because it pollutes the global namespace. I'm not ...
3
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 ...
0
votes
0answers
68 views

How to improve speed of this piece of CUDA code?

I'm trying to port my library to CUDA. I wrote first version, but it is slower than CPU version. How can I improve speed of this code? What mistakes did I do? Best regards, Nick This is a piece of ...
0
votes
0answers
100 views

Why this CUDA program slower than a CPU program? How can I improve it's speed?

I partially ported my lib (https://github.com/NicholasShatokhin/OpenNNL) in CUDA (https://github.com/NicholasShatokhin/OpenNNLCuda). But CUDA version slower than CPU version. Can anybody look function ...
4
votes
1answer
61 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 ...
0
votes
2answers
150 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
163 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: ...
2
votes
0answers
182 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 ...
7
votes
2answers
235 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
1answer
181 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
3answers
284 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 ...
6
votes
1answer
2k 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 ...
2
votes
1answer
126 views

Makefile Magic on Simple Linux C Project

I am in the early stages of learning to write makefiles for larger projects where all the source will be spread across multiple directories. Instead of posting all the source, I have provided a link ...
1
vote
2answers
2k views

Generic binary search

I have the following code for binary search using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Diagnostics; namespace ...
1
vote
1answer
135 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 #test2, and on the selector *. Can anyone point out ...
6
votes
1answer
594 views

High level file structure and library structure

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 ...
15
votes
2answers
839 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 App.php and ...
2
votes
1answer
488 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
62 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 ...
7
votes
3answers
313 views

I'm working on my own JS-lib and I need someone to help.

My own CMS is currently using J-Query but as one of the goals is to have the whole project to be very small, so I've decided to write my own basic library, I only really need to select elements and ...
9
votes
4answers
810 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 ...