anyone know why CloudFront Functions use some weir...
# general
s
anyone know why CloudFront Functions use some weird janky old version of Node.js?
const
isn’t even usable 😳
a
Is this workers on the edge? Didn’t know this existed on AWS, only know about CloudFlare doing it.
t
I don't know their exact reasoning for it but CF functions seem to be for an extremely narrow use case. IIRC they need to execute in < 1ms
They even don't give you access to
Date
functions to avoid timing attacks
s
yeah, that was what I was thinking. that they chose a really simple & pared down version of Node to keep it highly performant