Live data from Hacker News

Lottie 4.0 for iOS: new render engine with significant performance improvements

medium.com

21–30 of 127 posts

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#22
post #11

I suppose Rive [0] will have to make a response to this to clarify just how much better it is than Lottie - as far as performance goes. [0]: https://rive.app/

https://rive.app/use-cases Thanks, I hate it.

I like it. Obviously don't use it for everything but small UX touches here and there make a brand more likeable to users, in my experience doing frontend and design interviews.

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#24
post #13

> These issues are inherent limitations of using a main-thread-bound rendering architecture. sorry but bullshit! Sure, multi-threaded rendering can give faster results but the apps AirBnB is making could have easily rendered at 60hz with single threaded software rendering in flash in 1998! I can only guess that too much abstraction throughout the systems has turned into death by 1000 cuts and their solution, instead…

Lottie is an industry standard cross-platform animations pipeline, its not limited to "apps AirBnB is making".

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#25
post #11

I suppose Rive [0] will have to make a response to this to clarify just how much better it is than Lottie - as far as performance goes. [0]: https://rive.app/

Does Rive run After Effects animations? I thought that was Lottie’s purpose in life, to bring AE to all the things.

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#26
post #23

Great work on the new release! I've been using Lottie for a while now and have definitely noticed the performance improvements with the new rendering engine. It's really exciting to see Lottie continue to evolve and improve. Keep up the good work!

Thanks!

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#27
post #11

I suppose Rive [0] will have to make a response to this to clarify just how much better it is than Lottie - as far as performance goes. [0]: https://rive.app/

https://rive.app/use-cases Thanks, I hate it.

Really, why? I thought they were charming and well-executed.

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#28

Crazy to me that animations would have been done on the main thread but that showed how far you can get with kiss. The performance improvement they’re showing is great -17% CPU to display a loading animation down to 0. Before the animation could be interfering with the loading!

Are you on iOS Developer? Anything related to UI is always suggested to be done on the main thread by Apple.

Core Animation is designed to move work related to playing animations off of the app's main thread. Animations are instead performed by a different process, the OS render server. The UIViews / CALayers / CAAnimations themselves have to be configured on the main thread, but the work to actually play the animation and render each individual frame doesn't happen on the main thread.

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#29
post #11

I suppose Rive [0] will have to make a response to this to clarify just how much better it is than Lottie - as far as performance goes. [0]: https://rive.app/

Does Rive run After Effects animations? I thought that was Lottie’s purpose in life, to bring AE to all the things.

Rive does not. They're positioning themselves as an alternative with their own state machine / visual editor pipeline

Re: Lottie 4.0 for iOS: new render engine with significant performance improvements

#30

Crazy to me that animations would have been done on the main thread but that showed how far you can get with kiss. The performance improvement they’re showing is great -17% CPU to display a loading animation down to 0. Before the animation could be interfering with the loading!

Are you on iOS Developer? Anything related to UI is always suggested to be done on the main thread by Apple.

No. Animations are usually performed by the GPU under the control of a separate process.

"This system framework renders animations out-of-process with GPU hardware acceleration. Animation playback is managed by a separate system process called the “render server”. "

This was actually a really cool trick that was in-place from day 1 and the main reason iOS animations were smooth on fairly anaemic hardware. And smoother than Android, even when the Android system had beefier hardware and a faster graphics stack.

Post reply on HN