Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
by picklelo on Monday March 13, 2023 @03:07PM
(#35140825)
Our goal is for the user to never have to see JS. We try to catch most errors in Python during compile time. We're also not trying to reinvent things like CSS styles, just make them accessible in Python.
[ Parent
| on HN ]
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
by tasuki on Monday March 13, 2023 @05:22PM
(#35142940)
> We try to catch most errors in Python during compile time.
I feel Python is not the best language for catching most errors during compile time.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
by picklelo on Monday March 13, 2023 @05:32PM
(#35143100)
We're using Pydantic and our compiler has custom type-checking on top of Python to catch these issues.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
by moffkalast on Tuesday March 14, 2023 @08:21AM
(#35150309)
That's not gonna happen if they have to solve browser runtime errors. And with there being so much variance between browsers and random nonsense to hack around, how can you possibly get around that?
Besides, python and js are so similar it's really funny to see people not wanting to use one but cling to the other.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
by alanbernstein on Tuesday March 14, 2023 @10:33AM
(#35152173)
The available libraries are quite different between the two languages.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
by moffkalast on Tuesday March 14, 2023 @11:11AM
(#35152770)
Does this thing also convert python libraries for use on the web? Can it compile say keras or pytorch to javascript? I guess that would neat to have on the browser client side.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
by alanbernstein on Tuesday March 14, 2023 @04:34PM
(#35158052)
I don't know much about Pynecone, but that is indeed what pyodide does:
> These include many general-purpose packages such as regex, pyyaml, lxml and scientific Python packages including numpy, pandas, scipy, matplotlib, and scikit-learn.
Again, not super familiar, so I don't know the level of effort required to support these libraries. Maybe adding pytorch would be infeasible, maybe they just need enough people to express interest.