• chevron_right

      Deno gets faster Rust calls

      pubsub.slavino.sk / infoworldcom · Friday, 18 March, 2022 - 10:00 edit

    Faster calls into Rust are highlighted in the latest version of the Deno secure JavaScript/TypeScript runtime , improving performance.

    The Rust enhancement pertains to communication between the Google V8 JavaScript engine leveraged by Deno and the rest of the runtime, which was written in the Rust language . With Deno 1.20, announced March 17, proponents have optimized the communication layer to be as much as 60% quicker, leveraging Rust procedural macros to generate optimized bindings for V8 from existing Rust code. The macro optimizes away deserialization of unused arguments, speeds up metric collection, and provides a base for future integration with the V8 Fast API to further boost performance between JavaScript and Rust.

    To read this article in full, please click here


    Značky: #Rust, #JavaScript, #Rozne

    • chevron_right

      Rust language is fun but challenging — survey

      pubsub.slavino.sk / infoworldcom · Thursday, 17 February, 2022 - 21:16 edit

    Use of the Rust programming language is on the rise, with respondents to a recent survey about the language reporting an uptick in weekly usage. However, some users also reported struggles.

    Among those surveyed who are using Rust, 81% were using the language on at least a weekly basis, compared to 72% in last year’s survey. Of all Rust users, 75% said they are able to write production-ready code but 27% said it was at times a struggle to write useful, production-ready code.

    [ What is Rust? The way to do safe, fast, and easy software development ]

    These findings were included in Rust Survey 2021 Results , the latest edition of the Rust community’s annual report on usage of the language, published February 15. While the survey pointed toward a growing, healthy community of “Rustaceans,” it also found challenges. In particular, Rust users would like to see improvements in compile times, disk usage, debugging, and GUI development.

    To read this article in full, please click here


    Značky: #Rozne, #Rust

    • chevron_right

      Big Next.js upgrade has new Rust compiler, ES Modules support

      pubsub.slavino.sk / infoworldcom · Thursday, 28 October, 2021 - 10:00 edit

    Next.js 12 , the latest version of Vercel’s web development framework for building React applications, highlights faster builds via a new Rust compiler along with native ES modules for JavaScript.

    Described by Vercel as the biggest release of Next.js ever, Version 12 was introduced October 26. The Rust compiler in the release was built on swc JavaScript/TypeScript compiler technology and leverages native compilation. Builders of Next.js have optimized bundling and compiling, with a roughly threefold faster refresh locally for compilation and an approximately fivefold increase for production builds.

    To read this article in full, please click here


    Značky: #React, #JavaScript, #Rozne, #Rust

    • chevron_right

      Microsoft forms Rust language team

      pubsub.slavino.sk / infoworldcom · Monday, 1 February, 2021 - 22:38 edit

    Microsoft is building a team to support Rust language usage and to collaborate with the community of software developers that has gathered around the open source programming language.

    While Microsoft’s Rust team would support Rust usage within Microsoft, the company does plan to pursue opportunities to participate in the Rust community, working closely on the compiler, core tools, documentation, and other aspects of the language, Microsoft said in a statement.

    [ Also on InfoWorld: The most valuable software developer skills to get hired now ]

    The Mozilla-sponsored Rust language offers benefits in security and trust, enabling development of secure, high-performance software systems, Microsoft said. The company has posted a job advertisement for software engineers to work with the Microsoft Developer Division on improving Rust compilers and tools for internal product groups on Windows and Linux.

    To read this article in full, please click here


    Značky: #Rust, #Rozne

    • Li chevron_right

      Sortie de Redox OS 0.6.0

      tisaac · pubsub.eckmul.net / linuxfr · Friday, 25 December, 2020 - 20:19 · 3 minutes

    <p>Ce 24 décembre, l'équipe de Redox OS (système d'exploitation que <a href="//linuxfr.org/news/redox-os-le-prochain-systeme-d-exploitation-a-conquerir-le-monde">je vous présentais récemment</a>) a annoncé <a href="https://www.redox-os.org/news/release-0.6.0/">la sortie de la version 0.6</a> de leur système d'exploitation.</p> <h2 id="toc-quoi-de-neuf">Quoi de neuf ?</h2> <p>Un certain nombre de nouveaux projets ont été introduits depuis la version 0.5, et de nombreuses améliorations ont été apportées. De très nombreux bugs ont été résolus. Parmi les milliers de commits effectués depuis la dernière version, on peut mentionner les éléments suivants (en étant évidemment loin de l’exhaustivité) :</p> <ul> <li> <a href="https://gitlab.redox-os.org/redox-os/rmm/">rmm</a>, une réécriture complète du gestionnaire de mémoire du noyau. Cela a permis d'éliminer les fuites de mémoire du noyau, qui étaient devenues un problème avec le précédent gestionnaire de mémoire. De plus, le support multi-core est beaucoup plus stable.</li> <li>Une grande partie du travail de <a href="https://www.redox-os.org/rsoc/">RSoC</a>, sponsorisé par des dons à Redox OS, a été intégrée dans cette nouvelle version. Cela comprend notamment des travaux sur ptrace, strace, gdb, le partitionnement de disque, la journalisation, io_uring.</li> <li> <a href="https://gitlab.redox-os.org/redox-os/relibc/">relibc</a> a vu une grande quantité de travail, aboutissant à des améliorations pour tout ce qui en dépend (c'est-à-dire tout ce qui se trouve dans l'espace utilisateur).</li> <li> <a href="https://gitlab.redox-os.org/redox-os/pkgar/">pkgar</a> est un nouveau format de paquet. Il est beaucoup plus rapide à créer et à extraire que l'ancien format tar.</li> <li> <a href="https://gitlab.redox-os.org/redox-os/cookbook/">cookbook</a> a été repensé pour supporter un nouveau système de construction basé sur Rust. Ce système de compilation utilise des fichiers toml au lieu de scripts shell, et un certain nombre de paquets ont été portés sur ce système.</li> </ul> <p>L’espoir au sein de l’équipe de Redox OS est d’avoir une publication des versions plus fréquentes. L’avenir nous dira s’ils y arriveront ou si cela restera un vœu pieux.</p> <h2 id="toc-mais-encore">Mais encore ?</h2> <p>Ce qui n’est pas annoncé dans cette version : le caractère selfhosting ne semble pas encore atteint.</p> <p>Si l’on en croît les <a href="https://news.ycombinator.com/item?id=25533563">discussions sur les forums</a>, une des prochaines évolutions sera un installateur graphique. Des progrès concernant des drivers GPU sont sans doute aussi dans le pipe.</p> <h2 id="toc-alors-possible-de-lutiliser-tous-les-jours">Alors, possible de l’utiliser tous les jours ?</h2> <p>À la question de savoir ce qui manque à Redox OS avant qu'il puisse utiliser toutes les capacités d'un ordinateur portable <a href="https://system76.com/">system76</a> (qui est l’employeur de Jeremy Soller, le créateur de Redox), Jeremy répond :</p> <blockquote> <p>iwlwifi, une pile USB plus complète, i2c caché, accélération graphique.<br> Mais ce qui fonctionne, c'est plutôt cool. Ethernet, entrée, graphiques non accélérés, stockage nvme et ahci</p> </blockquote> <p>Si vous voulez tester par vous-même, vous pouvez télécharger <a href="https://gitlab.redox-os.org/redox-os/redox/-/jobs/31100/artifacts/browse/build/img/">l'image de Redox OS 0.6.0</a>.</p> <div><a href="https://linuxfr.org/users/tisaac/journaux/sortie-de-redox-os-0-6-0.epub">Télécharger ce contenu au format EPUB</a></div> <p> <strong>Commentaires :</strong> <a href="//linuxfr.org/nodes/122732/comments.atom">voir le flux Atom</a> <a href="https://linuxfr.org/users/tisaac/journaux/sortie-de-redox-os-0-6-0#comments">ouvrir dans le navigateur</a> </p>