Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-31 Thread Fred van Stappen
From: mse00...@gmail.com To: mseide-msegui-talk@lists.sourceforge.net Date: Sat, 31 Jan 2015 15:56:32 +0100 Subject: Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-) On Saturday 31 January 2015 15:14:50 Fred van Stappen wrote: Hello. Is it possible to compile MSEide

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-30 Thread Martin Schreiber
On Friday 30 January 2015 19:25:09 misu kun wrote: if you add inline to test function , fpc 3.1.1 will produce ~ the same assember The difference is that LLVM knows that the procedure has no sideffects and that it is called with constant arguments - it produces a constant result and can be

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-26 Thread Ivanko B
How is this related to the future = The promise also offers combination of async=parallel ( all() ) sync=waited (then()) execution, for instance : Promise.all([async_func1(),..async_funcN(),..]).then(sync_func1()).then(sync_func2))... async_funcX() run in parallel (on different cores

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-26 Thread Michael Schnell
On 01/25/2015 07:32 PM, Ivanko B wrote: How about the Promise conseption for task parallelizing/waiting as a benifitiar of multiple cores? How is this related to the future notation used in Delphi Prism (aka Oxygen )? -Michael

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-25 Thread Ivanko B
Preventing from tossing registers stack we see in the example minimizes function call overhead :) and llvm beat gcc too i guess == Until gcc 2014+, for some scenarios, for sure What I saw up to now from LLVM backend is really impressive == And the one is constantly being

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-23 Thread Julio Jiménez
Totally agree with you. :) I think that using LLVM is a right choice. 2015-01-23 18:30 GMT+01:00 Martin Schreiber mse00...@gmail.com: On Friday 23 January 2015 17:20:55 Julio Jiménez wrote: BTW, GCC 4.9 vs LLVM CLang 3.5 at Phoronix What I saw up to now from LLVM backend is really

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-23 Thread Martin Schreiber
On Friday 23 January 2015 17:20:55 Julio Jiménez wrote: BTW, GCC 4.9 vs LLVM CLang 3.5 at Phoronix What I saw up to now from LLVM backend is really impressive. I also like the concept with the LLVM bitcode input because it enables to use multiple cores for the MSElang frontend and the unit

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-23 Thread Julio Jiménez
BTW, GCC 4.9 vs LLVM CLang 3.5 at Phoronix http://www.phoronix.com/scan.php?page=articleitem=gcc49_compiler_llvm35 2015-01-23 14:09 GMT+01:00 Martin Schreiber mse00...@gmail.com: Hi, Here the first comparison of FPC and MSElang produced code: Source: program test1; function test(p1:

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-23 Thread Julio Jiménez
Comparison? ;) Well, bit by bit... :) 2015-01-23 14:09 GMT+01:00 Martin Schreiber mse00...@gmail.com: Hi, Here the first comparison of FPC and MSElang produced code: Source: program test1; function test(p1: int32): int32; var i1: int32; begin i1:= p1; result:= p1+i1; end;

[MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-23 Thread Martin Schreiber
Hi, Here the first comparison of FPC and MSElang produced code: Source: program test1; function test(p1: int32): int32; var i1: int32; begin i1:= p1; result:= p1+i1; end; begin exitcode:= test(123); end. MSElang with LLVM backend with -O3: .file test-opt.ll .text

Re: [MSEide-MSEgui-talk] First comparison MSElang - FPC ;-)

2015-01-23 Thread misu kun
LLVM calculate the result at compile time , but, for sure llvm is more powerful than fpc ;) , and llvm beat gcc too i guess -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a