nickva commented on issue #6109:
URL: https://github.com/apache/couchdb/issues/6109#issuecomment-5622230776

   @meator thank you for the issue and comments. Yeah we definitely have a lot 
of cruft we accumulated over the years. Some of those fixes/patches may not 
longer apply and some were just clunky as you pointed out.
   
   For pkg-config, CFLAGS we can probably update them and see how they do in 
CI.  With a wider variety of platform versions now than we did years ago so we 
could be more confident we hadn't broken anything.
   
   On rebar3. We've had a few tries but we got stuck at Spidermonkey (hopefully 
that one will be deprecated soon and it will be one less thing to worry about) 
and some NIF (C module) bits. 
   
   > Drop all C code which isn't necessary for couchdb. If the C code can be 
replaced by Erlang, do it.
   
   That's a good goal in general, but we're far from it. Usually C modules are 
added for performance reasons. Some reasons drop out over time as Erlang gains 
those optimizations (faster built-in, JIT, etc). But we're still not close to 
removing all C NIFs at this point. In some cases there are no alternatives but 
link against a C library (like say libicu for collation).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to