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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Encodings for flattened heap values

38 点作者 lichtenberger12 个月前

4 条评论

malkia12 个月前
Without reading the whole thing, and with modern C# in mind - would that be "auto-struct" of a Java-class, without say so explicitly?
o11c12 个月前
Whenever I read about Project Valhalla, I&#x27;m always struck by how many of the usual approaches are somehow excluded due to ... the way the JVM has historically worked? Why is that even a concern when you&#x27;re adding new features entirely?<p>The one that jumps out most in this post is that apparently it&#x27;s considered impossible to write to just-allocated memory before transferring control to user code. Preserving the all-zero-means-null rule means that `T`, `Optional&lt;T&gt;`, `Optional&lt;Optional&lt;T&gt;&gt;`, etc. cannot just use a nop conversion when the value (at any level!) is present.<p>Some discussion of `cmpxchg16b` really should be in there. <i>I</i> know why it&#x27;s not suitable but it&#x27;s wrong to claim that only vector registers support wide atomics.
neonsunset12 个月前
Structs. These are called structs. Or value types if you really insist.
secondcoming12 个月前
Why is the header text flattened?