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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Online LLVM-based C++ REPL

90 点作者 entelechy将近 9 年前

4 条评论

mynegation将近 9 年前
It is a great idea in general and a technical feat in itself. It is just that C++ is not the best language for that type of programming. It may work OK for toy to lower-middle size of projects, but for big projects compilation time starts to pile up pretty quickly. One reason for that is C legacy of header files that are recompiled for each and every translation unit (yes there are PCH but they are unwieldy and require a lot of babysitting and sometimes take back almost all of the time you gain from their usage). Another is C++ language grammar: C++ requires 3 (three!) syntax passes to be parsed correctly. Then there is also all the template and metaprogramming magic which is Turing complete (Just look at Facebook Fatal C++ library - I am still undecided if they are for real or it is an elaborate trolling).
评论 #12320305 未加载
评论 #12320443 未加载
评论 #12322575 未加载
评论 #12320297 未加载
naveen99将近 9 年前
Very nice !<p>I played around with it a little.<p>It doesn&#x27;t crash on errors, just prints a helful error message.<p>Time for one more attempt at teaching my son programming, with c++ this time !<p>previous discussion with more info: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11478301" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11478301</a>
评论 #12321368 未加载
lipun4u将近 9 年前
It&#x27;s good, supports concurrency also !!!<p><a href="http:&#x2F;&#x2F;fiddle.jyt.io&#x2F;github&#x2F;9a340a40988f79264c3686a90d2d80e3" rel="nofollow">http:&#x2F;&#x2F;fiddle.jyt.io&#x2F;github&#x2F;9a340a40988f79264c3686a90d2d80e3</a>
评论 #12322412 未加载
评论 #12322675 未加载
naveen99将近 9 年前
License says beta version says it collects usage info and sends back time and date of each call to jyt.<p>Would be nice to be able to opt out of that.