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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Higgs JavaScript Virtual Machine

160 点作者 jermo超过 10 年前

6 条评论

tinco超过 10 年前
Crazy that she basically implemented a fully functioning JIT compiler that performs on par with the established commercial Javascript interpreters out there on many fronts in only two years using novel techniques, but reviewers reject her papers because they are unconvinced the novel technique has advantages over existing techniques? How does that even matter?<p>If someone discovers a new way of implementing compilers efficiently, then just that has scientific merit. Whether the new technique has different performance characteristics surely is simply ground for further research?<p>Anyway, awesome that at least the engineering community is very interested in this work of hers.<p>edit: I noticed the compiler is written in D, awesome choice of tech!
评论 #8613061 未加载
评论 #8612749 未加载
评论 #8614212 未加载
评论 #8613626 未加载
smilepet_26超过 10 年前
Some notable features of Higgs include: - A self-hosted runtime written in extended JavaScript - Lazy&#x2F;incremental JIT compilation Context-driven versioning of basic blocks - A Foreign Function Interface (FFI) system to interface with C code - An interactive shell (REPL) with access to low-level primitives. - A simple module system and a set of useful libraries.<p>I like these features. This is simply awesome.
评论 #8614181 未加载
tach4n超过 10 年前
If you&#x27;re curious about Higgs you can joins us in our irc: #higgsjs on freenode. We also have a subreddit: r&#x2F;higgsjs
rurban超过 10 年前
I&#x27;m impressed by the bbv idea, but not about the startup-time overhead which is even worse than perl6 or the jvm. Even if the run-time of big loops is later on faster than v8.<p><pre><code> $ time .&#x2F;higgs --e &quot;var x = 4; x = x + 5; print(x)&quot; 9 real 0m1.191s </code></pre> e.g. my own little jitted language which compiles also to C like asm with tagged data, but with inner-loop type-checks, does it in<p><pre><code> $ time bin&#x2F;potion -e&#x27;x = 4, x = x + 5, x print&#x27; 9 real 0m0.005s </code></pre> so I don&#x27;t buy the compiler overhead yet. type checks are not <i>that</i> slow.<p><pre><code> $ time .&#x2F;perl6-p -e&#x27;my $x=4; $x=$x+5; print $x&#x27; 9 real 0m0.818s $ time .&#x2F;perl6-m -e&#x27;my $x=4; $x=$x+5; print $x&#x27; 9 real 0m0.614s </code></pre> and uncompiled:<p><pre><code> $ time perl -e&#x27;my $x=4; $x=$x+5; print $x&#x27; 9 real 0m0.010s</code></pre>
inglor超过 10 年前
Other than &#x27;for fun&#x27; - does this serve a commercial purpose?<p>Looks very cool regardless
评论 #8612307 未加载
评论 #8612315 未加载
评论 #8612521 未加载
评论 #8613080 未加载
评论 #8612961 未加载
jonny_eh超过 10 年前
What is this? All the readme says is what&#x27;s required to use it.
评论 #8612717 未加载
评论 #8612425 未加载