Hacker News new | past | comments | ask | show | jobs | submit login

> Flow is a complete platform for writing apps in a functional programming language that can run everywhere.

It says that Flow apps run everywhere (Android, iOS and the browser via HTML5). Maybe I missed it, but how does it do this? Does it compile to a progressive web app?




> It says that Flow apps run everywhere (Android, iOS

I'm curious too since I did a quick browse and there doesn't seem to be any info/docs on generating an APK.


It has multiple backends. It can produce optimized JS, readable JS, typescript, and that can be used for progressive webapps. It also has a Java backend for server-side use and command line programs (such as the self-hosted compiler). It has a native bytecode, which is used for Android and iOS native apps. There is a 64-bit JIT for x64 for Linux, Mac, Windows for this bytecode as well. There is also a C++ backend, which can also be used for Android, iOS and desktop OSes. There is also a C# backend for Windows Phone, but since that platform is dead, it has bitrotted. Should not be too hard to resurrect if someone needs it. The language is relatively small, so easy to add a new backend. The biggest task is to port the runtime.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: