Live data from Hacker News

Reflex – Web apps in pure Python

github.com

41–50 of 152 posts

Re: Reflex – Web apps in pure Python

#41
post #5

Why are we trying to fit a square peg into a round hole

Some people are die hard python fans, trying to use a scripting language for everything. I encountered some where they try to use Python in embedded (robotics to be exact) and oh boy how terrible it was, a “collision avoidance” was taking few seconds to respond..

Re: Reflex – Web apps in pure Python

#42
post #31

Worth noting is that this framework has telemetry [1] enabled by default [2] which gathers and sends off various information about your system unless you explicitly disable it. [1] https://github.com/reflex-dev/reflex/blob/919f239168d789056d... [2] https://github.com/reflex-dev/reflex/blob/919f239168d789056d...

There’s nothing user identifiable here though. No ips, locations, etc. I guess they could get it from the reception though hmm

Re: Reflex – Web apps in pure Python

#43

My major complain here is that, as far as being a web framework there is precious little information here about the framework. How does this framework scale with multiple requests? What concurrency strategy is it using (threads, processes, actors, etc?). Is this opinionated (it doesn't seem so but it also doesn't say it isn't either). How does this work with popular libraries x,y,z. The full docs have a little bit mo…

It's just Python code that gets translated into a NextJS app.

Re: Reflex – Web apps in pure Python

#44
A lot of diagnostic in this discussion so far misses how approachably straightforward the DSL (patterned Python) is.

I'd go so far as to say the patterns are so clean they're almost self-evident, which is remarkable lift for beginners or busy people just mocking up something functional.

Re: Reflex – Web apps in pure Python

#45
post #14

Earlier quoted context omitted.

Since never. People use either Java, PHP or NodeJs.

I don't know where you work, but at my company, I'm struggling to get people to use anything but Python.

Good luck with that! I think using python for anything beyond a simple script or PoC, should be taken as a red flag in development and immediately revise that decision of using it.

Re: Reflex – Web apps in pure Python

#46
post #37
post #22

Earlier quoted context omitted.

Hey, you know the most popular programming language in the world? They don't have a way to write web applications. If you fund us, we'll build a tool for that, tap into a huge TAM and make bank. Sounds like a pitch that would make VCs start falling over eachother

Close, except throw "AI" in there a few dozen times. Even the example they use in the README is for calling the DALL-E API.

This one trick will 10x your preseed valuation

Re: Reflex – Web apps in pure Python

#47

My major complain here is that, as far as being a web framework there is precious little information here about the framework. How does this framework scale with multiple requests? What concurrency strategy is it using (threads, processes, actors, etc?). Is this opinionated (it doesn't seem so but it also doesn't say it isn't either). How does this work with popular libraries x,y,z. The full docs have a little bit mo…

It's just Python code that gets translated into a NextJS app.

Where did you find this information?

Re: Reflex – Web apps in pure Python

#48
Why wouldn't it say nowhere (README, the website) what does it actually do and how? It's all marketing bullshit such as: Get up and running in seconds! Build web apps in minutes. Deploy with a single command. Build anything, faster. Create your whole app in a single language. Don't worry about writing APIs to connect your frontend and backend.

This kind of shit might catch a manager's eye, not a developer's one.

Re: Reflex – Web apps in pure Python

#49

I played with this yesterday. The counter demo app (two buttons and a number) transfers ~2.5MB compressed, which uncompresses to ~12MB. Completely ridiculous!

Hey are you running in dev mode or prod mode I just tried the counter in prod mode and it was 340.1 KB compressed?

Re: Reflex – Web apps in pure Python

#50
post #38

I haven't worked with Python in many years now. Do people not use Django or Flask anymore? What's the recommended web stack, and where does this one fit in?

I second the FastAPI. But always I choose Django and if you throw HTMX in the mix not even Rails come close to what it can build.
Post reply on HN