Re:Caddy 0.10 Released
by xiphias on Friday April 21, 2017 @08:51AM
(#14165072)
I think over time there will be a similar server written in Rust, where at least we can be sure that there are no buffer overflows..until then nginx is probably better in every situation.
[ Parent
| on HN ]
Unless it uses unsafe code (which Rust also provides) Caddy wouldn't have buffer overflows either, since Go is garbage collected and doesn't allow for the kind of pointer arithmetic C does in normal code.
Re:Caddy 0.10 Released
by shawabawa3 on Friday April 21, 2017 @09:04AM
(#14165171)
Caddy is written in go, not C, so I'm not sure why it should be especially vulnerable to buffer overflows...
Do we really need someone to mention Rust in every thread ?
No, it just makes sense to have a fast and safe HTTP server at the same time.
Go is ona average 3x slower than C according to bechmarks, and it's hard to get rid of this issue because of how the language is architected. I just don't see Caddy as a possible long term replacement for nginx.
As a member of the Rust Evangelism Strike Force, I am morally obligated to. /s
someone had to say it :p