Live data from Hacker News

Nginx 1.9.11 with Dynamic Modules

mailman.nginx.org

61–63 of 63 posts

Re: Nginx 1.9.11 with Dynamic Modules

#61
post #59
post #58

Earlier quoted context omitted.

> 1. As a developer, I couldn't care less about making your life easier at the expense of making mine more difficult. Great, and nobody said you had to. If someone likes your application enough and they want to get it packaged they will - personally, however, ease of packaging is something that makes or breaks whether I "like" something - which is why as much as I love Mumble I'm not putting any effort in to revive i…

> same goes with Mozilla and Rust. Dynamic linking in Rust is as easy as passing in a single compiler flag, which is what I expect distro package managers will do when building packages written in Rust.

Big problem is Rust's name-mangling, it makes it extremely hard to provide a consistent ABI so dynamic linking doesn't even work half the time without having to rebuild everything - last I checked, maybe it's gotten better?

Re: Nginx 1.9.11 with Dynamic Modules

#62
post #61
post #59

Earlier quoted context omitted.

> same goes with Mozilla and Rust. Dynamic linking in Rust is as easy as passing in a single compiler flag, which is what I expect distro package managers will do when building packages written in Rust.

Big problem is Rust's name-mangling, it makes it extremely hard to provide a consistent ABI so dynamic linking doesn't even work half the time without having to rebuild everything - last I checked, maybe it's gotten better?

That's not a problem if you're dynamically linking to a C library or at least one that provides a C ABI.

Re: Nginx 1.9.11 with Dynamic Modules

#63
Looking good so far I have enabled a few Nginx dynamic modules including Openresty's set-misc, echo and headers more modules https://community.centminmod.com/posts/26535/

  load_module "modules/ngx_http_image_filter_module.so";
  load_module "modules/ngx_http_headers_more_filter_module.so";
  load_module "modules/ngx_http_set_misc_module.so";
  load_module "modules/ngx_http_echo_module.so";
  load_module "modules/ngx_http_geoip_module.so";
  load_module "modules/ngx_stream_module.so";
Post reply on HN