Title: What
1Whats new in Erlang/OTP R9C
- This presentation will highlight some of the new
and changed functions in the latest release. - Erlang/OTP R9C released 6th of
August. Supported platforms are Sun Solaris
2.5-2.8 Sparc Windows NT/2000/XP (Windows
95/98) Linux x86 , - Open Source R9C-0 available since 6th of August
2New and Changed things (ERTS)
- Memory management improvements with a number of
different allocators which can be configured - temp_alloc, eheap_alloc, binary_alloc,
ets_alloc, sl_alloc, ll_alloc, fix_alloc,
sys_alloc, mseg_alloc - Strategies , best fit, address order best fit,
good fit, a fit - Changed flags for E-node start
- erl MB true ME true MEas aobf r
- E\Program\erl5.3\erts-5.3\doc\html\erl.html
- E\Program\erl5.3\erts-5.3\doc\html\erts_alloc.htm
l
3New and Changed things (ERTS)
- Improved memory instrumentation
- New! System flag Bi starts an E-node which
ignore break signals (i.e cannot be terminated
with CTRL-C) - New! erlanghibernate(Mod, Func, ArgList),
reduce a process memory footprint as much as
possible.Can be used instead of saving a process
state in ets-tables - Note! erl P 262144 (default 32768 number of
Erlang processes) - New! erlangsend/3 supersedes erlangsend_nosuspe
nd - New! Support for IPv6 in the gen_tcp, gen_udp
and inets modules.
4New and Changed things (kernel/stdlib)
- New! integer_to_list(Integer, Base)
- 3gt erlanginteger_to_list(10,16).
- "A"
- New! list_to_integer(CharList, Base)
- 4gt erlanglist_to_integer("A",16).
- 10
- New format characters for ioformat/2 b, B,
x, X, and - New format charaters for iofread/2 u, - and
5New and Changed things (stdlib)
- New! The Erlang shell enables the user to write
functions which can restrict the execution of
certain functions. - New! The modules erl_tar and filelib are now
documented and supported
6New and Changed things (compiler)
- Change! When updating a record the record tag
and size is now always checked. - New! In the bit syntax a size field can be bound
during the same matching - ltltSize, BSize/binary,Rest/binarygtgt
ltlt2,AB,3,CDEgtgt
7New and Changed things (crypto/ssl)
- Change! Crypto requires dynamically linked
OpenSSL libraries that the user has to install
(used via SNMP v3) - Change! SSL is now based on OpenSSL
-
8New and Changed things (applications)
- Change! IDL compiler The CORBA
stub/skeleton-files generated are reduced in size
and less dependent on the interface repository. - New! ASN.1 compiler have support for partial
decode for BER(can be used to improve
performance depending on application) -
9New and Changed things (misc)
- New! Erlang Reference Manual
- New! crashdump_viewer for browsing Erlang
crashdumps.
10New and Changed things (misc)
- New! Now possible to build Open Source Erlang
also on Windows, New Installation program for
Windows - HiPE improved performance for bit syntax
matchings - Erlang mode for EMACS now documented bugs
fixed new feature for aligning arrows. - Cover
- new WebCover interface
- export and import of cover data
- multi node support
- analyse_to_file can produce nice html output
11Crashdump Viewer
- HTML based tool for browsing Erlang crash dumps
- Displays any crashdump from OTP R7B01 and newer
- Warning if dump is truncated
- example of dump
12Crashdump Viewer, general info
13Crashdump Viewer, process info
14Crashdump Viewer, process details
15Incompatibilities
- When updating records , tag and size are always
checked - The deprecated module unix is removed
- See the documentation