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.

A blog engine written and proven in Coq

185 pointsby jcurboover 10 years ago

9 comments

wereHamsterover 10 years ago
&gt; The purity of Coq ensures that each request is answered exactly once in finite time.<p>How does Coq ensure that the request completes in finite time?
评论 #9038695 未加载
评论 #9038315 未加载
评论 #9038259 未加载
brudgersover 10 years ago
Not to diminish the accomplishment, I think it is really cool, but I won&#x27;t say &quot;I&#x27;d buy that for a dollar.&quot; A blog engine with provably correct posts and comments though? That&#x27;s a real kickstarter. Although the use case might not be the internet as we know it.<p>But require the comments to be provably correct and assume the post as premise and I think we&#x27;re onto a winner.
评论 #9039009 未加载
评论 #9039956 未加载
hrjetover 10 years ago
The last line threw me off:<p>&gt; an unauthenticated user cannot access private pages (like edit) or modify the file system with system calls.<p>System calls? How do they come into the picture? And wouldn&#x27;t reasoning about system calls require proofs about the kernel itself?
评论 #9038294 未加载
评论 #9038329 未加载
legulereover 10 years ago
Is it also proven that no cross-site-scripting attacks are possible?
评论 #9043776 未加载
mcmanciniover 10 years ago
Is there a good practical resource for learning about applying formal proof systems like Coq or Spin, but for those without a CS background? I&#x27;m interested in provably correct systems, but a lot of the material seems to be heavy on the theoretical side. I guess you could say I&#x27;m searching for the <i>Art of Electronics</i>, but for formal proofs.
评论 #9039331 未加载
评论 #9040562 未加载
评论 #9039164 未加载
pjmlpover 10 years ago
This is great, as more real life examples are needed.
allan_sover 10 years ago
disclaimer: outside of a quick understanding of what &quot;formal proof system&quot; is, I have no deep understanding of how it works.<p>It is written there&#x27;s a Coq-&gt;OCaml compilation step. Would it be easily possible to have any Coq-&gt;other language (I&#x27;m mostly thinking about Rust) compiler ? Or do some properties of OCaml make it much easier (I mean &quot;several order of magnitude&quot;) to implement than more &#x27;common&#x27; dynamic languages like Php&#x2F;Python&#x2F;ruby ?
评论 #9039777 未加载
评论 #9039369 未加载
skybrianover 10 years ago
This quite cool but for an HTTP server, most requests should complete within a few seconds and the average should be in milliseconds. Proving that requests are handled in finite time is useful (some kinds of bugs are eliminated) but it&#x27;s not really the performance guarantee that&#x27;s needed in this domain. We will probably be using performance testing rather than proofs for a long time.
评论 #9039922 未加载
评论 #9039701 未加载
teddyukover 10 years ago
This is such a terribly badly named language for anyone in the UK!
评论 #9038608 未加载
评论 #9038573 未加载
评论 #9039323 未加载
评论 #9038713 未加载