The Crystal Programming Language Forum

LLVM provides no side-channel resistance

Does it affect Crystal language as well?

https://dsprenkels.com/cmov-conversion.html

1 Like

Well since Crystal uses llvm, I think it is also impacted.

Interesting read though

If attacks on side channels are a concern high level interpreted languages might not be a good fit for your project. To get around those you’ll generally need to use lower level languages like C or Assembly to code in a “safe way”. Overtime I’m sure Crystal and LLVM will add some mitigations but consider your threat model.