janl opened a new issue, #4467: URL: https://github.com/apache/couchdb/issues/4467
This issue is an experiment nicked from the Elixir project. Whenever a new Erlang version comes out, they go through the release notes and note any new features or issues that might affect Elixir. We should do the same for CouchDB. Since we support older versions of Erlang, we usually can’t start adopting new features when they come out (unless we version-guard them, in cases where it is warranted, like opting into a substantial speedup on newer versions), but at least we have a check-list for things to adopt when the new Erlang version some day becomes our oldest-supported version. Here’s a start from the [Erlang 26 RC1 release notes](https://www.erlang.org/news/160) and more detailed [Readme](https://erlang.org/download/otp_src_26.0-rc1.readme): - [ ] [JIT improvements](https://www.erlang.org/news/160#compiler-and-jit-optimizations): measure how much they impact CouchDB vs. Erlang 25. - [ ] TODO: determine a useful measurement - [ ] [Maps](https://www.erlang.org/news/160#maps): - [ ] Are there places where we can benefit from [map comprehensions](https://www.erlang.org/eeps/eep-0058)? - [ ] Do we rely on map key sort order anywhere? - [ ] [Misc ERTS, Stdlib, Kernel, Compiler](https://www.erlang.org/news/160#misc-erts-stdlib-kernel-compiler): - [ ] “Improved the selective receive optimization, which can now be enabled for references returned from other functions” how can one opt into this and does this help us? — Found [this PR implementation](https://github.com/erlang/otp/pull/6739/files), but not a lot smarter after reading it :) — [this (earlier?) PR also mentions receive optimisations](https://github.com/erlang/otp/pull/6045/files). - [ ] “It is no longer necessary to enable a feature in the runtime system in order to load modules that are using it. It is sufficient to enable the feature in the compiler when compiling it.” - [ ] Are we doing any of that and can we [stop it now](https://www.youtube.com/watch?app=desktop&v=U9t-slLl30E)? -- 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: notifications-unsubscr...@couchdb.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org