Documentation Development Beat

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Perl)
(Some info on the checkpoint restore feature)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{header|docs}}
 
{{header|docs}}
 
 
{{Docs_beat_open}}
 
{{Docs_beat_open}}
= Perl =
+
[[Category:Docs Project]]
== Perl updated to 5.16 ==
+
Perl 5.16 introduces a number of significant changes:
+
  
=== New Features ===
+
= Checkpoint and Restore Applications with CRUI =
* Unicode 6.1
+
The CRIU (Checkpoint/Restore in User-space) projects offers a user-space implementation of process and process group checkpoint/restore. With the user-space tools crtools included in this release it is possible checkpoint processes and restore them at a later time again (e.g. after a crash) or migrate the checkpointed process or process group to another system. CRIU aims to be as transparent as possible so that no instrumentation or re-compilation of the process to be checkpointed is necessary.
* More consistent ''eval'' controlled with ''unicode_eval'' and ''evalbytes'' feature
+
* 2- and 3-argument ''substr'' called in left-value context is evaluted even after changing original string
+
* New ''T_*REF_REFCOUNT_FIXED'' XS typemap fixing reference counter decremetion
+
* New ''is_utf8_char_buf'' XS-callable function replaces broken ''is_utf8_char'' function
+
* ''$$'' variable is writable
+
* Improved debugger: tracing mode can be restricted to certain level, breakpoints can be disabled temporarily, breakpoints can be set by file name
+
* ''sort'' subroutines can be autoloaded
+
* ''$['' variable is provided by ''arybase'' module
+
* mmaped PerlIO layer is now a separate module ''PerlIO::mmap''
+
  
=== Deprecated Features ===
+
Using the `crtools` package, users can easily checkpoint and restore processes with the crtools package:
* Accessing Unicode database files directly is deprecated now; use ''Unicode::UCD'' instead
+
* ''Version::Requirements'' is deprecated in favor of ''CPAN::Meta::Requirements''
+
  
=== Incompatible Changes ===
+
`crtools dump -D <dump-directory> -t <PID>`
* Special blocks (e.g. ''BEGIN'') are called in void context
+
* Unoverloaded stringification of regular expression does not return the expression literal
+
* ''T_DATAUNIT'' and ''T_CALLBACK'' XS typemaps removed
+
* User defined case-changing has been removed in favor of ''Unicode::Casing''
+
* XSUB C functions are static now and they are not exported from their object files
+
* Read-only references cannot be weaken
+
* ''$$'',  ''$<'', ''$>'', ''$('', and ''$)'' do not cache their value
+
* ''Devel::DProf'', ''Shell'' have been removed from Perl core
+
* perl4 libraries removed: abbrev.pl, assert.pl, bigfloat.pl, bigint.pl, bigrat.pl, cacheout.pl, complete.pl, ctime.pl, dotsh.pl, exceptions.pl, fastcwd.pl, flush.pl, getcwd.pl, getopt.pl, getopts.pl, hostname.pl, importenv.pl, lib/find{,depth}.pl, look.pl, newgetopt.pl, open2.pl, open3.pl, pwd.pl, hellwords.pl, stat.pl, tainted.pl, termcap.pl, timelocal.pl
+
  
== PCRE Libraries updated to 8.30 ==
+
`crtools restore -D <dump-directory -t <PID>`
Fedora 18 will provide PCRE ( Perl-Compatible Regular Expression ) libraries of version 8.30 or newer. This brings UTF-16 support and API changes, which are documented by the changelog and NEWS provided in /usr/share/doc/pcre*
+
  
= Python updated to 3.3 =
+
To learn more about CRUI, visit http://criu.org and read `man 1 crtools`
The system Python 3 stack has been upgraded to 3.3 (the system Python 2 stack remains at 2.7), bringing in hundreds of fixes and tweaks; for a list of changes see http://docs.python.org/dev/whatsnew/3.3.html
+
  
= Ruby stack updated =
 
Fedora 18 will provide Rails 3.2, the latest version of the Rails stack. Developers are able to use the latest Rails features, which are documented in the project's release notes:
 
http://guides.rubyonrails.org/3_2_release_notes.html
 
http://guides.rubyonrails.org/3_1_release_notes.html
 
 
= Clojure joined by leiningen and tools =
 
Fedora 18 now ships a more complete Clojure programming stack, including the build tool Leiningen. This will make it easier to package other Clojure libraries in the future.
 
 
[[Category:Docs Project]]
 
 
[[Category:Draft documentation]]
 
[[Category:Draft documentation]]
 
[[Category:Documentation beats]]
 
[[Category:Documentation beats]]

Revision as of 19:01, 15 April 2013

DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 21 content added by the beat writer

Checkpoint and Restore Applications with CRUI

The CRIU (Checkpoint/Restore in User-space) projects offers a user-space implementation of process and process group checkpoint/restore. With the user-space tools crtools included in this release it is possible checkpoint processes and restore them at a later time again (e.g. after a crash) or migrate the checkpointed process or process group to another system. CRIU aims to be as transparent as possible so that no instrumentation or re-compilation of the process to be checkpointed is necessary.

Using the `crtools` package, users can easily checkpoint and restore processes with the crtools package:

`crtools dump -D <dump-directory> -t <PID>`

`crtools restore -D <dump-directory -t <PID>`

To learn more about CRUI, visit http://criu.org and read `man 1 crtools`