Sunday, February 22, 2015

Digest for comp.programming.threads@googlegroups.com - 9 updates in 5 topics

Bonita Montero <Bonita.Montero@gmail.com>: Feb 13 10:02PM +0100

Ramine wrote:
 
> For Visual C++ 32 bit it gives:
^^

> And for FreePascal 64 bit (from the trunk that was optimized)
^^
 
Comparing 32 and 64 bit code ist comparing apples and pears.
64 bit code has more registers and therefore is faster.
I'll bet 64 bit C++ code optimized the same way like pascal
-code will outperform the pascal-code because of the better
C++-compilers.
And just ignoring, that C++ is the smarter language.
Melzzzzz <mel@zzzzz.com>: Feb 13 10:25PM +0100

On Fri, 13 Feb 2015 22:02:38 +0100
> -code will outperform the pascal-code because of the better
> C++-compilers.
> And just ignoring, that C++ is the smarter language.
 
For reference:
 
[bmaxa@maxa-pc sci]$ java jnt.scimark2.commandline
 
SciMark 2.0a
 
Composite Score: 2266.6183001230893
FFT (1024): 1389.279726779432
SOR (100x100): 1653.3291557147395
Monte Carlo : 877.5985388498531
Sparse matmult (N=1000, nz=5000): 1828.6989227937966
LU (100x100): 5584.185156477624
 
java.vendor: Oracle Corporation
java.version: 1.7.0_76
os.arch: amd64
os.name: Linux
os.version: 3.18.6-1-MANJARO
 
[bmaxa@maxa-pc sci]$ gcc -Wall -O3 -march=native *.c -o scimark2 -lm
[bmaxa@maxa-pc sci]$ ./scimark2
** **
** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
** for details. (Results can be submitted to pozo@nist.gov) **
** **
Using 2.00 seconds min time per kenel.
Composite Score: 2813.76
FFT Mflops: 2292.31 (N=1024)
SOR Mflops: 2446.00 (100 x 100)
MonteCarlo: Mflops: 658.08
Sparse matmult Mflops: 3028.21 (N=1000, nz=5000)
LU Mflops: 5644.21 (M=100, N=100)
[bmaxa@maxa-pc sci]$ clang -Wall -O3 -march=native *.c -o scimark2 -lm
[bmaxa@maxa-pc sci]$ ./scimark2
** **
** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
** for details. (Results can be submitted to pozo@nist.gov) **
** **
Using 2.00 seconds min time per kenel.
Composite Score: 2743.54
FFT Mflops: 1640.43 (N=1024)
SOR Mflops: 1875.82 (100 x 100)
MonteCarlo: Mflops: 629.14
Sparse matmult Mflops: 2904.31 (N=1000, nz=5000)
LU Mflops: 6668.00 (M=100, N=100)
[bmaxa@maxa-pc sci]$
Ramine <ramine@1.1>: Feb 21 06:21PM -0800

Hello,
 
 
Why have i invented and implemented Winmenus ? i have looked
at ncurse's library of Linux, and i wanted to implement something
similar , yet powerful and cool for windows, this is why i have invented
and implemented my Winmenus, don't be fooled by Winmenus, notice at how
Winmenus is smart nd powerful, look also at the source code and notice
at how it is designed with easy and efficiency in mind ... this was my
contribution to FreePascal and Delphi...
 
 
You can download the source code of my Winmenus from:
 
https://sites.google.com/site/aminer68/winmenus
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Feb 21 06:25PM -0800

Hello,
 
My Winmenus is portable to Windows,Linux and MacOSX on x86 systems....
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Feb 21 06:05PM -0800

Hello,
 
 
Here is another demo of my Winmenus unit that you can run, this
one will show you how you can search inside the widget using
wildcards, here is the steps to follow: first run the "test.exe"
demo, and after that you can scroll with your keyboard using the left
arrow and right arrow and down arrow and up arrow, and after that
cick on F2 key on your keyboard, the demo will allow you to search
inside the widget, there is 100000 names inside the first Widget ,
so you can search for example for 100000, so type 100000 and press enter
and you will see how my widget manage the search inside
the code, the widget will search and focus on the 100000th element,
after that you can click on the "home" key or the "End" key on your
keyboard to go the the beginning or to the end of the list, or
you can scroll with the "page Up" key or the "page Down" key,
so as you will notice my text mode Widget is really cool,
and it is much more powerful than that cause you can construct bigger
constructs with it.
 
Here is the new demo, download it and run it and look at it:
 
https://sites.google.com/site/aminer68/winmenus-demo
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Feb 21 06:08PM -0800

On 2/21/2015 6:05 PM, Ramine wrote:
> demo, and after that you can scroll with your keyboard using the left
> arrow and right arrow and down arrow and up arrow, and after that
> cick on F2 key on your keyboard, the demo will allow you to search
 
I mean: press on the F1 key on your keyboard to search...
 
 
 
Ramine <ramine@1.1>: Feb 21 06:13PM -0800

Hello...
 
 
Press on F1 key to search..
 
And press also on the "Tab" key to switch between the widget menus...
 
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Feb 21 04:01PM -0800

Hello,
 
 
You have to understand me more, as you have noticed i have invented
and implemented many algorithms an libraries, and i have come to a
conclusion that i want to share with you, i have saw many programmers
on the C and C++ and Java newsgroups discussing programming , but i have
saw them also focusing more on how to factor the code using objects,
generics and/or Lambda expressions, and managing the complexity of the
code by using objects and generics and/or Lambda expressions , also i
saw them focusing on how to learn more how to respect the standards to
be able to render your code portable accross different systems, but i
think i have to be frank with you, beacause when i have invented and
implemented my parallel libraries and all my libraries , the most
difficult part that i have found is not learning how to use effectivly
objects , generics and/or lambda expressions and it's not using
effectivly the standards to make your code portable accross different
systems, but the most difficult part, and it's by experience that i am
telling so, is that you have to be "smart" to "invent" or to implement
or to design efficiently your projects, the most difficult part is that
you must be "smart", i mean if you are not smart enough , you will not
be able to invent new and interesting things in programming, and you
will not be able to render your code fast and good at the efficiency
criteria, this is why i must say that if you want to invent interesting
things or to render your code fast and efficient you have to call
"smart" programmers to do it, and i think that it's the most important
thing of programming. But if you are not a "smart" programmer, there is
still hope ! If you are not a "smart" programmer , what you can do is
focus on the criteria of "reusability" to make bigger and faster and
efficient programming constructs, and this my friends, "reusability", is
where programming shines ! so you will notice that if you want to invent
something like my StringTree or Winmenus or my Parallel libraries ,
average programmers will find that many of my projects are difficult, so
the best way to do is use those smart libraries like mine to make bigger
and faster and efficient constructs, and by applying more and more
"reusability" i don't think that you need to be a smart programmer to
succeed, so finally i can say that there is still hope !
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Feb 21 01:35PM -0800

Hello..
 
 
Finally i will start my next projects...
 
Since i have made my StringTree and my Winmenus stable now and
really fast also, i think i will start my next projects that are a
text mode graphical user interface for my parallel archiver and a
parallel sort library that is scalable on NUMA architecture,
so as you have noticed, since my Winmenus and StringTree can both handle
millions of file's names fast, so i think my text mode graphical user
interface for parallel archiver, that will be constructed using Winmenus
and StringTree, will be really fast and really good... so stay tuned my
next projects are coming...
 
 
 
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: