Live data from Hacker News

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

medium.com

11–20 of 127 posts

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

#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 of getting rid of the 1000 cuts is to apply more band-aids

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

#14
Related:

Lottie – Use after effects animations in web and native apps - https://news.ycombinator.com/item?id=29634114 - Dec 2021 (111 comments)

Lottie for Android, iOS, React Native, and Web - https://news.ycombinator.com/item?id=17209832 - June 2018 (18 comments)

Introducing Lottie: Airbnb's tool for adding animations to native apps - https://news.ycombinator.com/item?id=13543927 - Feb 2017 (97 comments)

Others?

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

#16
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.

Call me old, but I don’t like it all. This seems over the top

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

#17

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.

The standard path for animation on iOS is that the developer provides new target values (ie the location of something) on the main thread, but the animation and rendering does not block the main thread.

This blog post is about enabling Lottie to use that path.

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

#18

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.

Right, and only recently did they start providing things like "background-thread image decoding" out of the box. In general you really have to take care that you are marshaling correctly if you bounce between main/background.

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

#19
post #7

What is that header image of a beach about? Is that a rendering?

That's there to ensure you know how cool and hip they are.

Not only did they just release a thing, that does stuff, and is progress. But they did it over the weekend between surf without breaking a sweat because they are pro. /s

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

#20
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/

Rive has a new renderer as well coming out: https://twitter.com/guidorosso/status/1595187838454140928

I guess people in this space are discovering that their old renderers simply aren't as fast as they need them to be, Lottie included.

Post reply on HN