Live data from Hacker News

Show HN: I built a Python web framework

github.com

81–90 of 127 posts

Re: Show HN: I built a Python web framework

#81
post #61

Honest question, does performance really matter all that much for a web framework? Internet latencies should be in single digit to low double digit milliseconds range. I would expect the slowest of web frameworks in bash to parse and route an http request in 1ms, so even if you replaced that with a hand written custom assembly version running at 1nanosecond, that would still be dwarfed by the networking jitter.

Performance of a web server isn't just about latency, it's also about throughput and how many requests can be served concurrently

Re: Show HN: I built a Python web framework

#82
post #7

I went over the docs and couldn’t find anything about state management and client/server actions. I’m guessing this would be similar to LiveView? If so, I’m not sure Python will handle the concurrency as well as Elixir… Edit: I see now that the goal is to compile this to JS, so I’m assuming it’s going to be quite the opposite of LiveView and will do everything on the client?

This looks like the regular server side web framework with helpers to create html. State is (likely) managed by using the appropriate python library, or just a global variable or dict if race conditions don’t matter.

Re: Show HN: I built a Python web framework

#85
post #84
post #83

There's C code, how do I know it's secure?

what kind of security are you referring to? but yeah, I agree. I'm not confident with C. unless it's Ada, i don't feel confident using random library which was written in languages without specifications.

[flagged]

Re: Show HN: I built a Python web framework

#87
post #66
post #54

Earlier quoted context omitted.

While I get the sentiment, as someone who knows CSS and HTML5 well, I can't help but feel there are reasons why this can't work. Aside my web involvement I did a lot of print design as well. For print wysiwyg is perfectly fine. But how would you wysiwyg for a medium that is inherently multifaced? I mean your window could be small, or huge, portrait or landscape, it could have colors or not, heck it could even be prin…

Jesus.... Visual Basic did this in the 80s and 90s just fine. Flash did it in the early 2000s. It is doable, but it requires a stable runtime. Just the HTML/CSS ecosystem is too flaky, and HTML/CSSS is a poorly design system for this type of interactive systems/apps.

It's not that HTML is flaky - it's explicitly designed to work in different types of portal, which Flash and VB were not. For example, Flash and VB are not known for their easy compatibility with screen readers for the blind.

Re: Show HN: I built a Python web framework

#90
post #84

Earlier quoted context omitted.

what kind of security are you referring to? but yeah, I agree. I'm not confident with C. unless it's Ada, i don't feel confident using random library which was written in languages without specifications.

[flagged]

what do you mean by "just stupid". I'm sure we're all agree that by current majority of view that human life is the most precious thing in the world. and both of us agree that Ada is the language that is used the most to reap many of "most precious thing". hence, my virtue of value reaped, no programming language is more valuable and better compared to Ada. not even hippie languages with no spec no matter how hype they are can top that.
Post reply on HN