freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] "Inside the fastest font renderer in the world"


From: Behdad Esfahbod
Subject: Re: [ft-devel] "Inside the fastest font renderer in the world"
Date: Thu, 4 Aug 2016 13:23:40 -0700

On Thu, Aug 4, 2016 at 1:19 PM, Alexei Podtelezhnikov
<address@hidden> wrote:
> On Thu, Aug 4, 2016 at 3:42 PM, Werner LEMBERG <address@hidden> wrote:
>>
>>> A first step towards making this new renderer generally useful would
>>> be to convert it or compile it (using the Crust compiler) to C.
>>
>> Is there a volunteer for this?  Raph is quite busy, he told me...
>
> Conceptually, are we into parallelizing Freetype rendering engine? As
> I alluded earlier this can be happily delegated to text layout
> engines. Hence we used to care about thread safety in Freetype, while
> the text layout engine is busy processing 8 letters at once. Raph uses
> at least 8-core processor. I would be interested to see how his
> renderer performs on a single core, without parallel tricks.

You are seriously misunderstanding what font-rs is doing.  It's using
SIMD instructions [0].  That's still one core.  And, he's also showing
6x speedup without SIMD.  Really, it's just plain honest tight piece
of code.  No magic involved.

[0] https://en.wikipedia.org/wiki/SIMD

-- 
behdad
http://behdad.org/rr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]