Erlang/OTP v19.3 发布

jopen 2年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/4f325ef346b07fe5139af2f4b8d983a9.png" /></strong></p>    <p> </p>    <p>OTP 是包装在Erlang中的一组库程序。OTP构成Erlang的行为机制(behaviours),用于编写服务器、有限状态机、事件管理器。不仅如此,OTP的应用行为(the application behavior)允许程序员把写好的Erlang代码打包成一个单独的应用程序;监测行为(the supervisor behavior )允许程序员创建有层次结构的进程,使得某个进程死后,会重新启动复活。</p>    <p>OTP提供大量通用的库程序,用以轻松创建具有高度容错、热机换码等功能的高质高效的程序。主要特点:</p>    <ul>     <li>通用服务器、有限状态机、事件管理器;</li>     <li>标准化应用程序结构;</li>     <li>代码热机更换;</li>     <li>监测树行为机制,让你的进程永不停摆。</li>    </ul>    <h2>更新日志</h2>    <ul>     <li><strong>crypto, ssh</strong>: The implementation of the key exchange algorithms diffie-hellman-group-exchange-sha* are optimized, up to a factor of 11 for the slowest ( = biggest and safest) group size.</li>     <li><strong>dialyzer</strong>: The peak memory consumption is reduced. Analyzing modules with binary construction with huge strings is now much faster.</li>     <li><strong>erts</strong>: A received SIGTERM signal to beam will generate a 'stop' message to the init process and terminate the Erlang VM nicely. This is equivalent to calling init:stop/0.</li>     <li><strong>kernel</strong>: The functions in the <code>file</code> module that take a list of paths (e.g. <code>file:path_consult/2</code>) will now continue to search in the path if the path contains something that is not a directory.</li>     <li><strong>kernel</strong>: Two OTP processes that are known to receive many messages are <code>rex</code> (used by <code>rpc</code>) and <code>error_logger</code>.Those processes will now store unprocessed messages outside the process heap, which will potentially decrease the cost of garbage collections.</li>     <li><strong>public_key</strong>: New function <code>pkix_verify_hostname/2,3</code> implements certificate hostname checking. See the manual and RFC 6125.</li>     <li><strong>public_key, ssh</strong>: The ssh host key fingerprint generation now also takes a list of algorithms and returns a list of corresponding fingerprints. See  <code>public_key:ssh_hostkey_fingerprint/2</code> and the option <code>silently_accept_hosts</code> in <code>ssh:connect</code>.</li>     <li><strong>ssl</strong>: Move PEM cache to a dedicated process, to avoid making the SSL manager process a bottleneck. This improves scalability of TLS connections.</li>     <li><strong>stdlib</strong>: <code>filename:safe_relative_path/1</code> to sanitize a relative path has been added.Thanks to more than 20 different contributors</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959002886634549130" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959002886749313873" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/7c3a5916">http://www.open-open.com/news/view/7c3a5916</a></p>