(no title)
vikinghckr | 3 years ago
My only question is why it took so long for someone to implement it? And where are the equivalent libraries for Go, Rust and Java?
vikinghckr | 3 years ago
My only question is why it took so long for someone to implement it? And where are the equivalent libraries for Go, Rust and Java?
alanbernstein|3 years ago
cutler|3 years ago
nuclearnice1|3 years ago
https://github.com/plotly/dash https://docs.bokeh.org/en/latest/
shrimpx|3 years ago
ativzzz|3 years ago
I tried using it a little bit but the reality is if you need JS to make your app more interactable it's really worth it to just learn some JS. As soon as you need something complex the extra layer of abstraction just gets in the way and becomes more of a headache, and if you don't need anything complex then you don't need a fancy JS solution in the first place.
JS only becomes complex when you are trying to create an enterprise version of your app along with a build platform. You can always just sprinkle in <script> tags in your HTML for simple one liners without getting into the weeds.
DoesntMatter22|3 years ago
You can be a lot more productive if you avoid JS entirely.
quechimba|3 years ago
jrumbut|3 years ago
If it's going to be rendered by and live in a web browser it will either be complicated or limited in some way (like low code/no code tools).
nu11ptr|3 years ago
Not aware of anything yet for Go/Rust, but Java and Python have had libs like this for a while now (to the point that Pyjamas hasn't been updated in a decade):
* GWT (Java)
* Pyjamas (Python)
* Vaadin (Java)
Those are general purpose. After that you have the sci/data-oriented python frameworks like dash, streamlit, etc.
vram22|3 years ago
https://www.webtoolkit.eu/wt
by https://www.emweb.be/
RonnieOwnsLexus|3 years ago
Most of the problems in web front have been solved in JS (think CSS styles, state management) re-writting it in python would be pain, especially when everything compiles to js
picklelo|3 years ago
aatd86|3 years ago
Hence the whole debate about signals vs no signals last week. :)
riceart|3 years ago
Uhhhh. Because it didn’t. Google GWT was huge on the hype cycle about 15 years ago.
You know this has been done before over a decade ago, multiple times in Java and Python.
Not saying the space can’t be improved upon but I fail to see how it’s any more revolutionary now.
jeremycarter|3 years ago
troymc|3 years ago
https://en.wikipedia.org/wiki/Blazor
raphinou|3 years ago
1: https://websharper.com/
zx14|3 years ago
psnehanshu|3 years ago
killerstorm|3 years ago
Compile-to-JS approach started to appear in mid 2000s.
raphinou|3 years ago
abraxas|3 years ago
agroot12|3 years ago
naraga|3 years ago
dragonwriter|3 years ago
This is by far the first front-end python implementation/framework. Skulpt, Brython, Anvil, PyFyre, PyScript, PyWebIO, and the list goes on…
hdhrufjdi|3 years ago
apetuskey|3 years ago