Hacker News new | ask | show | jobs
by maest 1894 days ago
Can you expand on what you mean by "latency" is not a concern? As in, the UI is very laggy?
2 comments

Streamlit doesn't expose async / callback stuff in the API, instead the script is rerun from the start every time the user clicks a checkbox, manipulates a slider etc. This makes it really easy to make apps, but depending on the computations occurring on each render it can get pretty sluggish. There is support to cache to speed things up, e.g. data downloads.
The UI is usually quite snappy, but will get held up if your code takes a long time to run. Just like any other frontend framework.