Hacker News new | ask | show | jobs
by scarface74 1250 days ago
So exactly how do you create a performant cross platform framework that takes advantage of all the platforms features? What happens when one of them create a new feature for their operating system?

When has there ever been a performant cross platform framework?

1 comments

The abstraction doesn't have to be perfect. Most apps don't even take advantage of native platform functionality.
So now you’re going to have half assed cross platform products that you still have to have a bunch of #if ios preprocessing statements and won’t take advantage of the native features.

As a developer you will always have applications that are behind and have to wait on the third party.

This has been the case with every cross platform framework ever. See also JNI.

Nothing's perfect and often when there are platform inconsistencies like that someone abstracts the functionality away in a package so the application developer doesn't need to worry about it. I'd rather have 80% code sharing across platforms than no code sharing.
Have you ever done GUI development of a large app that was meant to be cross platform using Java?

What happens when it isn’t just an inconsistency. But a feature doesn’t exist at all? They have different number of parameters?

How do you handle the different permission models?

The apps are never as good. You still will have just as many shitty half assed apps as you have today with Electron.

Both Google and Facebook have both decided that cross platform apps weren’t good enough.

https://blog.xojo.com/2021/10/12/google-switches-to-native-o...