Conversation

nginx 😱 seriously ffs if you want to write C, stop making these bloated NIH'd libc replacement frameworks that get everything wrong (unsafely wrong even)
Quote Tweet
Replying to @DanielMicay @saleemrash1d and 3 others
I think they got tired of people still using LAMP and decided outdo Apache by turning nginx into an in-process library/framework for a bunch of different languages. Basically the unikernel thing but with web servers. They just need to make it an OS now for maximum hype.
4
11
Replying to
They want performance at all costs and apparently that includes avoiding anything from libc and making a whole bunch of hand-rolled sketchy performance-oriented code full of free lists, arenas, lock-free data structures, custom threading, etc. Lots wrong from glancing over it.
2
Replying to and
I don't really understand why they even make wrappers for memcpy (nxt_memcpy), etc. Some sensible concepts for a lot of what they do but the implementation is so sketchy and unnecessarily hand-rolled. NGINX Unit isn't some experimental / beta project. It's production code...
2
1