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.

LLVM 11.0

223 pointsby zmodemover 4 years ago

10 comments

GolDDranksover 4 years ago
AVR is an official backend now. Rust has also recently added support for AVR.<p>One more backend I&#x27;d like to see is the Espressif (ESP32 etc.) one. They&#x27;ve trying to upstream the support, but it seems that the lack of reviewers from the part of LLVM is slowing down the process...?
评论 #24758952 未加载
评论 #24759456 未加载
评论 #24761049 未加载
pjmlpover 4 years ago
&gt; The macros enable users to write C&#x2F;C++ Vector Length Agnostic (VLA) loops,<p>What a great idea to use VLA to mean something else than it does for ISO C99.
评论 #24757351 未加载
评论 #24757857 未加载
评论 #24757807 未加载
评论 #24757372 未加载
评论 #24759652 未加载
srousseyover 4 years ago
For more details, see the specific release notes:<p><a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;docs&#x2F;ReleaseNotes.html</a> <a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;clang&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;clang&#x2F;docs&#x2F;ReleaseNot...</a> <a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;clang&#x2F;tools&#x2F;extra&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;clang&#x2F;tools&#x2F;extra&#x2F;doc...</a> <a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;flang&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;flang&#x2F;docs&#x2F;ReleaseNot...</a> <a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;lld&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;lld&#x2F;docs&#x2F;ReleaseNotes...</a> <a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;polly&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;tools&#x2F;polly&#x2F;docs&#x2F;ReleaseNot...</a> <a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;projects&#x2F;libcxx&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;projects&#x2F;libcxx&#x2F;docs&#x2F;Releas...</a>
einpoklumover 4 years ago
A few items from the release notes that caught my attention:<p>* The debug information now has a feature which lets your debugger recover the value of an optimized-out value in certain (common) circumstances. I wish gdb and lldb pick on up this quickly and that it doesn&#x27;t need you to specify anything explicitly.<p>* If you&#x27;re doing JITing with LLVM, you can now run your code&#x27;s static initializations (which apparently you couldn&#x27;t before? :-O )<p>* Lots of RISC-V-related work (features, optimization improvements and bug fixes).<p>* Nothing new for PTX (the CUDA IR which you can use LLVM to generate).
评论 #24757873 未加载
stabblesover 4 years ago
Are there any benchmarks that show compilation times using LLVM 11 versus older versions for representative projects?
评论 #24760087 未加载
评论 #24760086 未加载
评论 #24759310 未加载
评论 #24761257 未加载
评论 #24759278 未加载
giancarlostoroover 4 years ago
Kind of interesting, I was looking at the wikipedia page for LLVM and noticed Delphi was listed, and sure enough the more modern compilers for Delphi are LLVM based[0]. I remember discussing with people just a few days ago here on HN about how the Delphi compiler used to be blazing fast due to being written in Assembly[1]. It&#x27;s kind of nice to see that others are taking full advantage of LLVM at an official capacity at least, making it much more tried and tested, not that it wasn&#x27;t already tried and tested before. I think Rust &#x2F; Swift as well don&#x27;t hurt. It would be nice to see Kotlin Native taken a lot more seriously by JetBrains on the other hand.<p>[0]: <a href="http:&#x2F;&#x2F;docwiki.embarcadero.com&#x2F;RADStudio&#x2F;Sydney&#x2F;en&#x2F;LLVM-based_Delphi_Compilers" rel="nofollow">http:&#x2F;&#x2F;docwiki.embarcadero.com&#x2F;RADStudio&#x2F;Sydney&#x2F;en&#x2F;LLVM-base...</a><p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24735969" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24735969</a>
azhenleyover 4 years ago
The thing that caught my eye in the release notes is the blurb about Zig:<p><i>Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. In addition to supporting LLVM as an optional backend, Zig links Clang and LLD to provide an out-of-the-box cross compilation experience, not only for Zig code but for C and C++ code as well. Using a sophisticated caching system, Zig lazily builds from source compiler-rt, mingw-w64, musl, glibc, libcxx, libcxxabi, and libunwind for the selected target - a “batteries included” drop-in for GCC&#x2F;Clang that works the same on every platform.</i>
评论 #24756380 未加载
评论 #24756638 未加载
评论 #24756358 未加载
评论 #24761377 未加载
schaeferover 4 years ago
Are there any estimates within the LLVM community when c++20 feature complete might be reached?
gutinoover 4 years ago
Anyone was able to use test Zig in Windows? last time i tried it, it compiled but i was not able to print a hello world. Thank you.
评论 #24756910 未加载
tonyover 4 years ago
Release notes: <a href="https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;docs&#x2F;ReleaseNotes.html" rel="nofollow">https:&#x2F;&#x2F;releases.llvm.org&#x2F;11.0.0&#x2F;docs&#x2F;ReleaseNotes.html</a>
评论 #24758444 未加载