> On Jan 9, 2022, at 2:09 PM, J. Gareth Moreton via fpc-devel 
> <fpc-devel@lists.freepascal.org> wrote:
> 
> https://www.patreon.com/posts/60922821

Your plans are vectorization are an important gain for linear algebra and 
games. 

Could you detect things like:

var
  a, b, c: TVec2;
begin
  c := a + b * V2(10, 10);

where the vec2 type has operator overloads for common operations? This kind of 
thing is very common in graphics math and I bet there's some clever ways you 
could compress that operation down. Curious how the C++ compilers do this 
also...

Regards,
        Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to