TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Systems Programming with Racket

164 点作者 r_sz将近 2 年前

5 条评论

neilv将近 2 年前
Instead of that `xml` library and format, many people use the SXML format defined by Oleg Kiselyov:<p><a href="https:&#x2F;&#x2F;docs.racket-lang.org&#x2F;sxml-intro&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;docs.racket-lang.org&#x2F;sxml-intro&#x2F;</a><p>SXML became the de facto standard in the Scheme community after Oleg and others developed some powerful libraries for it, starting with Oleg&#x27;s SSAX parser. SXML is also better-suited to efficient manipulation of large HTML&#x2F;XML when using immutable lists.<p>Also, if you&#x27;re looking at code examples in TFA, and thinking that, even when composing HTML using lists rather than strings, it&#x27;s still susceptible to injection programming errors, then one SXML-ish improvement is:<p><a href="https:&#x2F;&#x2F;docs.racket-lang.org&#x2F;html-template&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;docs.racket-lang.org&#x2F;html-template&#x2F;</a><p><a href="https:&#x2F;&#x2F;docs.racket-lang.org&#x2F;rws-html-template&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;docs.racket-lang.org&#x2F;rws-html-template&#x2F;</a>
评论 #36560996 未加载
评论 #36579530 未加载
alexott将近 2 年前
Almost 20 years ago I worked at company that developed a commercial product on top of MzScheme (prior to DrScheme and Racket). There was an article about it in Russian, unfortunately now only available via web archive <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210506123442&#x2F;http:&#x2F;&#x2F;fprog.ru&#x2F;2009&#x2F;issue2&#x2F;alex-ott-using-scheme-in-dozor-jet&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210506123442&#x2F;http:&#x2F;&#x2F;fprog.ru&#x2F;2...</a>
nighmi将近 2 年前
I&#x27;ve been working on porting golang&#x27;s net&#x2F;http and gorilla&#x2F;websocket libs to Racket for the past few months (I don&#x27;t like the servelet model.) Does anyone have insight into how that model might not be optimal in a Scheme enviroment or how to better optimize it?
评论 #36557445 未加载
评论 #36556627 未加载
_aaed将近 2 年前
Looks like Lisp&#x27;s back on the menu boys
评论 #36557514 未加载
评论 #36558715 未加载
philbo将近 2 年前
Realistically, how much data is it practical to stash inside these continuations? It seems like it could get out of hand quite quickly for non-toy examples.<p>If you were propagating e.g. game state, you&#x27;d still want to stick that in a db, so the continuation would just be a session id?
评论 #36559440 未加载