← 返回事件
持续讨论科技

A minimal kernel in Swift, running in QEMU

发生了什么

Update (28th of September 2026) Max Desiatov told me that the @c swift attribute should work, instead of declaring the functions using @_cdecl. The @c attribute marks a global function as a C function implemented in Swift, which formalizes the @_cdecl attribute. A link to the proposal is available here. I did update the blog post and the code accordingly to that comment. Thanks Max! I started a small experiment: wri…

摘要按规则整理自下方来源原文

为什么在扩散

时间线

  1. Hacker News 最先出现Hacker News
  2. Lobsters 出现讨论Lobsters

来源