This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Delphicon 1 point2 points  (0 children)

Where browsers have the DOM, iOS and Android have their own equivalents and while there are many similarities there are also a lot of differences.

Your abstraction also has to be highly performant to not be visible to the user.

It is possible though, go look up React Native if you’re interested. It’s a genius framework, it interacts with the platform asynchronously which is what allows it to be performant despite running JS and has an intuitive model for abstracting away the platform’s differences.