<?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>compilateur source à source</title>
    <link>https://www.programmez.com/</link>
    <description></description>
    <language>fr</language>
    
    <item>
  <title>JSweet : écrire en Java, avec les outils Java, exécuter en JavaScript</title>
  <link>https://www.programmez.com/actualites/jsweet-ecrire-en-java-avec-les-outils-java-executer-en-javascript-23668</link>
  <description>&lt;span class=&quot;field field--name-title field--type-string field--label-hidden&quot;&gt;JSweet : écrire en Java, avec les outils Java, exécuter en JavaScript&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;2015-12-21T11:59:02+01:00&quot; title=&quot;Lundi, 21 décembre 2015 - 11:59&quot; class=&quot;datetime&quot;&gt;lun, 21 Déc 2015 - 11:59&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/jsweet-ecrire-en-java-avec-les-outils-java-executer-en-javascript-23668%23comment-form&quot;&gt;Se connecter&lt;/a&gt; ou &lt;a href=&quot;/user/register?destination=/actualites/jsweet-ecrire-en-java-avec-les-outils-java-executer-en-javascript-23668%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/ide&quot; hreflang=&quot;fr&quot;&gt;IDE&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/compilateur-source-source&quot; hreflang=&quot;fr&quot;&gt;compilateur source à source&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/transpileur&quot; hreflang=&quot;fr&quot;&gt;transpileur&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/java-4&quot; hreflang=&quot;fr&quot;&gt;java&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/mots-cl-s-actualit-s/javascript&quot; hreflang=&quot;fr&quot;&gt;JavaScript&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/typescript&quot; hreflang=&quot;fr&quot;&gt;TypeScript&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/jsweet-1.jpg.webp?itok=RktbkI4C&quot; width=&quot;480&quot; height=&quot;442&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/jsweet-2.jpg.webp?itok=SIR1cD1y&quot; width=&quot;480&quot; height=&quot;442&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/jsweet-3.jpg.webp?itok=trwmAC5Q&quot; width=&quot;459&quot; height=&quot;480&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;JSweet est un nouveau compilateur source à source, ou transpileur. JSweet est dédié à la création d&#039;applications et de librairies JavaScript, mais qui seront codées avec Java, ou plus exactement, en utilisant la syntaxe de Java.&lt;/p&gt;
&lt;p&gt;Cette approche permet aux paresseux de ne pas apprendre JavaScript, et à ceux qui reprochent à ce dernier son typage dynamique de bénéficier du typage statique lors de l&#039;écriture. Le code écrit est d&#039;abord traduit en TypeScript, le sur-ensemble à JavaScript conçu par Microsoft, puis en JavaScript.&lt;/p&gt;
&lt;p&gt;Un des intérêts de cette approche est de pouvoir utiliser les outils propres à Java pour écrire du code, en l&#039;occurrence Eclipse, car JSweet vient sous la forme d&#039;un plugin pour ce dernier. La construction des projets est faite avec Maven.&lt;/p&gt;
&lt;p&gt;JSweet ne s&#039;interface pas avec des librairies Java, mais avec des librairies JavaScript. Le &lt;a href=&quot;http://www.jsweet.org/&quot;&gt;site officiel&lt;/a&gt; en propose un grand nombre. JSweet permet de coder aussi bien des applications côté client que côté serveur, dans ce cas en collaborant avec node.js notamment.&lt;/p&gt;
&lt;p&gt;JSweet est open source sous licence Apache 2.0. Il est peut être téléchargé sur &lt;a href=&quot;https://github.com/cincheo/jsweet&quot;&gt;GitHub&lt;/a&gt;.&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;h2 class=&quot;title&quot;&gt;Commentaire actu&lt;/h2&gt;
    
  
  
&lt;article role=&quot;article&quot; data-comment-user-id=&quot;22853&quot; id=&quot;comment-18484&quot; class=&quot;comment js-comment clearfix&quot;&gt;

  &lt;div class=&quot;comment__meta col-sm-3&quot;&gt;
        &lt;span class=&quot;hidden text-danger&quot; data-comment-timestamp=&quot;1450717081&quot;&gt;&lt;/span&gt;
    &lt;article class=&quot;profile&quot;&gt;
  





  &lt;div class=&quot;js-form-item js-form-type-item form-type-item js-form-item- form-item- form-no-label mb-3&quot;&gt;
                    &lt;h4 class=&quot;label&quot;&gt;Membre depuis&lt;/h4&gt; 16 ans 8 mois
                      &lt;/div&gt;
