Live data from Hacker News

Pyodide: Bringing the scientific Python stack to the browser

hacks.mozilla.org

1–10 of 120 posts

Re: Pyodide: Bringing the scientific Python stack to the browser

#4

I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.

Why not just use Django or Flask? Python web dev is great because you do have access to so many of these incredible scientific libraries like Pandas, etc.

Re: Pyodide: Bringing the scientific Python stack to the browser

#5

I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.

Why not just use Django or Flask? Python web dev is great because you do have access to so many of these incredible scientific libraries like Pandas, etc.

the problem is now you have to rewrite your entire application around the web stack. That's a huge impedence mismatch. Taken to extreme, you end up with Pandas.

Re: Pyodide: Bringing the scientific Python stack to the browser

#6

I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.

Why not just use Django or Flask? Python web dev is great because you do have access to so many of these incredible scientific libraries like Pandas, etc.

Those work great for the "back end" but don't cover the aspects of the in-browser "front end" unless you do everything on the server side.

Re: Pyodide: Bringing the scientific Python stack to the browser

#8

I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.

Why not just use Django or Flask? Python web dev is great because you do have access to so many of these incredible scientific libraries like Pandas, etc.

I don't know anything about web dev, so maybe it's a stupid question, but you still need javascript for the front end, right? You can't build the front and back end development completely in python?

Re: Pyodide: Bringing the scientific Python stack to the browser

#9
post #2

Is anyone using this yet? What’s your experience been?

I've used it for a couple small projects in the context of trying Iodide.

It's pretty good for data science—I can't speak to DOM manipulation that much, I've only done very minimal work with it for that. My two cents: it's bit rough around the edges—the performance is noticeably worse, and for data science, with medium-sized datasets it can freeze a tab for 10-15 seconds. Sometimes you get an odd edge case though where standard Python cannot run perfectly due to some combination of operations.

That said, overall, I'm really excited by where it's going, and I've always been able to work around the limitations.

Post reply on HN