Hacker News new | ask | show | jobs
by networkimprov 2604 days ago
Maybe Flutter works as a client to a native localhost app? (Analogous to the browser for a localhost web app like Jupyter Notebook[1].)

Does it have a Websocket client?

[1] https://jupyter.org

2 comments

There's no reason to bother with websocket stuff, you can just call out to native code via platform channels ( https://flutter.dev/docs/development/platform-integration/pl... )

Just that once you do that you're no longer a portable cross-platform app, and there's limits to what you can do with that pipe in terms of data marshaling and the overhead from that.

Unless you're porting an existing localhost web app which is accessed via Websockets.