Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bjourne
on July 2, 2020
|
parent
|
context
|
favorite
| on:
Ray Tracing in Nim
Does nim support SIMD intrinsics? Without those you aren't getting "C performance."
logimame
on July 2, 2020
[–]
Absolutely yes, you just need to let the Nim compiler read the C headers for <immintrin.h> or something like that. Here’s a nice SIMD wrapper for Nim:
https://github.com/numforge/laser/blob/master/laser/simd.nim
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: