TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pushup Offers Speed of Go in Web Development Framework

27 pointsby ovaistariqabout 2 years ago

5 comments

ttymckabout 2 years ago
This strikes me as incredibly clever.<p>The compiler and code-generation implementation seems equally straightforward and complex, my mind is racing trying to build a mental model of the whole thing.<p>The code generation comes after a feature-packed parser and &quot;compilation&quot; step. Emitting go source code is nice because subsequent compilation tells you if its valid or not.<p>I&#x27;m wondering if there is a specific reason the &quot;framework&quot; source code is emitted via a series of printf calls[0]. A library of go template &quot;fragments&quot; might be easier to manage (and debug).<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;adhocteam&#x2F;pushup&#x2F;blob&#x2F;0519a782c1c9fc7987728f1a71d408b2388d8c72&#x2F;codegen.go#L780">https:&#x2F;&#x2F;github.com&#x2F;adhocteam&#x2F;pushup&#x2F;blob&#x2F;0519a782c1c9fc79877...</a>
dr_faustusabout 2 years ago
I wonder if the template syntax with no explicit terminator for variables and expressions is a good idea. I can see many footguns for the user and the parser…
nicpottierabout 2 years ago
This is a neat take for sure, will have to play with it. Go is so great for APIs but really nobody has built anything that is anywhere near as good as say Django for general websites. I will admit I&#x27;m a bit skeptical that this approach doesn&#x27;t follow say the Django approach of application&#x2F;router&#x2F;view a bit more closely as I think that&#x27;s about as good a setup as I have seen but will reserve judgement until I play with it more. Either way kudos for doing this!
godisdadabout 2 years ago
After all these years and all these waves of gear, we’re all still living in the shadow of rails
cseleborgabout 2 years ago
Go always felt like a fairly low-level approach to web-development. I&#x27;d love for it to see a higher-level, more-batteries-included framework as a viable alternative make it to mainstream. Here&#x27;s me wishing good luck to the Pushup team.
评论 #35604800 未加载