Re: [MSEide-MSEgui-talk] Status of MSELang

2021-04-19 Thread fredvs
Hello.

There are some test-benchmark of mselang here:

https://github.com/mse-org/mselang/tree/master/src/benchmark



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Status of MSELang

2021-04-19 Thread Graeme Geldenhuys
On 19/04/2021 6:32 am, Alexander via mseide-msegui-talk wrote:
> And why do you need LLVM when using Pascal? How about .pas to ELF directly ?

>From what I understand, LLVM does very very impressive optimisations when
in generates the final binary executable. Way more that what the FPC
compiler can achieve.  Even Delphi's compiler does a LOT more optimisations
that FPC - hence Delphi binaries tend to be a lot faster. The Kylix
compiler was the same. Martin used to often post speed comparisons in the
FPC mailing list to show how slow FPC was.

It is well known that the Free Pascal developers pay more attention to
the FPC code being maintainable and supports easier porting to new platforms
or CPU's - than they do about optimising the final binary.

With MSELang, you will still program in "object pascal", it will just be
using LLVM that generates the final optimised binary.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Status of MSELang

2021-04-19 Thread fredvs
> And why do you need LLVM when using Pascal? 

Because LLVM does it much better for float calculation for example.

"Pure" fpc is ok for database applications for example but once you work
with animation, DSP, live sound effect, etc, where lot of float calculation
is needed, the result is much slower than using LLVM.

In my side, I am more interested with sound applications and multi-media,
and a fpc application cannot be fast as LLVM.

But, at the moment, LLVM has only a C module and I will be very happy if
there is a Pascal LLVM module, like mselang.

> How about .pas to ELF directly ? 

Maybe but the problem will be the same as using fpc, how will you do for the
optimization that LLVM does?

Note that even Google has choose LLVM for his applications now and will
contribute to make LLVM better.

 Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk