R15B01 釋出

8 views
Skip to first unread message

Shian

unread,
Apr 4, 2012, 10:19:33 PM4/4/12
to erlang...@googlegroups.com

R15B01 已經釋出了,詳細可以看連結 http://www.erlang.org/news/30
節錄這次更新的重點如下。對我來說比較有用的是 escript 的修正。以往如果在 escript 執行時輸出太多的資訊到畫面上,由於畫面輸出在 erlang 中是非同步的,所以如果程式執行完而畫面還沒全部輸出就會導致輸出不完全。之前的 escript 都是要在程式結束前等待個幾秒再關閉程式,但是等待的時間很難抓,現在有了這個修正應該會讓 escript 更加好用。

Highlights:

  • Added erlang:statistics(scheduler_wall_time) to ensure correct determination of scheduler utilization.
    Measuring scheduler utilization is strongly preferred over CPU utilization,
    since CPU utilization gives very poor indications of actual scheduler/vm usage.
  • Changed ssh implementation to use the public_key application for all public key handling.
    This is also a first step for enabling a callback API for supplying public keys and handling keys
    protected with password phrases. 
    Additionally the test suites where improved so that they do not copy the users keys to test server
    directories as this is a security liability. Also ipv6 and file access issues found in the process has
    been fixed.
  • When an escript ends now all printout to standard output and standard error gets out on the terminal.
    This bug has been corrected by changing the behaviour of erlang:halt/0,1, which should fix the same
    problem for other escript-like applications, i.e. that data stored in the output port driver buffers got lost
    when printing on a TTY and exiting through erlang:halt/0,1.
    The BIF:s erlang:halt/0,1 has gotten improved semantics and there is a new BIF erlang:halt/2 to accomplish
    something like the old semantics. See the documentation.
  • The DTrace source patch from Scott Lystig Fritchie is integrated in the source tree. 
    Using an emulator with dtrace probe is still not supported for production use, but may be a
    valuable debugging tool. Configure with --with-dynamic-trace=dtrace (or --with-dynamic-trace=systemtap)
    to create a build with dtrace probes enabled. See runtime_tools for documentation and examples
  • Added Torbjörn Törnkvists LDAP client as a new application called eldap.
  • Added options for the ssh client to support user keys files
    that are password protected.

Reply all
Reply to author
Forward
0 new messages