Re: Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

2015-09-29 Thread Skybuck Flying
Hello, (It is now 29 september 2015) As promised here is Skybuck's Parallel Universal Code demonstration program. This posting contains a Delphi and C/C++ version for you to learn from. (I was kinda thinking of adding some kind of case statement/array and out of order execution/randomization

Re: Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

2015-09-23 Thread Skybuck Flying
Also here is test set 2 to test input values: // input test 2, c version a1 = 1; a2 = 0; a3 = 0; a4 = 1; b1 = 1; b2 = 1; b3 = 0; c1 = 1; d1 = 1; d2 = 1; d3 = 0; d4 = 0; d5 = 1; d6 = 0; Bye, Skybuck. -- https://mail.python.org/mailman/listinfo/python-list

Re: Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

2015-09-23 Thread Skybuck Flying
Here is the C version of the example in case your Delphi-to-C skills are not so great or you lazy lol =D: // ParallelDecodingCVersion.cpp : Defines the entry point for the console application. // #include "stdafx.h" // Begin of Dummy Decoder Example const int MaxProcessorCount = 4; int _tm

Re: Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

2015-09-23 Thread Skybuck Flying
The example may be modified as much as needed. For now my solution needs a little reading pad to avoid costly mods or branches or whatever. I think this is a nice speedy solution, so code may be modified as follows: const MaxProcessorCount = 4; var // information stream, input Stream : array[

Re: Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

2015-09-21 Thread Skybuck Flying
Just to be clear on this, the code you have to write doesn't need to be truely parallel. It must be parallel in potential, so it should be able to execute independenlty from each other and out of order. Bye, Skybuck. -- https://mail.python.org/mailman/listinfo/python-list

Re: Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

2015-09-20 Thread Skybuck Flying
Or point your newsgroup reader to newsgroup: comp.arch Then see thread/topic: "Parallel decoding lesson for you" by Skybuck. Bye, Skybuck. -- https://mail.python.org/mailman/listinfo/python-list

Re: Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

2015-09-20 Thread Skybuck Flying
Since more people might be interested in this I will re-post this a second time to include more newsgroups... those two threads will need to be followed if all responses are to be seen ;) Here is your dummy decoder example: Let's turn this into a somewhat of a contest and ofcourse also teachin