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)?

30th Aug 2019, 1:20 PM
Niklas
7 Respuestas
+ 2
I don't know this language but it seems good for high level apps.
2nd Sep 2019, 10:18 AM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar
+ 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.
30th Aug 2019, 3:37 PM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar
+ 1
Martin Taylor what is a webview app? Is it just like a webbrowser or does it contain native components?
30th Aug 2019, 6:39 PM
Niklas
+ 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?
1st Sep 2019, 7:18 PM
Niklas
0
Miquel Andreu Fuster Sancho Martin Taylor I read about Google Flutter, this seems to be a real solution for me, doesn‘t it?
2nd Sep 2019, 9:57 AM
Niklas
0
It seems is an UI based language.
2nd Sep 2019, 10:06 AM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar
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.
2nd Sep 2019, 10:11 AM
Niklas