並び順

ブックマーク数

期間指定

  • から
  • まで

361 - 400 件 / 423件

新着順 人気順

Rustの検索結果361 - 400 件 / 423件

  • Rust Foundation

    DOVER, DELAWARE, USA, June 12, 2024 – The Rust Foundation, AdaCore, Arm, Ferrous Systems, HighTec EDV-Systeme GmbH, Lynx Software Technologies, OxidOS, TECHFUND, TrustInSoft, Veecle, and Woven by Toyota are thrilled to jointly announce the Safety-Critical Rust Consortium. The primary objective of this group will be to support the responsible use of the Rust programming language in safety-critical

      Rust Foundation
    • Announcing Rust 1.75.0 | Rust Blog

      The Rust team is happy to announce a new version of Rust, 1.75.0. Rust is a programming language empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, you can get 1.75.0 with: $ rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes

        Announcing Rust 1.75.0 | Rust Blog
      • 999 crates of Rust on the wall

        tl;dr I’ve been comparing crates on crates.io against their upstream repositories in an effect to detect (and, ultimately, help prevent) supply chain attacks like the xz backdoor1, where the code published in a package doesn’t match the code in its repository. The results of these comparisons for the most popular 9992 crates by download count are now available. These come with a bunch of caveats t

        • Committing to Rust for kernel code [LWN.net]

          Rust has been a prominent topic at the Kernel Maintainers Summit for the last couple of years, and the 2023 meeting continued that tradition. As Rust-for-Linux developer Miguel Ojeda noted at the beginning of the session dedicated to the topic, the level of interest in using Rust for kernel development has increased significantly over the last year. But Rust was explicitly added to Linux as an exp

          • An Optimization That's Impossible in Rust!

            An Optimization That’s Impossible in Rust! 2024/08/30 data structure #dynamically sized type #german string #optimization #reference counting #shared ownership #short string #small string #umbra string #unsafe TL;DR Here’s the link to the crate. As I’m studying database systems for my Master’s degree in Germany, this article Why German Strings are Everywhere immediately caught my attention. I was

              An Optimization That's Impossible in Rust!
            • Rust 1.80.0 リリース — 遅延タイプの安定化、新たな範囲パターンの導入など

              7月26日、RustチームはRust 1.80.0を発表した。 Rustは信頼性が高く効率的なソフトウェアを構築するためのプログラミング言語であり、今回のバージョンアップではいくつかの新機能と改善が含まれている。以下に主な変更点を紹介する。 本記事は、以下のエキスパートに監修していただきました: LazyCell と LazyLock これらの「遅延」タイプは、データの初期化を初めてアクセスされるまで遅らせるものである。1.70で安定化されたOnceCellとOnceLockタイプに似ているが、セル内に初期化関数を含んでいる点が異なる。この機能はもともと、人気のあるlazy_staticおよびonce_cellクレートから、標準ライブラリに取り入れられた機能を安定化させたものである。 LazyLockはスレッドセーフなオプションであり、static値のような場所に適している。以下の例では、

                Rust 1.80.0 リリース — 遅延タイプの安定化、新たな範囲パターンの導入など
              • rust is not about memory safety

                01 june, 2024 most of rust discussions nowadays revolve around memory safety, and how it is safer than C / C++ / zig / go / whatever language is being trashed on twitter that day. while yes, that is true - not that the bar for most of these is particularly high - what I think is the main point of the language is always glossed over: correctness. when one tries to criticize any of the aforementione

                  rust is not about memory safety
                • Existential types in Rust [LWN.net]

                  For several years, contributors to the Rust project have been working to improve support for asynchronous code. The benefits of these efforts are not confined to asynchronous code, however. Members of the Rust community have been working toward adding explicit existential types to Rust since 2017. Existential types are not a common feature of programming languages (something the RFC acknowledges),

                  • WASM書いてみた(Go vs Rust) - Qiita

                    はじめに 本記事では、Go言語とRustで同じ機能を持つWASMを書き、3つの観点で比較した つくったもの 複数のファイルをZipアーカイブに変換しダウンロードする機能を持つWASMを、Go言語とRustで作成した 環境等 Mac Mini (M1) Darwin root.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103 arm64

                      WASM書いてみた(Go vs Rust) - Qiita
                    • The Definitive Guide to Rust Error Handling

                      Contents What is an error in Rust?Errors in the context of ResultDynamic Rust errors: handling Box<dyn Error> and friendsHandling dynamic errors from other people's codeDowncasting errors in RustHandling Rust errors with anyhowWho is your audience and what will they do with your error?Structured Rust errors: defining and composing enums and structsA unified theory of Rust error handlingDiscussionA

                        The Definitive Guide to Rust Error Handling
                      • 【Rust】✨CLIアプリ向けクレート4選✨ ~ clap, dialoguer, indicatif, console ~ - Qiita

                        4つのクレートを全て活用すると次のデモのようなCLIアプリケーションも簡単(※当社比)に作れます! asciinema リポジトリ: https://github.com/anotherhollow1125/lang_monster Gif中の次のシーンにて本記事で紹介するクレートが使われています。 ./lang_monster --help clapクレートによりヘルプオプションが追加されています アセットダウンロードプログレスバー indicatifクレートを使って表示しています 左上始点でセリフ表示・色付き文字 consoleクレートにてANSIエスケープを出力することで実現しています 主人公名ライバル名の選択・入力 dialoguerクレートを使って実現しています オプション入力 (./lang_monster -t auto -s fast -u Rust -r Go) clap

                          【Rust】✨CLIアプリ向けクレート4選✨ ~ clap, dialoguer, indicatif, console ~ - Qiita
                        • Rustの世界に飛び込んでみた。 - Qiita

                          こんにちは、システム開発部門の山本です。 Rustって面白いですね! 概要 新しい技術の習得を積極的に後押ししてくれる、そんな弊社。 Rust未経験の私がRustで構築された業務システムのバックエンド開発を担当した話。 Rust Webブラウザソフトウェア「Firefox」を開発しているMozillaが支援するオープンソースのプログラミング言語。 ネイティブコンパイラ言語であり、メモリ安全性と高パフォーマンスが売り。 今後、Webシステム開発の主流になる可能性もある。 担当する業務システム とある企業の業務システムのリプレイス。 パッケージツールから自社開発Webシステムへの切り替えを目指すなか、 弊社が全面的に開発サポートをさせて頂いております。 Rustの仕様に戸惑う1ヶ月目 まずバックエンド開発担当となって最初の作業がバグの改修でした。 そこで必要となるのがRustのコード解析。 こ

                            Rustの世界に飛び込んでみた。 - Qiita
                          • Mackerel REST APIのRustクライアントで取り入れた設計 - プログラムモグモグ

                            この記事はMackerel Advent Calendar 2023の15日目です。 昨日はkmutoさんでした。 MackerelのREST APIクライアントをRustで書き始めたのは2017年の春のことでした。もう六年半も前のことになります。 2017年ごろの日記を見返してみるとRustにかなりハマっていた時期で、色々なツールを作っていたのを思い出しました。 mackerel-client-rsはそれ以来放置してしまっていたのですが、最近また急にRustのやる気スイッチが入ったので、色々と実装し直しています。 github.com 久しぶりにMackerelのAPI一覧のドキュメントを見ると、ダウンタイムやアラートグループ設定といった個人的に思い入れのある機能のAPIや複数のホストを一括で操作するAPIなどが追加されていて、進化を感じました。 死活監視のステータスや外形監視のリダイレ

                              Mackerel REST APIのRustクライアントで取り入れた設計 - プログラムモグモグ
                            • Benchmark TypeScript Parsers: Demystify Rust Tooling Performance

                              Benchmark TypeScript Parsers: Demystify Rust Tooling Performance TL;DR: Native parsers used in JavaScript are not always faster due to extra work across languages. Avoiding these overhead and using multi-core are crucial for performance. Rust is rapidly becoming a language of choice within the JavaScript ecosystem for its performance and safety features. However, integrating Rust into JavaScript t

                                Benchmark TypeScript Parsers: Demystify Rust Tooling Performance
                              • Making Rust supply chain attacks harder with Cackle | David Lattimore

                                Making Rust supply chain attacks harder with Cackle If you want a slightly shorter read, skip to Introducing Cackle. A hypothetical story about Alex Alex is a software engineer who has built a tool which she licences to her customers. She only has a small number of clients, but they like her tool. She built her tool using Rust, with about 20 direct dependencies from crates.io. When you count indir

                                • Rust and dynamically-sized thin pointers

                                  One of Rust's notable differences from C is its requirement that all values have a defined size, which enables runtime bounds-checking and advanced static analysis tooling such as MIRI. For dynamically-sized types (DSTs) this requirement is implemented using thick pointers, such that each pointer to a dynamically-sized value is an (address, size) tuple. Thick pointers are more convenient and easie

                                  • Rust through the ages

                                    How has Rust changed over the years? It's been nine years since 1.0 was released (well, next week, technically). In that time, there have been 78 major releases and two editions, with a third due later this year. Quite a lot has changed! Those changes have been fairly incremental, so if you've been using Rust all that time, it probably doesn't feel like a lot. But comparing the 1.0 flavour of Rust

                                    • RustとDioxusで投稿アプリのSPAに編集機能と削除機能を実装しよう

                                      コンテキストの利用 前回は、新規投稿機能を実装しました。今回は、投稿の編集機能と削除機能を実装していきます。 ここまで、コンポーネントで値を保持するためにuse_signal(Signal<T>)などのフックを使ってきました。フックを子コンポーネントでも使いたい場合には、propsを使って渡すのが基本です。ただし、子コンポーネントに渡すフックの数が多くなったり、コンポーネントの階層が深くなったりすると、同じようなpropsが増えてくる「Props Drilling」(バケツリレー)が発生します。 Props Drillingではコードが複雑になり冗長にもなるので、これを回避するためにDioxusには「コンテキスト」(context)という仕組みが用意されています。コンテキストはフックの一つであり、Signal<T>などの値を直接保持します。つまり、フックのコンテナと見なすことができます。

                                        RustとDioxusで投稿アプリのSPAに編集機能と削除機能を実装しよう
                                      • Rust はコストのかかるコードを書くのが苦痛になるようにデザインされている(?) - 無駄と文化

                                        Rust は「コストのかかるコードは書くのが苦痛であるべき」という思想のもとデザインされている気がする。 というのも Rust を書いていると「意図的にショートカットが用意されていない」と思える場面があるからだ。 いくつか例を挙げてみようと思う。 文字列の連結 String 型の変数 s を所有しているときに、s の 後ろに 文字列リテラルを連結するのは簡単だ。+ 演算子で文字列の連結ができる。 let mut s = String::from("hello"); s = s + ", world"; println!("{}", s); // => hello, world 一方で s の 前に 連結するには一手間必要になる。 let mut s = String::from("world"); s = "hello, ".to_string() + &s; println!("{}",

                                          Rust はコストのかかるコードを書くのが苦痛になるようにデザインされている(?) - 無駄と文化
                                        • Why I am not yet ready to switch to Zig from Rust

                                          Jun 19, 2024 Why I am not yet ready to switch to Zig from Rust I am not going to lie: I love programming in C. I know it’s a little bit irrational, but programming in C just feels right. Perhaps that’s because I did spend a lot of time programming with C as I contributed to the Linux kernel. Those were good times because I had the opportunity to learn from some of the best C programmers in the wor

                                            Why I am not yet ready to switch to Zig from Rust
                                          • GitHub - chaosprint/asak: A cross-platform audio recording/playback CLI tool with TUI, written in Rust.

                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                              GitHub - chaosprint/asak: A cross-platform audio recording/playback CLI tool with TUI, written in Rust.
                                            • Announcing Rust 1.81.0 | Rust Blog

                                              The Rust team is happy to announce a new version of Rust, 1.81.0. Rust is a programming language empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, you can get 1.81.0 with: $ rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes

                                                Announcing Rust 1.81.0 | Rust Blog
                                              • Rust developers at Google twice as productive as C++ teams

                                                Code shines up nicely in production, says Chocolate Factory's Bergstrom Echoing the past two years of Rust evangelism and C/C++ ennui, Google reports that Rust shines in production, to the point that its developers are twice as productive using the language compared to C++. Speaking at the Rust Nation UK Conference in London this week, Lars Bergstrom, director of engineering at Google, who works o

                                                  Rust developers at Google twice as productive as C++ teams
                                                • RustでもGCを使いたい

                                                  はじめに Rustには優れた所有権システムおよびRc<T>/Arc<T>があるので通常はGCを必要としないのですが、どうしても循環参照(それもrc::Weak<T>では解決できないタイプの)が必要となるケースというのが多数存在します。具体的には言語処理系および…… いや言語処理系くらいしかないな。しかしながら、言語処理系を実装するにあたってRustを選択するのは一般的な選択肢なので、これはゆゆしき問題です。 gcクレートによるGC導入 GC機能を提供するクレートはいくつかありますが、何も考えずシングルスレッドでGCしたいだけならgcクレートが手軽です。 Rc<T>/RefCell<T>の代わりにgc::Gc<T>/gc::GcCell<T>を使用するだけでOK。管理したい型にはgc::Traceおよびgc::Finalize traitを実装する必要があります。 // Gc<T>で管理した

                                                    RustでもGCを使いたい
                                                  • CでもC++でもなく「Go」「Rust」を使いたくなる理由

                                                    ダウンロードはこちら 「Go」と「Rust」は、どちらもさまざまな用途に適したオープンソースのプログラミング言語だ。企業のシステム開発で中心的存在だった「C」「C++」などの“老舗言語”に代わる汎用(はんよう)言語として、開発者から支持を受けている。 本資料は、GoとRustの機能や利点、欠点を紹介する。それぞれの特徴を知っておくことは、これから新しくプログラミング言語を学習しようとする際や、プロジェクトで用いるプログラミングを選択する際の参考になる。 中身を読むには、「中身を読む」ボタンを押して無料ブックレットをダウンロードしてください。 連載:GoとRustを比較する

                                                      CでもC++でもなく「Go」「Rust」を使いたくなる理由
                                                    • Rustで自作OSに挑戦した話(敗走)

                                                      この記事について Writing an OS in 1000 LinesをRustで途中まで頑張った記録を残したものです。もと記事はとても素晴らしいので、みなさんやりましょう! RustでOS書きたいと思った時、小さな踏み台になれればと思います。もし間違っている部分があれば、教えていただけると嬉しいです。 また、Scrapboxに日記があります。人に見せるようなものではないかもですが、詳しめに書いているので置いておきます。動かない原因を調査するため、もがいている姿が見れます。 つくったものはこちら 参考 以下の記事&コードを沢山参考にしました。ありがとうございました! 環境 Ubuntu 20.04 rustc version rustc 1.73.0 (cc66ad468 2023-10-03) プロセスを実装するところからnightlyに変わります(後述) qemu version Q

                                                        Rustで自作OSに挑戦した話(敗走)
                                                      • Verifying Rust Zeroize with Assembly...including portable SIMD

                                                          Verifying Rust Zeroize with Assembly...including portable SIMD
                                                        • Rust is for the Engine, Not the Game - Barrett's Club

                                                          Last updated on June 6, 2024. Rust is for the Engine, Not the Game Macros are cool! But, if we're going to create another language anyways... LogLog Games recently posted Leaving Rust gamedev after 3 years, a must-read article for folks who're doing game development in Rust. It focuses on a small indie developer organization and their experiences with Rust development. If you haven't given it a re

                                                            Rust is for the Engine, Not the Game - Barrett's Club
                                                          • Pythonの良くないところはなんでしょう?私はHaskellやRust、Goといった言語を触ってきましたが、未だに1番書きやすいと感じるのはPythonです。

                                                            回答 (17件中の1件目) この質問の回答が浅いものばかりなのでについカッとなって、自分が考える、Pythonの悪い点を集めてみました。 https://twitter.com/shun0157/status/1574690521942933504 3年くらいしか触ってないですがこのあたりです。分かりやすい順から。 * 多重継承というかInterfaceとかmixinとかがない 多重継承なんて嫌だ!と思ってたけどPythonでは使わないわけにはいかず。クラス名だけXXXMixinとかにしてなんとかしてます。 * f-stringというかformatの仕様 プレースホルダが `{...

                                                              Pythonの良くないところはなんでしょう?私はHaskellやRust、Goといった言語を触ってきましたが、未だに1番書きやすいと感じるのはPythonです。
                                                            • 【Rust製構成管理ツール】JetPorch とは【次世代Ansible?】 - Qiita

                                                              開発言語: Rust まず個人的に一番うれしい点は Rust によって実装されていることです. Rust は強力な型システムや所有権を持つため安全性の高い並列性・並行性のあるプログラミングを可能にしており, 実行速度の向上をもたらします. 最近の Python プロジェクトでは広く型ヒントが導入されつつありますが Ansible にはまだ無く, ソースコードを読む際には労力がかかります. その点においても Rust の型システムは開発者の理解を助けてくれます. 所有権による強力なコンパイラチェックも高い安全性を保証してくれます. マネージドノードへの要件 Ansible ではマネージドノードに Python を必要としますが JetPorch にはそのような要件はありません. そのため Python がインストールされていない環境であっても JetPorch であれば利用することができます

                                                                【Rust製構成管理ツール】JetPorch とは【次世代Ansible?】 - Qiita
                                                              • Iggy.rs - building message streaming in Rust

                                                                Origins Over half a year ago (in April, to be exact), I eventually decided to learn Rust for good. My previous attempt during the 2022 AoC had failed rather quickly, after a few days of completing the exercises - I finally realized that I needed a real project to work on. For the last few years, I've been dealing with the different kinds of distributed systems (mostly using C#), including the typi

                                                                • LINE botを題材に学ぶRust Webアプリケーション開発:PharmaX株式会社

                                                                  この本はLINE Bot を題材として、Rust での Web ア プリケーション開発の重要ポイントが網羅的に学べるようになっています。 Rust は、メモリ安全性・並行処理、および高性能を目指して設計されたシステムプロ グラミング言語です。所有権やライフタイムなどの独特の概念を持ち、難しいと言われる ことも多い言語です。Web アプリケーション開発にはまだ向かないと言った印象を持た れている方も多いようです。 しかし、実際に使ってみると、むしろ高級言語に近い特色を多数兼ね備えていることに 気がつくでしょう。また、ここ数年で Web アプリケーション開発のためのエコシステム も十分に発展してきており、開発に困ることはあまりありません。勘所さえ押さえること ができれば、Web アプリケーション開発においても Rust のメリットを十分に享受するこ とが可能です。 出版社から出版されている書籍

                                                                    LINE botを題材に学ぶRust Webアプリケーション開発:PharmaX株式会社
                                                                  • Changes to `impl Trait` in Rust 2024 | Rust Blog

                                                                    The default way impl Trait works in return position is changing in Rust 2024. These changes are meant to simplify impl Trait to better match what people want most of the time. We're also adding a flexible syntax that gives you full control when you need it. TL;DR Starting in Rust 2024, we are changing the rules for when a generic parameter can be used in the hidden type of a return-position impl T

                                                                      Changes to `impl Trait` in Rust 2024 | Rust Blog
                                                                    • GitHub - aws/aws-lc-rs: aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. The library strives to be API-compatible with the popular Rust library named ring.

                                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                        GitHub - aws/aws-lc-rs: aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. The library strives to be API-compatible with the popular Rust library named ring.
                                                                      • Google Geminiでゲーム移植?ブラウザゲームの"Rust+WASM版"をAIに作らせる | Agar.io 2024 - Qiita

                                                                        Google Geminiでゲーム移植?ブラウザゲームの"Rust+WASM版"をAIに作らせる | Agar.io 2024JavaScriptgameRustAIWebAssembly 皆さんは Google AI Studio を使っていますか? このサービスは、テキストや画像だけでなく、動画やコードなどの様々なデータを理解し、Gemini に質問したり指示したりできる強力なツールです。 ただ、注目すべきは かなり長いプログラムのコードを食わせてそれを解析できる ということです。 以下は slither.io というブラウザゲームのjsファイルを丸ごと食わせて解説してもらった例 コードを全部読まなくても、Gemini に解析してもらってどういう処理があるとか、サーバーとどんな通信を行っているのかを聞くとかなり精度良く回答が帰ってきます。 つまり、コードの中身をほとんど読まなくてもだい

                                                                          Google Geminiでゲーム移植?ブラウザゲームの"Rust+WASM版"をAIに作らせる | Agar.io 2024 - Qiita
                                                                        • Rust for Linux

                                                                          • The Real C++ Killers (Not You, Rust)

                                                                            This is Words and Buttons Online — a collection of interactive #tutorials, #demos, and #quizzes about #mathematics, #algorithms and #programming. Hello! I’m Oleksandr Kaleniuk and I’m a C++holic. I have been writing in C++ for 17 years and for all those 17 years I’ve been struggling to get rid of this devastating addiction. It all started in late 2005 with a 3D space simulator engine. The engine h

                                                                            • Rust's iterators optimize nicely—and contain a footgun | nicole@web

                                                                              I saw a claim recently that in functional programming using "map/filter iterates over the list twice, while the foreach loop iterates only once." The author continued that "Haskell can fuse maps together as an optimization but I don't think you safely fuse arbitrary map/filters? I dunno." There are really two claims here: in functional programming, map/filter will do two iterations there is an opt

                                                                              • はじめに - Rust By Example

                                                                                Rust by Example Rust is a modern systems programming language focusing on safety, speed, and concurrency. It accomplishes these goals by being memory safe without using garbage collection. Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries. To get even more out of these examples, don't forget to install Rust locally and check out

                                                                                • GitHub - supabase/pg_replicate: Build Postgres replication apps in Rust

                                                                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                    GitHub - supabase/pg_replicate: Build Postgres replication apps in Rust