— V8 is C++ which is already typed
Yeah, but would be cool if you could exec ts natively and it’d be as fast as typed language not cringe dynamic js
— But yes you can just go for asmscript and interop some little DOM calls
— I try to work within my limitations before thinking to try and work around them when it comes to technology in general.
Message permanent page
— JS/ES is just that: script. Don't expect proper optimizations from it but do expect syntactic flexibility.
— Remember: the DOM is single-threaded
— If browser improves, performance too
— I also thought about the problem of UI performance on hybrid apps. That could be solved if the browser is able to parse somehow the HTML and map it to native UI components that runs natively on the Android/iOS..
— Idk just make native apps + web app flutter / rnative / blazor
— Pre-optimization is the root
— But if you want a web app too for pc, tv.. you already need to code more times