[fpc-devel] Plans for 2022

Ryan Joseph genericptr at gmail.com
Mon Jan 10 04:08:56 CET 2022

> On Jan 9, 2022, at 2:09 PM, J. Gareth Moreton via fpc-devel <fpc-devel at 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:

  a, b, c: TVec2;
  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...

	Ryan Joseph

More information about the fpc-devel mailing list