Svelte mode
michaeleisel opened this issue · 2 comments
michaeleisel commented
https://github.com/sveltejs/svelte is a "compiler that takes your declarative components and converts them into efficient JavaScript that surgically updates the DOM". The same principle can be applied here, turning declarative Swift code into imperative for better performance. It could also turn Swift into a lower-level language like C++.
Cosmo commented
@michaeleisel Do you have a use-case in mind?
michaeleisel commented
Using UIKit/SwiftUI will always drop frames here and there, so performance is always a place for improvement. Also, the popularity of svelte suggests that it's helpful for a wide variety of use cases