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.

List of languages that compile to JS

96 pointsby clyfeover 14 years ago

16 comments

198dover 14 years ago
Am I the only one who just plain doesn't understand the value these tools provide? From my perspective, why not just _write_ javascript? Seems ridiculous. I mean, they're fun and all, but no one sets out to do a project of meaning or scale and chooses these tools, do they?
评论 #2076255 未加载
评论 #2076678 未加载
评论 #2075733 未加载
评论 #2075854 未加载
评论 #2075899 未加载
评论 #2075977 未加载
评论 #2076158 未加载
评论 #2076826 未加载
评论 #2076873 未加载
评论 #2076233 未加载
msyover 14 years ago
I note that doesn't read 'good JS' or 'fast JS'. You can put me in a tutu but I won't be a prima ballerina.
评论 #2075619 未加载
评论 #2075486 未加载
chadaustinover 14 years ago
For those that think JavaScript makes a good VM format for the web, I've written a couple blog posts recently on this topic:<p><a href="http://chadaustin.me/2011/01/native-client-is-widely-misunderstood-and-what-google-should-do-about-it/" rel="nofollow">http://chadaustin.me/2011/01/native-client-is-widely-misunde...</a><p><a href="http://chadaustin.me/2011/01/digging-into-javascript-performance/" rel="nofollow">http://chadaustin.me/2011/01/digging-into-javascript-perform...</a><p>Basically, we need another 10x to 30x in performance for JavaScript to match native code performance...
评论 #2077539 未加载
poover 14 years ago
Added emscripten which to my untrained eyes seems like the place where a lot of gains can be made. You can gain a lot by removing the middleman but sometimes you can gain a lot by adding one.
评论 #2075911 未加载
Zakover 14 years ago
How about a list of languages that compile to PHP? haXe is the only mature one I know about.
评论 #2076631 未加载
评论 #2076562 未加载
评论 #2079849 未加载
ghenneover 14 years ago
NS Basic/App Studio compiles Visual Basic style BASIC to JavaScript + HTML5. Also includes an IDE. Targets iOS and Android. (<a href="http://www.nsbasic.com/app" rel="nofollow">http://www.nsbasic.com/app</a>)
评论 #2075929 未加载
ionfishover 14 years ago
Two Haskell compilers (UHC and YHC) have JavaScript backends which convert their core languages to JS. I've added them to the wiki page.
profquailover 14 years ago
WebSharper lets you compile F# to JS (it's a commercial product though.)
boneheadmedover 14 years ago
This is a great list. I was just thinking about what might be out there the other day. I'm very interested in Ruby --&#62; JS. However haven't tried them. I followed Charles Nutter's work on JRuby for a while and it seems to me that it's extremely involved to actually compile a fully functioning ruby into another language and/or bytecode.
baltcodeover 14 years ago
How about Links at <a href="http://groups.inf.ed.ac.uk/links/" rel="nofollow">http://groups.inf.ed.ac.uk/links/</a> and HOP at www.hop.inria.fr in the tierless category. Also, why isn't there a tierless JS since we can already run JS on the client and server side? I asked this question here: <a href="http://news.ycombinator.com/item?id=2068395" rel="nofollow">http://news.ycombinator.com/item?id=2068395</a>
olavkover 14 years ago
Mascara (<a href="http://www.mascaraengine.com/" rel="nofollow">http://www.mascaraengine.com/</a>) compiles a typed version of ECMAScript (based on Harmony and other proposals for ECMAScript extensions) into JavaScript. It is backwardly compatible with JavaScript, so you can gradually upgrade code to take advantage of it.
sedachvover 14 years ago
Thank you for posting this list! I don't think I would have ever heard about <a href="http://cluecc.sourceforge.net/" rel="nofollow">http://cluecc.sourceforge.net/</a> otherwise. It seems like a really big deal, I'm very surprised I haven't heard about it before. Def. checking it out.
clyfeover 14 years ago
Feel free to contribute, it's a wiki!
评论 #2075331 未加载
评论 #2075573 未加载
评论 #2075280 未加载
katoxover 14 years ago
Fantom (<a href="http://fantom.org/" rel="nofollow">http://fantom.org/</a>) also compiles to javascript. However this platform is supported via direct AST transformation not runtime bytecode generation as for JVM or CLR.
amadiverover 14 years ago
Any tools that work in the opposite direction? ( e.g., JS -&#62; C )
评论 #2077342 未加载
评论 #2077103 未加载
评论 #2075763 未加载
lukeinthover 14 years ago
I didn't see haXe on the list so added it. Seems its often overlooked when people talk about languages which compile to JS.