Hacker News new | ask | show | jobs
by jgrahamc 28 days ago
Cloudflare always had a pretty strong culture around optimisation. If you go back and read the blog there are a lot of blogs about reducing CPU, latency, RAM, etc. through software. It's one of the key features of how Cloudflare has been successful and an important part of succeeding in today's world.

Source: I was Cloudflare's CTO.

4 comments

And Cloudflare is making money on infrastructure margins not eyeballs (ie advertising like Google), so the incentives are well aligned for this to continue.
I enjoy the CloudFlare tech blogs and I'm pretty familiar with you and the company.

I worked with 2 of the cofounders at their previous company and some of the original prototype was written at my apartment at the time.

I was wondering why you were no longer CTO, congrats on the board role (seems that it's been a bit over 18 months).

I don't know you from a grain of salt, but you've seemed to be pretty open and honest on HN about some of the inner workings (technically and politically) of Cloudflare, which is appreciated.

I decided to step down as CTO because I'd been at it for a long time and the board role allowed me to stay involved without being there every single day. I wrote about my "retirement" here: https://blog.cloudflare.com/three-chapters-at-cloudflare-pro...
Why the heavy reliance on Javascript when native code would bring performance and energy savings?
1) This decision was made pre-AI, where human familiarity mattered. Since the devs that would've used this were familiar with JS, that was what they were stuck with.

2) You're targeting to the wrong person. Blame the managers at Netscape for pushing Brendan Eich into creating JS, rather than letting him use Scheme as the scripting language. From there, it would've made sense to allow Scheme to be compiled into bytecode.

Why would Scheme be more likely to lead to bytecode than JS?
There's a lot of native code at Cloudflare. Just go look up the optimisations we did around crypto or compression in assembly. Or every time we use a compiled language like Go or Rust or C++.

I'd also say that when you look at JITed language like Lua and JavaScript the performance is pretty damn impressive. As with so many things it depends what you're doing.

isn't that their job? you can't deliver native code to web browsers.