<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xml:base="https://www.programmez.com/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>réducteur de code</title>
    <link>https://www.programmez.com/</link>
    <description></description>
    <language>fr</language>
    
    <item>
  <title>R8 : un nouveau réducteur de code dans Android Studio 3.3 bêta</title>
  <link>https://www.programmez.com/actualites/r8-un-nouveau-reducteur-de-code-dans-android-studio-33-beta-28222</link>
  <description>&lt;span class=&quot;field field--name-title field--type-string field--label-hidden&quot;&gt;R8 : un nouveau réducteur de code dans Android Studio 3.3 bêta&lt;/span&gt;
&lt;span class=&quot;field field--name-uid field--type-entity-reference field--label-hidden&quot;&gt;&lt;span&gt;fredericmazue&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;field field--name-created field--type-created field--label-hidden&quot;&gt;&lt;time datetime=&quot;2018-11-08T16:24:59+01:00&quot; title=&quot;Jeudi, 8 novembre 2018 - 16:24&quot; class=&quot;datetime&quot;&gt;jeu, 8 Nov 2018 - 16:24&lt;/time&gt;
&lt;/span&gt;


  &lt;div class=&quot;inline__links&quot;&gt;&lt;nav class=&quot;links inline nav links-inline&quot;&gt;&lt;span class=&quot;comment-forbidden nav-link&quot;&gt;&lt;a href=&quot;/user/login?destination=/actualites/r8-un-nouveau-reducteur-de-code-dans-android-studio-33-beta-28222%23comment-form&quot;&gt;Se connecter&lt;/a&gt; ou &lt;a href=&quot;/user/register?destination=/actualites/r8-un-nouveau-reducteur-de-code-dans-android-studio-33-beta-28222%23comment-form&quot;&gt;s&#039;inscrire&lt;/a&gt; pour publier un commentaire&lt;/span&gt;&lt;/nav&gt;
  &lt;/div&gt;

&lt;div class=&quot;btn btn-light&quot;&gt;
      &lt;a href=&quot;/actualites/outils&quot; hreflang=&quot;fr&quot;&gt;Outils&lt;/a&gt;
  &lt;/div&gt;

&lt;div class=&quot;mots-cles-actualite d-flex flex-wrap gap-2&quot;&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/reducteur-de-code&quot; hreflang=&quot;fr&quot;&gt;réducteur de code&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/android-studio&quot; hreflang=&quot;fr&quot;&gt;Android Studio&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;

      &lt;div class=&quot;field field--name-field-image-actualite field--type-entity-reference field--label-hidden field__items&quot;&gt;
              &lt;div class=&quot;field__item&quot;&gt;&lt;div&gt;
  
  
  &lt;div class=&quot;field field--name-field-media-image field--type-image field--label-visually_hidden&quot;&gt;
    &lt;div class=&quot;field__label visually-hidden&quot;&gt;Image&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;  &lt;img loading=&quot;lazy&quot; src=&quot;/sites/default/files/styles/large/public/images_actus/r8-shrinker-2.png.webp?itok=5DJYZZ-a&quot; width=&quot;480&quot; height=&quot;297&quot; class=&quot;image-style-large&quot; /&gt;


&lt;/div&gt;
          &lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;&lt;div&gt;
  
  
  &lt;div class=&quot;field field--name-field-media-image field--type-image field--label-visually_hidden&quot;&gt;
    &lt;div class=&quot;field__label visually-hidden&quot;&gt;Image&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;  &lt;img loading=&quot;lazy&quot; src=&quot;/sites/default/files/styles/large/public/images_actus/r8-shrinker-3.png.webp?itok=xwQyi7Wd&quot; width=&quot;480&quot; height=&quot;297&quot; class=&quot;image-style-large&quot; /&gt;


&lt;/div&gt;
          &lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class=&quot;clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item&quot;&gt;&lt;p&gt;Ainsi que tous les développeurs Android le savent, la taille d&#039;un fichier APK est un facteur important. Pour aider les développeurs sur ce point, Android Studio 3.3 bêta vient avec un nouveau réducteur de code : R8.&lt;/p&gt;
&lt;p&gt;La réduction de code permet de réduire la taille d&#039;un fichier APK en en éliminant le code mort et les ressources inutilisés, ainsi qu&#039;en faisant en sorte que le code actif prenne moins de place.&lt;/p&gt;
&lt;p&gt;Comparé à la solution de réduction de code actuelle, Proguard, le réducteur de code R8 d&#039;Android Studio 3.3 bêta travaille plus rapidement tout en améliorant la taille de la sortie.&lt;/p&gt;
&lt;p&gt;Des benchmarks de comparaison de Proguard et R8 sont disponibles sur &lt;a href=&quot;https://github.com/madsager/santa-tracker-android&quot;&gt;GitHub&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;R8 fonctionne avec les règles Proguard. Pour l&#039;essayer dans Android Studio 3.3 bêta, il suffit d&#039;ajouter une ligne dans le fichier gradle.properties :&lt;/p&gt;
&lt;p&gt;android.enableR8=true&lt;/p&gt;
&lt;p&gt;Pour les développeurs plus aventureux, R8 dispose d&#039;un mode complet, non compatible avec Proguard. Pour ce mode complet, à noyveau une ligne dans le fichier gradle.properties suffit :&lt;/p&gt;
&lt;p&gt;android.enableR8.fullMode=true&lt;/p&gt;
&lt;/div&gt;
      &lt;section class=&quot;field field--name-field-commentaire-actu field--type-comment field--label-above comment-wrapper&quot;&gt;
  
  

  
&lt;/section&gt;
</description>
  <pubDate>Thu, 08 Nov 2018 15:24:59 +0000</pubDate>
    <dc:creator>fredericmazue</dc:creator>
    <guid isPermaLink="false">71725 at https://www.programmez.com</guid>
    </item>

  </channel>
</rss>
