Re: [Bug-apl] Performance optimisations: Results

2014-03-14 Thread Elias Mårtenson
I'm pretty sure I know why that is. When TBB runs a parallel loop it uses all 8 of my virtual cores (4 cores × 2 threads). However, there is lots of overhead in other places. The actual computation (the monadic negation function in my test) took about a quarter to a fifth (140 ms per iteration) of

Re: [Bug-apl] "Largest integer" isnt' really largest?

2014-03-14 Thread Frederick H. Pitts
Hello Jürgen, Web page http://www.gnu.org/software/apl/apl.html#Chapter-3 states Gnu APL integers are 64-bit wide, thus ranging from -9223372036854775808 to 9223372036854775807. As a naive user, I expect that to mean I can do accurate integer addition and subtraction in the above

Re: [Bug-apl] Performance optimisations: Results

2014-03-14 Thread Juergen Sauermann
Hi David, sounds like something is wrong. OpenMP states that their parallisation overhead is 4000 or so cycles which is much less than your measurements. Maybe some unintended sync between the threads? Could you send me the latest patch? /// Juergen On 03/14/2014 05:18 PM, David Lamkins wro

Re: [Bug-apl] Performance optimisations: Results

2014-03-14 Thread David Lamkins
This is interesting. The parallel speedup on your machine using TBB is in the same ballpark as on my machine using OpenMP, and they're both delivering less than a 2:1 speedup. I informally ran some experiments two nights ago to try to characterize the behavior. On my machine, with OpenMP #pragmas

Re: [Bug-apl] Building on OS X 10.8.5 Mountain Lion - SOLVED and How to setup your keyboard.

2014-03-14 Thread Juergen Sauermann
Hi, yes, of course. Once I am through with my part, I will send out a message asking for issues that I may have overseen. /// Juergen On 03/14/2014 03:01 PM, Elias Mårtenson wrote: Do you think we could mention that the Emacs mode is available on the MELPA repository as well? This is so th

Re: [Bug-apl] Building on OS X 10.8.5 Mountain Lion - SOLVED and How to setup your keyboard.

2014-03-14 Thread Peter Teeson
OK. I am in the process of making a LATeX doc and will also update README-6-porting and send it to you when done. respect…. Peter On 2014-03-14, at 9:52 AM, Juergen Sauermann wrote: > Hi Peter, > > my plan was to include your information in our README-6-porting in the next > release. > >

[Bug-apl] Performance optimisations: Results

2014-03-14 Thread Elias Mårtenson
Hello guys, I've spent some time experimenting with various performance optimisations and I would like to share my latest results with you: I've run a lot of tests using Callgrind, which is part of the Valgrindtool (documentation here

Re: [Bug-apl] Building on OS X 10.8.5 Mountain Lion - SOLVED and How to setup your keyboard.

2014-03-14 Thread Elias Mårtenson
Do you think we could mention that the Emacs mode is available on the MELPA repository as well? This is so that they understand that they don't have to download it themselves. Regards, Elias On 14 March 2014 21:52, Juergen Sauermann wrote: > Hi Peter, > > my plan was to include your informatio

Re: [Bug-apl] Building on OS X 10.8.5 Mountain Lion - SOLVED and How to setup your keyboard.

2014-03-14 Thread Juergen Sauermann
Hi Peter, my plan was to include your information in our README-6-porting in the next release. I am currently preparing that release, but have not reached that point yet because I am working on keyboard input related proposals and methods. Please feel invited to send an updated README-6-por

[Bug-apl] Re : Re: GNU APL as javascript!

2014-03-14 Thread Thomas Baruchel
> OK, that was pretty cool I must admit. I had no idea it was this capable. Thank you. By the way, my message from yesterday is now obsolete (concerning shared memory; it wasn't finally the most difficult). Regards, -- Thomas Baruchel

Re: [Bug-apl] GNU APL as javascript!

2014-03-14 Thread Elias Mårtenson
OK, that was pretty cool I must admit. I had no idea it was this capable. On 14 March 2014 15:38, Thomas Baruchel wrote: > I did it! > > First success > > A little hacky, but now I got the point I will make it better and better > in the weeks to come: > http://baruchel.hd.free.fr/apps/apl/ > >

[Bug-apl] GNU APL as javascript!

2014-03-14 Thread Thomas Baruchel
I did it! First success A little hacky, but now I got the point I will make it better and better in the weeks to come: http://baruchel.hd.free.fr/apps/apl/ Regards, -- Thomas Baruchel