0
One code for all platforms
Hello everyone. Is there a programming language or framework that allows you to code once and run the code on mobile (iOS & Android), desktop (Windows, Mac & Linux) and in any web browser as a web app? Iâve already heard of React Native and electron but as far as I know they just cover a few of the platforms. So my question: Is there any language/framework out there that covers every single platform with one code (and maybe some minor changes for each OS)?
10 Answers
+ 2
I don't know this language but it seems good for high level apps.
+ 1
No, it doesn't exist. Every microprocessor and microcontroller has its own instruction list (his own assembler).
On top of it you have the Hardware Abstraction Layer (C, Fortran, other medium level language with low or inexistent overhead).
Next comes the OS with his kernel, API, etc.
Frameworks.
High level languages.
Browsers.
JavaScript and others browser dependent languages.
Every step in this ladder has less platforms to run.
And that's why no exists one universal programming language.
+ 1
Martin Taylor what is a webview app? Is it just like a webbrowser or does it contain native components?
+ 1
Thanks Martin Taylor. Does the user realize that my app is not a native app developed with Swift or Java apart from some restrictions for me as a developer to access some native components as the camera or the microphone for example?
0
Miquel Andreu Fuster Sancho Martin Taylor I read about Google Flutter, this seems to be a real solution for me, doesnât it?
0
It seems is an UI based language.
0
Miquel Andreu Fuster Sancho yes but the Dart programming language used for Flutter can be used for frontend and backend.
It seems that I can compile my source code to desktop, mobile and web apps.