2 ms·
Recode Python functions in C From a security standpoint, this sounds like a bad idea
by chum 13y ago
Recode Python functions in C
From a security standpoint, this sounds like a bad idea
- jedberg 13y agoBy the time it hits the C code it should be sanitized, but yes, it does add some security overhead.
- ketralnis 13y agoThat's a really general statement, people write C code all of the time. You just have to be more careful. That is, you have to actually be a C programmer instead of a Python programmer cobbling together some C. That said, reddit uses a mix of straight-C and Cython-ised Python, which is a bit like the best of both worlds.