Description:
Programming issues that transcend languages and OSs.
|
|
|
What nice programming language to my problem?
|
| |
Hello all,
My vacations. I decided to learn some programming languages in three
hobby projects. I've been programming in C (structured), C++ and Java
(with more or less OO) for some time being. I had three hobby projects
- with GUI - and wanted to implement each of them in different
languages.... more »
|
|
the skinny on flyweight
|
| |
I have always heard of the flyweight pattern being used in a word processor, but never anywhere else. Has anyone else heard/seen any real-world use cases outside of a word processor?
|
|
Project Euler - add all natural numbers below 1000
|
| |
AIM: To write a program to add all natural numbers below 1000 that are multiples of 3 or 5.
WHAT I GOT: it works
Question-1: Look at the for loop, instead of looping for 1000 times and checking the value inside, I am simply looping it 1000/3 = 333 times. Ist that impressive ?
Question-2: Can it be improved ?... more »
|
|
RYB
|
| |
Does anyone really know why everything is RGB instead of RYB?
Like most people, I was brought up being told the primary colors were red, yellow, blue.
Was that simply wrong?
|
|
ANN: Seed7 Release 2012-05-20
|
| |
Hello,
I have released a new version of Seed7: seed7_05_20120520.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other... more »
|
|
About my parallelsort library ....
|
| |
Hello,
If you take a look at the graph of the benchmarks that i did on
my parallelsort library , you will notice that i am getting a superlinear
speed up , look at this:
[link]
So a question follows:
How am i getting this superlinear speed up on this example using... more »
|
|
Lockfree_mpmc version 1.12 ...
|
| |
Hello,
Look at: [link]
In the pop() side of this lockfree quueue we have:
-------------- function gFLQueue.pop(var tm:_R):boolean;
var newhead, lastHead : integer;
begin
repeat
lastHead:=head;
if tail<>head
then
begin
pointer(newHead):=interlockedC ompareExchange(pointer(head),p ointer(lastHead... more »
|
|
Parallelcompression library was updated to version 2.16 ...
|
| |
Hello,
Parallelcompression library was updated to version 2.16 , i have
just changed the code inside my threadpool.pas engine inside the
parallel compression zipfile to not use work-stealing , cause work-stealing
will cause a deadlock in parallelcompression library, so please use the
threadpool engine that i have provided you inside the parallelcompression... more »
|
|
Parallel compression library version 2.15 ...
|
| |
Hello,
My ParallelCompression library version 2.15 is here, i have added
the Parallel LZ algorithm and also i have added a testfile() method
to test if your compressed file is ok .
Description:
Parallel compression library implements Parallel Gzip , Parallel Bzip ,
Parallel LZMA and Parallel LZ algorithms using my Thread Pool Engine.... more »
|
|
Parallelhashlist was updated to version 1.31 ...
|
| |
Hello,
In my previous version of ParallelHashList even if i have used
lock striping , synchronizing access to the counter that computes
the number of entries in the hashtable was reintroducing the scalability
problem of exclusive locking, this counter was called a hot field because
every mutative operation needs to access it. In version 1.31,... more »
|
|
|