並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 83件

新着順 人気順

rustの検索結果1 - 40 件 / 83件

  • 『Rustで作るプログラミング言語』を読んで、かねてから構想していた自作言語を形にした - Islands in the byte stream

    Rustで作るプログラミング言語という書籍が先日発売されました。簡単なプログラミング言語を作ってバイトコードに変換して実行したりネイティブコードに変換して実行してみよう、という本で、大変面白く読みました。最終的にまあまあ本格的な言語になるので、これを元にするとわりとちゃんとした言語を作れそうです。 この書籍で最終的に作られる言語はこちら: GitHub - msakuta/ruscal: Programming language implementation learning project ちょうど私も、以前から構想していた言語があったので、ちょっと作ってみました。というのも、TypeScriptを設定記述言語としてさまざまなプログラミング言語から使えると便利ではないかとずっと思っていたのです。 この設定言語で複雑なことができる必要はなく、最終的にはJSONに準ずるデータ構造になればよい

      『Rustで作るプログラミング言語』を読んで、かねてから構想していた自作言語を形にした - Islands in the byte stream
    • Rustを選んで後悔している ー Rustをdisる珍しい記事が海外で話題

      6月29日、Austin Starks氏が「I spent 18 months rebuilding my algorithmic trading platform in Rust. I’m filled with regret.」と題した記事を公開した。この記事では、Rust言語を用いてアルゴリズム取引プラットフォームを再構築した経験と、その結果、Rust言語に対して批判的なスタンスを取るようになった理由が詳しく述べられている。 著者はその高速性と安全性から、Rustが完璧なプログラミング言語であると信じていた。多くのガイドや記事がRustを絶賛しており、著者もその波に乗ってTypeScriptからRustへの移行を決意した。しかし開発に18ヶ月を費やした結果、著者はその選択を後悔することとなった。 著者が特に問題視したのは以下の点である。 1. 冗長で直感に反する構文と意味論 Rust

        Rustを選んで後悔している ー Rustをdisる珍しい記事が海外で話題
      • Rust言語のコアライブラリをDart言語で実装した「Rust Core 1.0」がリリース。Rustの主な型や便利な機能がDartで使えるように

        Rust言語のコアライブラリをDart言語で実装した「Rust Core 1.0」がリリース。Rustの主な型や便利な機能がDartで使えるように Rust Coreの開発チームは、Rust言語のコアライブラリをDart言語で実装した「Rust Core 1.0」をオープンソースとしてリリースしました。 Rust Coreを用いることで、Dart言語にRust言語が持つ一般的な型やさまざまな便利な機能を取り込むことができるようになります。 合わせて、Rust Coreのドキュメント「Rust Core Book」も公開されました。 DartはGoogleが主導してオープンソースで開発されているプログラミング言語です。クロスプラットフォーム対応のモバイルアプリケーション開発に対応したFlutterフレームワークで用いられている言語として知られています。 なぜDart言語でRustのコアライブ

          Rust言語のコアライブラリをDart言語で実装した「Rust Core 1.0」がリリース。Rustの主な型や便利な機能がDartで使えるように
        • 個人利用は無償 ~JetBrainsがRust向けIDE「RustRover」を一般公開/メモリ安全性を保障したプログラミング言語「Rust」の開発に特化した統合開発環境

            個人利用は無償 ~JetBrainsがRust向けIDE「RustRover」を一般公開/メモリ安全性を保障したプログラミング言語「Rust」の開発に特化した統合開発環境
          • Rustで有名アルゴリズムに挑戦(20) RustとTcl/TkでGUIアプリを作ろう

            普段使うツールをRustで作る場合、コマンドラインベースのものが多いと思います。それでも、Rustを使ってデスクトップアプリを作ることもできます。今回は、実績のあるGUIツールキットの「Tcl/Tk」をラップしたクレートを使って簡単なGUIを作成してみましょう。 Rustで単位変換ツールを作ったところ GUIツールキット「Tcl/Tk」のインストール Rustのライブラリを集約したcrates.ioを見ると、多くのGUIライブラリが存在します。Rustはさまざまな環境で動作することを想定していることもあり、「これこそGUIの定番」というものはありません。多くの選択肢があり、用途に応じて使い分けるのが正しい作法です。 WebブラウザベースのTauri、ゲーム開発と相性の良いegui、GTK+を利用するGTK-rs、Tcl/Tkをラップしたライブラリのtcl/tkなど、いろいろなクレートがあり

              Rustで有名アルゴリズムに挑戦(20) RustとTcl/TkでGUIアプリを作ろう
            • Rust+WebAssemblyを使ったWebアプリでの高速画像処理入門 - アダコテック技術ブログ

              要約 背景 WebAssembly (WASM) とは? Rust言語とは? サンプルアプリ概要 LBP特徴量計算をRustで実装 フロントエンド環境構築 バックエンド環境構築 スキーマ定義 Rust実装 WASMバイナリの生成 TypeScript実装 実行結果 まとめ メンバー募集しています! おまけ こんにちは!美味しいタコスを食べることを専門としているプロダクト開発部エンジニアの井上です。 要約 WebAssembly(WASM)、Rustは近年注目されている技術であり、これを利用することでWebアプリケーション上で高速な画像処理を実現できるよ。 我々も画像前処理を行っていたWindowsデスクトップアプリケーションを、WebAssembly+Rustを使用してWebアプリケーションに置き換えたよ。 Rust言語で実装した画像処理をWASMにコンパイル、そしてWebアプリケーション

                Rust+WebAssemblyを使ったWebアプリでの高速画像処理入門 - アダコテック技術ブログ
              • Rust製のオープンソースエディタ「Zed」のLinux安定版が公開

                オープンソースで開発されているRust製のエディタ「Zed」のLinux対応安定版が公開されました。 主要なLinuxディストリビューションで動作すると説明されています。 Linux when? Linux now. For the last 6 months, our team and our open source community have been working hard to bring Zed to Linux. As of today, we've released our first, official, stable build of Zed on Linux!https://t.co/WbptRrpkQw pic.twitter.com/ijLK9ndGy3 — Zed (@zeddotdev) July 10, 2024 Zedエディタは高速性が特徴、GitHub

                  Rust製のオープンソースエディタ「Zed」のLinux安定版が公開
                • Rustコミッターが語る、RPITIT (Return-position impl trait in trait) の実装

                  本記事は、TechFeed Experts Night#30 〜 Rust / WebAssembly最前線のセッション書き起こし記事になります。 イベントページのタイムテーブルから、その他のセッションに関する記事もお読み頂けますので、一度アクセスしてみてください。 本セッションの登壇者 セッション動画 Return-position impl trait in trait、いわゆるRPITITの実装をあくまで「雑に見ていく」というタイトルで発表したいと思います。 前田喬之といいます。SNSはTaKO8Kiというハンドルネームでやっていて、基本的にRustのコミッターというか、コンパイラのコントリビューターチームや、エラー周りの機構を実装するワーキンググループに所属しています。 メソッドの戻り値タイプに impl トレイトを指定できるRPITIT まず最初に、RPITITはそもそもどういう

                    Rustコミッターが語る、RPITIT (Return-position impl trait in trait) の実装
                  • Playing guitar tablatures in Rust

                    If you ever tried to learn guitar, chances are you are familiar with guitar tablatures. It is a simple way to visualize music for guitar, using ASCII characters to represent strings and frets as an alternative to sheet music. For instance, here are the first four measures of the song "Smoke on the Water" by Deep Purple: e|-----------------|-----------------|-----------------|-----------------| B|-

                    • A curated list of awesome Rust checkers

                      Awesome Rust checkers Table of contents Awesome Rust checkers Table of contents Linters Static Checkers Dynamic Checkers Verifiers1 Linters Name Description Working on Bug types Technology Maintenance clippy A bunch of lints to catch common mistakes and improve your Rust code. HIR Versatile Pattern matching ★★★★★ dylint Run Rust lints from dynamic libraries HIR Versatile Pattern matching ★★★★★ Sta

                      • 今どきの言語ならこの2択、歯ごたえ十分のRustか型を使えるTypeScriptか

                        日経クロステックが実施した「プログラミング言語利用実態調査2023」で「今後、スキルアップしたいと思う言語はどれですか」と複数回答可で尋ねたところ、トップ10の言語が分かった。それぞれの言語の特徴を解説する。 4位 Rust 多機能でC/C++並みに高速。ただし、難易度は高め 2015年に最初の安定版である「Rust 1.0」がリリースされたRustは、近年人気が高まっているプログラミング言語です。Rustの魅力は、高速に動くプログラムを、現代的なプログラミングテクニックを使うコードで作成できることです。これはプログラミング言語の歴史から見ても興味深い点です。 近年、プログラミング言語の進化の方向は、PythonやRubyのように実行速度を犠牲にする代わりに様々な機能を提供するか、Go言語のように提供する機能を絞って実行速度の向上を追求するかという2つの道に分かれていました。その中で、Ru

                          今どきの言語ならこの2択、歯ごたえ十分のRustか型を使えるTypeScriptか
                        • 個人利用は無償 ~JetBrainsがRust向けIDE「RustRover」を一般公開(窓の杜) - Yahoo!ニュース

                          チェコのJetBrainsは5月28日(現地時間)、「RustRover」を一般公開した。2023年9月より早期アクセスプログラム(EAP)でパブリックプレビューされていたが、8カ月の開発期間を経てようやく「JetBrains IDEs」製品の仲間入りを果たした。 【画像】プログラミング言語「Rust」の開発に特化した統合開発環境(IDE)「RustRover」 「RustRover」は、プログラミング言語「Rust」の開発に特化した統合開発環境(IDE)。これまでも「IntelliJ IDEA」(主にJava向け)や「CLion」(C/C++用)といった同社製IDEにプラグインを導入すればRust開発に対応させることができたが、専用のIDEを求めるユーザーの声に応え、ビルドシステム「Cargo」への対応などをビルトインしたバージョンが提供されることになった。 対応OSはWindows/M

                            個人利用は無償 ~JetBrainsがRust向けIDE「RustRover」を一般公開(窓の杜) - Yahoo!ニュース
                          • An Introduction to Asynchronous Programming in Rust and a High-level Overview of Tokio's Architecture

                            An Introduction to Asynchronous Programming in Rust and a High-level Overview of Tokio's Architecture Asynchronous programming allows the development of services that can handle millions of requests without saturating memory and CPU utilization. Support for asynchrony is usually baked into the programming language; we take a look at async support in Rust, a type-safe and memory-safe systems progra

                              An Introduction to Asynchronous Programming in Rust and a High-level Overview of Tokio's Architecture
                            • Rust 2024 Editionがやってくる! - paild tech blog

                              お手伝いの@helloyukiです。今日はRust 2024エディションの話についてまとめておきたいと思います。ちなみに注意点ですが、Rust 2024エディションはまだリリースされていません。したがって、この記事の情報(2024年4月ごろ執筆開始)はリリース時点で変更されている可能性があります。 エディションとは Rustには「エディション」(あえて日本語にするなら「版」?)という概念があります。エディションは、後方互換性を保ちながらも、新しいキーワードの追加をはじめとする言語全体に影響を与えるような変更を加えるものです。3年に一度エディションは改定されることになっており、前回は2021年に改定がありました。これまでのエディションとしては、2015、2018、2021の3つが現状あります。 エディションの仕組みは2018年に導入されたものでした。2018年当時、Rustは非同期関連の言語

                                Rust 2024 Editionがやってくる! - paild tech blog
                              • GitHub - bitwhip/bitwhip: CLI Native WebRTC Agent 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 - bitwhip/bitwhip: CLI Native WebRTC Agent in Rust
                                • GitHub - BurntSushi/jiff: A date-time library for Rust that encourages you to jump into the pit of success.

                                  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 - BurntSushi/jiff: A date-time library for Rust that encourages you to jump into the pit of success.
                                  • 今から始める Rust による WebAssembly 開発

                                    本記事は、TechFeed Experts Night#30 〜 Rust / WebAssembly最前線のセッション書き起こし記事になります。 イベントページのタイムテーブルから、その他のセッションに関する記事もお読み頂けますので、一度アクセスしてみてください。 本セッションの登壇者 セッション動画 Rust Tokyoの運営をしている@chikoskiと言います。WebAssemblyのコミュニティもやっていて、TechfeedにはWebAssemblyのエキスパートとして関わらせていただいています。 最近、いろいろなところでWebAssemblyの名前を耳にします。今日はRustでWebAssembly向けに開発する方法や、今のところのベストプラクティスをお話できればと思います。よろしくお願いします。 まとめを先に言いますと、今はcargo-componentというツールを使って開

                                      今から始める Rust による WebAssembly 開発
                                    • Rust製コードエディター「Zed」がLinuxにようやく対応/Windowsサポートにも期待

                                        Rust製コードエディター「Zed」がLinuxにようやく対応/Windowsサポートにも期待
                                      • 「Rust」が初めて13位に上昇、「Python」は首位を独走 2024年7月版プログラミング言語人気ランキング

                                        ソフトウェア品質の評価と追跡を手掛けるTIOBE Softwareは、2024年7月版の「TIOBEプログラミングコミュニティーインデックス」(通称「TIOBEインデックス」)を発表した。TIOBEインデックスは、プログラミング言語の人気を示す指標で、同社が毎月1回更新している。 レーティングと順位 2024年7月のランキングでは「Python」が16.12%のレーティングで首位を堅持し、6月に「C」を抜いて史上初めて2位につけた「C++」が、引き続き2位を占めた(10.34%)。Cは7月も3位となった(9.48%)。 4~6位は2023年7月以降、順位変動がなく、「Java」(8.59%)、「C#」(6.72%)、「JavaScript」(3.79%)と続いた。 上位20言語のレーティングの前年同月との変動を見ると、1ポイント以上の上昇を示したのは、Python(2.70ポイント増)と「

                                          「Rust」が初めて13位に上昇、「Python」は首位を独走 2024年7月版プログラミング言語人気ランキング
                                        • Rust製コードエディター「Zed」がLinuxにようやく対応(窓の杜) - Yahoo!ニュース

                                          Rust言語を採用したコードエディター「Zed」が7月10日(米国時間)、v0.143.6へとアップデートされた。Linuxへの対応が宣言されている。 「Zed」は、開発を終了した「Atom」プロジェクトのメンバーが主導する次世代コードエディターのプロジェクト。「Electron」を捨て、「Rust」言語を採用し、UIにGPUをフル活用することにより、パフォーマンスを極めようという野心的なプロジェクトだ。2024年1月にはソースコードも公開されている。 「Zed」はMac版しかなかったが、今回のリリースよりLinuxでも利用可能。以下のスクリプトを実行すれば、インストールできる。 curl https://zed.dev/install.sh | sh ただし、「glibc」がないシステムや「glibc」がv2.29より古いOS(「Ubuntu 18」など)、x64/ARM64以外のCPU

                                            Rust製コードエディター「Zed」がLinuxにようやく対応(窓の杜) - Yahoo!ニュース
                                          • TSのType, Interface, Classから秒でテストデータ作成するnpm-pkg公開(Rust製)

                                            はじめまして🙋 タイトルの通りTypescriptのType, Interface, Classから秒でテストデータ作成するツールを公開しました👏👏👏 boostestと言います🚀🚀🚀 boostestとは? npmでインストールするコマンドです。 日本語のREADMEには利用方法の動画もあります✨✨ ざっくりいうと下記のようなツールでして... typescriptのtypeやinterface, classから瞬時にテストデータ作成できる📝 typeやinterfaceはテストデータを部分的に上書き可能🏗️ テストデータは実際のコードとして出力されるため、ユーザーのアセットになる💸 下記のようにインストールできます。

                                              TSのType, Interface, Classから秒でテストデータ作成するnpm-pkg公開(Rust製)
                                            • GitHub - clarkmcc/cel-rust: Common Expression Language interpreter 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 - clarkmcc/cel-rust: Common Expression Language interpreter written in Rust
                                              • GitHub - maelstrom-software/maelstrom: Maelstrom is a fast Rust and Python test runner that runs every test in its own container. Tests are either run locally or distributed to a clustered job runner.

                                                Maelstrom is a suite of tools for running tests in hermetic micro-containers locally on your machine or distributed across arbitrarily large clusters. Maelstrom currently has test runners for Rust and Python, with more on the way. You might use Maelstrom to run your tests because: It's easy. Maelstrom provides drop-in replacements for cargo test and pytest. In most cases, it just works with your e

                                                  GitHub - maelstrom-software/maelstrom: Maelstrom is a fast Rust and Python test runner that runs every test in its own container. Tests are either run locally or distributed to a clustered job runner.
                                                • An Empirical Study of Rust-for-Linux: The Success, Dissatisfaction, and Compromise | USENIX

                                                  An Empirical Study of Rust-for-Linux: The Success, Dissatisfaction, and Compromise Hongyu Li, Beijing University of Posts and Telecommunications; Liwei Guo, University of Electronic Science and Technology of China; Yexuan Yang, Shangguang Wang, and Mengwei Xu, Beijing University of Posts and Telecommunications Awarded Best Paper! Developed for over 30 years, Linux has already become the computing

                                                  • sans-IO: The secret to effective Rust for network services

                                                    At Firezone, we use Rust1 to build secure remote access that scales, be it from your Android phone, MacOS computer or Linux server. At the core of each app sits a connectivity library — aptly named connlib — that manages network connections and WireGuard tunnels to secure your traffic. After several iterations, we’ve landed on a design that we are extremely happy with. It gives us fast and exhaust

                                                    • DartにRustのコアライブラリを実装する「rust_core 1.0.0」がリリース

                                                      CodeZine編集部では、現場で活躍するデベロッパーをスターにするためのカンファレンス「Developers Summit」や、エンジニアの生きざまをブーストするためのイベント「Developers Boost」など、さまざまなカンファレンスを企画・運営しています。

                                                        DartにRustのコアライブラリを実装する「rust_core 1.0.0」がリリース
                                                      • オープンソースのRust製コードエディタ「Zed」、Linux版を公開

                                                        オープンソースのRust製コードエディタ「Zed」、Linux版を公開:「Atom」や「Tree-sitter」の開発者によるプロジェクト、GitHub Copilotにも対応

                                                          オープンソースのRust製コードエディタ「Zed」、Linux版を公開
                                                        • Resolving Rust Symbols

                                                          Linking is the process of combining object files into an executable or shared library. It’s like putting together puzzle pieces to create a working program. The magic happens during symbol resolution, where the linker matches variable and function names (ie. symbols) to their specific memory addresses, making sure everything fits together. Phases of Compilation In compiled languages like C, C++, o

                                                            Resolving Rust Symbols
                                                          • GitHub - postgresml/korvus: Korvus is a search SDK that unifies the entire RAG pipeline in a single database query. Built on top of Postgres with bindings for Python, JavaScript, Rust and C.

                                                            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 - postgresml/korvus: Korvus is a search SDK that unifies the entire RAG pipeline in a single database query. Built on top of Postgres with bindings for Python, JavaScript, Rust and C.
                                                            • RustとWebAssemblyでCanvasタグ使わずにお絵描きしてみた - Qiita

                                                              はじめに 前回RustとWebAssemblyで拡大鏡ツール作った際に、mouse操作中でもそれなりのパフォーマンスで画像を加工できたので、 Canvasタグ使わなくてもImgタグに直接お絵描きできそうだと思ったので実際にやってみる。🖌️ 前回作った拡大鏡ツールについて プロジェクトの作成 まず、load時にCanvas代わりとなるImageを表示する。 (今回は白紙の320pxベース) // 省略 #[wasm_bindgen] pub fn set_canvas() -> String { let canvas = DynamicImage::new_rgba8(320, 320); let mut buffer = Cursor::new(Vec::new()); canvas.write_to(&mut buffer, ImageFormat::Png).unwrap(); le

                                                                RustとWebAssemblyでCanvasタグ使わずにお絵描きしてみた - Qiita
                                                              • Async Rust: The new billion-dollar mistake?

                                                                This post is part of my Summer of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job 🤘 Dont forget to Subscribe (Email & RSS) Tomy

                                                                  Async Rust: The new billion-dollar mistake?
                                                                • Master Rust by Playing Video Games!

                                                                  Screenshot from the Bot Beats game in action.This will be the first in a series of Rust tutorials. We will start from the very basics on how to install it and move into the realm of borrowing, traits and so much more. And how will we learn all this you may ask. By playing video games! ShortInstall Bot Beats.Install Rust.Create a Rust robot in Bot Beats.Install Visual Studio Code (or your favorite

                                                                    Master Rust by Playing Video Games!
                                                                  • 元Atom開発者が作ったテキストエディタ「Zed」のLinux版が正式リリース ー Rustで書かれ、GPUで高速化

                                                                    過去数ヶ月にわたり、ZedのLinuxサポートに関する進展が報告されていたが、ついに正式リリースされた。この最新のオープンソースコードエディタは、元Atom開発者によって開始され、Linux上で正式ビルドを提供するまでに成熟した。 Zed on Linuxを試してみたい方は、以下のコマンドを実行するだけでインストールが可能である。 curl https://zed.dev/install.sh | sh Vulkan APIを使用 Zed on Linuxは、GPUアクセラレーションのためにVulkan APIを使用している。Vulkan APIはKhronos Groupによって開発および管理されている標準仕様であり、以下のような特徴がある。 高性能: Vulkanは、GPUをより直接的かつ効率的に制御するための低オーバーヘッドなAPIである。これにより、CPUとGPU間の通信を最適化し

                                                                      元Atom開発者が作ったテキストエディタ「Zed」のLinux版が正式リリース ー Rustで書かれ、GPUで高速化
                                                                    • Rust製の高速コードエディタ「Zed」、Linux版の公式ビルドを提供開始

                                                                      米Zed Industriesは、高速コードエディタ「Zed」のLinux版公式ビルドの提供を10日(現地時間)に開始した。Zedは、GNU Affero General Public License、Apache License 2.0、GNU General Public License 3.0で公開しているオープンソースソフトウェア。 Zedは、米GitHubでコードエディタ「Atom」の開発を指揮していたNathan Sobo氏や、構文解析プログラム「Tree-sitter」を開発しているMax Brunsfeld氏などが開発したコードエディタ。Atomや、Microsoftの「Visual Studio Code」と同じように、コード入力画面を中心としたシンプルなユーザーインターフェイスを持ち、追加プログラムで機能を拡張していけるコードエディタだ。Language Server

                                                                        Rust製の高速コードエディタ「Zed」、Linux版の公式ビルドを提供開始
                                                                      • Rust Foundation、「Rust」の責任ある使用に向けてコンソーシアムを立ち上げ

                                                                        プログラミング言語「Rust」の普及と開発を支援する非営利団体であるRust Foundationは2024年6月12日(現地時間)に、重要なアプリケーションにおけるプログラミング言語の責任ある使用を目的としたグループ「Safety-Critical Rust Consortium」を発足させた(注1)。 企業やユーザーがメモリ安全性の高い言語を使える環境を構築 同コンソーシアムには、AdaCoreやFerrous Systems、OxidOS、Lynx Software Technologies、TrustInSoft、Woven by Toyotaなど、新規および既存のメーカー、ソフトウェア企業、その他の組織が参加している。 このコンソーシアムは、(電力やガス、鉄道、空港などの)重要インフラやその他のプロバイダーにおける開発で、安全なプログラミング言語であるRustの利用を拡大する取り

                                                                          Rust Foundation、「Rust」の責任ある使用に向けてコンソーシアムを立ち上げ
                                                                        • I spent 18 months rebuilding my algorithmic trading platform in Rust. I’m filled with regret.

                                                                          By far the best algorithmic trading experience. Learn to conquer the markets by deploying algorithmic trading… I was a young, hopeful Rust fanatic. On paper, Rust seemed like the programming languages designed by the gods. Not only is it the fastest programming language out there, its also one of the safest. I’m not alone in thinking Rust was this perfect language. If you read about the Rust progr

                                                                            I spent 18 months rebuilding my algorithmic trading platform in Rust. I’m filled with regret.
                                                                          • Ergonomic Self-Referential Types for Rust

                                                                            Ergonomic Self-Referential Types for Rust — 2024-07-01 motivating example self-referential lifetimes constructing types in-place converting into immovable types immovable types motivating example, reworked phased initialization migrating from pin to move making immovable types movable further reading conclusion I've been thinking a little about self-referential types recently, and while it's techn

                                                                              Ergonomic Self-Referential Types for Rust
                                                                            • Rust の中で TypeScript を書くには

                                                                              はじめに 先日ユニークビジョン株式会社の UV Study というイベントで Rust に関する LT 登壇を行いました。 この記事はそれを zenn 用にまとめ直したものです。 当日の発表は 10 分と短かったため、当日の発表で話せなかったところも補足しています。 作ったもの FFI は面倒 あるプログラミング言語で書かれたプログラムの中から、別のプログラミング言語で書かれた処理を呼び出したいことがあります。 それぞれプログラミング言語は文法やライブラリだけでなく、内部でどのようにリソースを管理しているかの仕組みも異なるため、そのままでは相互に関数を呼び出せません。(例えば呼び出し先のプログラムでなにかデータを生成してそれを呼び出し元に返そうとしても、その生成されたデータは誰がどうやって面倒を見るべきかという問題が生じます。) このようなことを可能にするための仕組みを FFI (Fore

                                                                                Rust の中で TypeScript を書くには
                                                                              • Further simplifying self-referential types for Rust

                                                                                Further simplifying self-referential types for Rust — 2024-07-08 not all self-referential types are !move the 'self lifetime is insufficient automatic referential stability raw pointer operations and automatic referential stability relocate should probably take &own self motivating example, reworked again when immovable types are still needed conclusion In my last post I discussed how we might be

                                                                                  Further simplifying self-referential types for Rust
                                                                                • Rust-based Zed editor now open source – with built-in support for OpenAI and GitHub Copilot • DEVCLASS

                                                                                  The Zed editor project – which remains a pre-release – is now open source under the AGPL, GPL and Apache licenses, with fast performance and a choice of AI assistants, though still in preview and Mac-only. A post yesterday by Zed founder Nathan Sobo explained that Zed, on GitHub here, uses GPL for the editor, AGPL (GNU Affero General Public License) for server-side components, and Apache 2 for GPU

                                                                                    Rust-based Zed editor now open source – with built-in support for OpenAI and GitHub Copilot • DEVCLASS