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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What's the equivalent to Python, Compiled?

3 点作者 huyegn将近 15 年前
Setting aside the obvious grandaddy of cross-platform compiled languages, C, what would you use if you had to quickly create a suite of commandline utilities that had to work on several platforms (mac, windows, *nix)?<p>The main criteria is that the final binaries must start fast and the programming language must have good libraries for HTTP/Web io

2 条评论

adbge将近 15 年前
C or C++ are probably the best choice since they allow for high performance, low memory footprint, and easy creation of binary packages suitable for distribution.<p>Java is also an option and Java programs can be compiled down to machine code with the GNU Compiler for Java, which removes Java's dependency on the JRE and allows binaries to start faster than if they had to load the JVM.<p>In fact, you could even "compile" Python programs into a binary package suitable for distributing via the cx_Freeze tool. This will still be interpreted, though it might feel more like a compiled language. You might want to look into Cython, which I believe allows for pseudo-compiled Python.
评论 #1566331 未加载
akkartik将近 15 年前
I find brace most alluring: <a href="http://news.ycombinator.com/item?id=929645" rel="nofollow">http://news.ycombinator.com/item?id=929645</a>