← 返回技术雷达
Hacker News tech

Fearless SIMD v1.0

Hacker News 热议:Fearless SIMD v1.0(126 赞 / 19 评论,来源 linebender.org)

原文开头节选

It has come a long way since the original prototype 8 years ago . We are now confident that whatever it is you need, be it just autovectorization and multiversioning, or full-blown portable SIMD abstractions, or safe access to intrinsics and nothing more, Fearless SIMD will serve you well.

Instead of paraphrasing the changelog , I’d like to take this opportunity to reflect on the goals of Fearless SIMD, how it achieves them, and what sets it apart from other SIMD abstractions.

A common criticism leveled at portable SIMD abstractions is that they aren’t performant enough, so we’ve put a lot of effort into making sure that Fearless SIMD never holds you back.

For example, when implementing portable abstractions for operations with different behavior in edge cases on different platforms, such as swizzles or floating-point maximum , we provide both a precise variant that’s the same on all platforms, and a fast variant that returns a platform-dependent result for use when you expect the edge cases to never happen.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(126 赞 / 19 评论,来源 linebender.org)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News

相关服务