&lt;/article&gt;

    &lt;small class=&quot;comment__author&quot;&gt;&lt;span&gt;PhiLho&lt;/span&gt;&lt;/small&gt;
          &lt;/div&gt;

  &lt;div class=&quot;comment__content col-sm-9 card&quot;&gt;
    &lt;div class=&quot;card-body&quot;&gt;
              
        &lt;h3 class=&quot;card-title&quot;&gt;&lt;a href=&quot;/comment/18484#comment-18484&quot; class=&quot;permalink&quot; rel=&quot;bookmark&quot; hreflang=&quot;fr&quot;&gt;Donc, en gros, ils ont&lt;/a&gt;&lt;/h3&gt;
        
            
            &lt;div class=&quot;clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item&quot;&gt;&lt;p&gt;Donc, en gros, ils ont réinventé GWT, non ?&lt;/p&gt;
&lt;/div&gt;
      
              &lt;nav&gt;&lt;drupal-render-placeholder callback=&quot;comment.lazy_builders:renderLinks&quot; arguments=&quot;0=18484&amp;amp;1=default&amp;amp;2=fr&amp;amp;3=&quot; token=&quot;-3pcDqd4ZF030iB7r3iTTM1jUPzQm8e5edoin_8sKBo&quot;&gt;&lt;/drupal-render-placeholder&gt;&lt;/nav&gt;
          &lt;/div&gt;
    &lt;div class=&quot;card-body&quot;&gt;
      &lt;span class=&quot;comment__time&quot;&gt;lun, 21 Déc 2015 - 17:58&lt;/span&gt;
      &lt;span class=&quot;comment__permalink&quot;&gt;&lt;a href=&quot;/comment/18484#comment-18484&quot; hreflang=&quot;fr&quot;&gt;Permalien&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/article&gt;

&lt;div class=&quot;indented&quot;&gt;
&lt;article role=&quot;article&quot; data-comment-user-id=&quot;0&quot; id=&quot;comment-18485&quot; class=&quot;comment js-comment by-anonymous clearfix&quot;&gt;

  &lt;div class=&quot;comment__meta col-sm-3&quot;&gt;
        &lt;span class=&quot;hidden text-danger&quot; data-comment-timestamp=&quot;1450782472&quot;&gt;&lt;/span&gt;
    &lt;article class=&quot;profile&quot;&gt;
  &lt;/article&gt;

    &lt;small class=&quot;comment__author&quot;&gt;&lt;span&gt;Anonyme (non vérifié)&lt;/span&gt;&lt;/small&gt;
          &lt;/div&gt;

  &lt;div class=&quot;comment__content col-sm-9 card&quot;&gt;
    &lt;div class=&quot;card-body&quot;&gt;
              
        &lt;h3 class=&quot;card-title&quot;&gt;&lt;a href=&quot;/comment/18485#comment-18485&quot; class=&quot;permalink&quot; rel=&quot;bookmark&quot; hreflang=&quot;fr&quot;&gt;Il y a un comparatif des&lt;/a&gt;&lt;/h3&gt;
        
            
            &lt;div class=&quot;clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item&quot;&gt;&lt;p&gt;Il y a un comparatif des technos équivalentes sur leur site (dont GWT).&lt;/p&gt;
&lt;/div&gt;
      
              &lt;nav&gt;&lt;drupal-render-placeholder callback=&quot;comment.lazy_builders:renderLinks&quot; arguments=&quot;0=18485&amp;amp;1=default&amp;amp;2=fr&amp;amp;3=&quot; token=&quot;sAyLTrIDLxCSipDvTWMej2hOYFZ__LXygTqsISymKOA&quot;&gt;&lt;/drupal-render-placeholder&gt;&lt;/nav&gt;
          &lt;/div&gt;
    &lt;div class=&quot;card-body&quot;&gt;
      &lt;span class=&quot;comment__time&quot;&gt;mar, 22 Déc 2015 - 12:07&lt;/span&gt;
      &lt;span class=&quot;comment__permalink&quot;&gt;&lt;a href=&quot;/comment/18485#comment-18485&quot; hreflang=&quot;fr&quot;&gt;Permalien&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/article&gt;
&lt;/div&gt;
&lt;article role=&quot;article&quot; data-comment-user-id=&quot;0&quot; id=&quot;comment-18533&quot; class=&quot;comment js-comment by-anonymous clearfix&quot;&gt;

  &lt;div class=&quot;comment__meta col-sm-3&quot;&gt;
        &lt;span class=&quot;hidden text-danger&quot; data-comment-timestamp=&quot;1456435368&quot;&gt;&lt;/span&gt;
    &lt;article class=&quot;profile&quot;&gt;
  &lt;/article&gt;

    &lt;small class=&quot;comment__author&quot;&gt;&lt;span&gt;Anonyme (non vérifié)&lt;/span&gt;&lt;/small&gt;
          &lt;/div&gt;

  &lt;div class=&quot;comment__content col-sm-9 card&quot;&gt;
    &lt;div class=&quot;card-body&quot;&gt;
              
        &lt;h3 class=&quot;card-title&quot;&gt;&lt;a href=&quot;/comment/18533#comment-18533&quot; class=&quot;permalink&quot; rel=&quot;bookmark&quot; hreflang=&quot;fr&quot;&gt;Non pas ils n&amp;#039;ont pas&lt;/a&gt;&lt;/h3&gt;
        
            
            &lt;div class=&quot;clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item&quot;&gt;&lt;p&gt;Non pas ils n&#039;ont pas réinventé GWT . &amp;nbsp;GWT est un outil qui était voué à porter les APIS ( La JRE ) Java vers Javascript , avec la promesse de recompiler entiérement d&#039;anciens projets java en javascript , puis s&#039;est imposé pendant quelques années en tant que framework .&lt;/p&gt;
&lt;p&gt;A contrario Jsweet et un pur &quot;transpilateur&quot; , et ne fait que transcrire le code java vers typescript pour finalement produire du javascript . JSWeet à l&#039;inverse de GWT ne contient pas de framework spécifique . JSWeet n&#039;est qu&#039;une interface Java vers Javascript , un effet mirroir du monde javascript vers le monde java . C&#039;est d&#039;ailleur cela que nous attendions tous depuis quelques années . Pouvoir utiliser les derniéres fonctionnalités de javascript et des diverses apis de son monde tous en ayant la possibilité de travailler sur de trés large applications de maniére trés organisée avec des outils du monde &amp;nbsp;professionnel java .&lt;/p&gt;
&lt;p&gt;Un grand merci à Cinchéo ... beau travail .&lt;/p&gt;
&lt;/div&gt;
      
              &lt;nav&gt;&lt;drupal-render-placeholder callback=&quot;comment.lazy_builders:renderLinks&quot; arguments=&quot;0=18533&amp;amp;1=default&amp;amp;2=fr&amp;amp;3=&quot; token=&quot;Cr7QWHqCmth6qTkXoQtHjkWEySuEua9B4pynRldG4j4&quot;&gt;&lt;/drupal-render-placeholder&gt;&lt;/nav&gt;
          &lt;/div&gt;
    &lt;div class=&quot;card-body&quot;&gt;
      &lt;span class=&quot;comment__time&quot;&gt;jeu, 25 Fév 2016 - 22:22&lt;/span&gt;
      &lt;span class=&quot;comment__permalink&quot;&gt;&lt;a href=&quot;/comment/18533#comment-18533&quot; hreflang=&quot;fr&quot;&gt;Permalien&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/article&gt;


  
&lt;/section&gt;
</description>
  <pubDate>Mon, 21 Dec 2015 10:59:02 +0000</pubDate>
    <dc:creator>fredericmazue</dc:creator>
    <guid isPermaLink="false">68795 at https://www.programmez.com</guid>
    </item>

  </channel>
</rss>
