並び順

ブックマーク数

期間指定

  • から
  • まで

241 - 280 件 / 503件

新着順 人気順

Rustの検索結果241 - 280 件 / 503件

  • GitHub - pwnwriter/hysp: 📦 An independent package manager that every hacker deserves.

    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 - pwnwriter/hysp: 📦 An independent package manager that every hacker deserves.
    • Bevyを楽しく書くために、最低限必要なRustのTips 3選 - Qiita

      概要 Bevy Engineを初めて使う人にとって、Rust言語特有の壁があります。今回は特にハマりがちな点を3つ挙げてご紹介します。 前置き Bevy Engineは、ゲームエンジンと紹介されることが多いですが、個人的にはopenFrameworksなどと同様に、汎用的な開発フレームワークと捉えています。 Bevy Engineはとてもよく設計されていて、幅広い用途に活用できるのですが、良くも悪くも現状はRust言語専用に作られていて、Rust言語以外でも使えるようにしようとする動きはなくはないものの、現状ではRustで書かざるをえません。 Rustは、C++やJavaと比べても難易度は高く、Bevyは難易度を緩和する仕組みを設けてくれてはいますが、BevyとRustにはいくつかのハマりポイントがあります。 当記事では、特にRust言語特有の事情に焦点をあて、Bevyに初めて触れる際に、

        Bevyを楽しく書くために、最低限必要なRustのTips 3選 - Qiita
      • The JavaScript Oxidation Compiler

        We're thrilled to announce that oxlint is now generally available! This milestone signifies our team's ability to promptly address and triage issues. Oxlint is a JavaScript linter designed to catch erroneous or useless code without requiring any configurations by default. How to Use ​At this stage, oxlint is not intended to fully replace ESLint; it serves as an enhancement when ESLint's slowness b

          The JavaScript Oxidation Compiler
        • Rust and C filesystem APIs [LWN.net]

          Please consider subscribing to LWNSubscriptions are the lifeblood of LWN.net. If you appreciate this content and would like to see more of it, your subscription will help to ensure that LWN continues to thrive. Please visit this page to join up and keep LWN on the net. As the Rust-for-Linux project advances, the kernel is gradually accumulating abstraction layers that enable Rust code to interface

          • GitHub - microsoft/windows-drivers-rs: Platform that enables Windows driver development in Rust. Developed by Surface.

            This repo is a collection of Rust crates that enable developers to develop Windows Drivers in Rust. It is the intention to support both WDM and WDF driver development models. This repo contains the following crates: wdk-build: A library to configure a Cargo build script for binding generation and downstream linking of the WDK (Windows Driver Kit). While this crate is written to be flexible with di

              GitHub - microsoft/windows-drivers-rs: Platform that enables Windows driver development in Rust. Developed by Surface.
            • Wasm core dumps and debugging Rust in Cloudflare Workers

              Wasm core dumps and debugging Rust in Cloudflare Workers08/14/2023 A clear sign of maturing for any new programming language or environment is how easy and efficient debugging them is. Programming, like any other complex task, involves various challenges and potential pitfalls. Logic errors, off-by-ones, null pointer dereferences, and memory leaks are some examples of things that can make software

                Wasm core dumps and debugging Rust in Cloudflare Workers
              • Ruff v0.1.0

                As a reminder: Ruff is an extremely fast Python linter, written in Rust. Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, pyupgrade, and more, all while executing tens or hundreds of times faster than any individual tool. Ruff is used in production by tens of thousands of open source projects and major enterprises. In the last year, we've been working to expand Ruff'

                  Ruff v0.1.0
                • Exploring Seamless Rust Interop for Newer Languages, Part 1

                  Exploring Seamless Rust Interop for Newer Languages, Part 1 Languages like C++, Typescript, Kotlin, and Swift had a brilliant approach: they were created to harness an existing ecosystem of libraries from another pre-existing language. But that's easier said than done! Especially for newer languages focusing on memory safety and speed. 0 Luckily, newer languages can tap into C's ecosystem by addin

                  • Fast and Portable Llama2 Inference on the Heterogeneous Edge

                    Fast and Portable Llama2 Inference on the Heterogeneous Edge • 12 minutes to read The Rust+Wasm stack provides a strong alternative to Python in AI inference. Compared with Python, Rust+Wasm apps could be 1/100 of the size, 100x the speed, and most importantly securely run everywhere at full hardware acceleration without any change to the binary code. Rust is the language of AGI. We created a very

                      Fast and Portable Llama2 Inference on the Heterogeneous Edge
                    • Why Rust in Production? | Corrode Rust Consulting

                      Interest in Rust has surged in recent years, with tech leaders such as Microsoft, Google, and Amazon coming forward to share their experiences of leveraging Rust for critical systems. Much of the dialogue about Rust, however, is still driven by those who have not leveraged Rust in a significant production capacity or have only done so for non-critical systems. This results in a skewed understandin

                        Why Rust in Production? | Corrode Rust Consulting
                      • Turborepo、GoからRustへの戦略的移行を発表 ― 既存機能の修正を続けながら移行

                        7月21日、TurborepoはGoからRustへの移行を発表しました。 この移行方法について詳しく説明します。 GoからRustへの移行は戦略的な選択であり、新機能のリリースや既存の機能の修正を続けながら移行を行うことができます。 詳細は以下の通りです。 ポートと完全な書き換えは、GoからRustへの移行方法の2つのアプローチです。 ポートは、コードを一部ずつ移行する方法であり、新しいコードと古いコードを同時に実行します。 一方、完全な書き換えは、新しいバージョンを古いバージョンと完全に置き換える方法です。 ポートのメリットは、新しい機能を追加しながら既存の機能を維持できることです。 また、ポートは、新しいバージョンが古いバージョンと比べてシームレスであることを保証することができます。 完全な書き換えでは、新しいバージョンが古いバージョンと一致しない場合があり、ユーザーが変更や欠落した機

                          Turborepo、GoからRustへの戦略的移行を発表 ― 既存機能の修正を続けながら移行
                        • Overview - Crux: Cross-platform app development in Rust

                          Overview Crux is an experimental approach to building cross-platform applications with better testability, higher code and behavior reuse, better safety, security, and more joy from better tools. It splits the application into two distinct parts, a Core built in Rust, which drives as much of the business logic as possible, and a Shell, built in the platform native language (Swift, Kotlin, TypeScri

                          • デイリーポータルZの新着記事をBlueskyに投稿するbotを作った - Islands in the byte stream

                            デイリーポータルZの新着記事をBlueskyに投稿するbotを作りました。 github.com デイリーポータルZは2024年1月1日から独立した会社になるようですが、状況から察するに実態としては消滅まで秒読みと思われます。インターネットからデイリーポータルZが無くなるのは寂しいので、どこかの企業がスポンサーになってくれることを期待しています。 dailyportalz.jp それはそれとしてBlueskyのボットを作るのは結構楽しいですね!ボットのコードはRustで書きました。GitHub Actionsの定期実行でRSS feedをポーリングして新しいものがあったらポストする、という素朴なプログラムです: bsky.app Bluesky APIへのアクセスはsugyan/atriumを使いました: memo.sugyan.com 投稿の本文をリッチテキストにできたり*1、OGPカー

                              デイリーポータルZの新着記事をBlueskyに投稿するbotを作った - Islands in the byte stream
                            • 資格取得・ウェブアプリ開発・生成AI・Rustなど新たな目標に向かってスキルアップできる「Udemy」新年のビッグセールおすすめピックアップ

                              新年は心機一転新たな目標を立てて頑張るにはぴったりのタイミングです。新たな知識や技術を身につけてスキルアップするのに役立つのがムービー形式で解説講座を受講できるオンライン学習プラットフォームの「Udemy」で、1月10日(水)まで新年のビッグセール中で高品質な講座が1200円~で受講可能とのことなので、新年の目標とその目標を達成するのにぴったりの講座をピックアップしてみました。 オンラインコース - いろんなことを、あなたのペースで | Udemy https://www.udemy.com/ ・目次 ◆1:情報処理技術者試験で自分の知識や技能を一発でアピールできるようにする目標 ◆2:初心者OKな講座でゼロからウェブシステムを開発するという目標 ◆3:エンジニアの新たな支援ツール「ChatGPT」の使い方を学んで業務効率を上げるという目標 ◆4:画像生成という新たな分野を知って視野を広げ

                                資格取得・ウェブアプリ開発・生成AI・Rustなど新たな目標に向かってスキルアップできる「Udemy」新年のビッグセールおすすめピックアップ
                              • Rust vs. Go: Implementing a REST API in SQLite

                                Backend の開発言語選定について、現職では Go を推す声が強い。 なぜなら、現状の技術選定に、規律がないからだ。Java、Python、Ruby、PHP、Node.js、Go、Kotlin and more. Web 業界では、Go が popular になっているし、現職の 2B・2C 向けサービスも Go を多く使っている。 僕個人として、Go を選択することに異論はない。 一方で、次を見据えて考えておく必要もある。 何が言いたいかというと、より最高な選択肢は何かを常に考えていきたい。思考停止は退化。 Rust について、 tutorial gRPC Rust + Wasm + Cloudflare Workers REST と続けてきて、syntax は身について来た。 より実践的な課題を解けるように実践を重ねていく。そして、AtCoder の algorithm 問題につい

                                  Rust vs. Go: Implementing a REST API in SQLite
                                • Typstで書く卒論・修論テンプレート

                                  1. Typstとは 公式ドキュメントにあるようにマークアップベースの組版システムです. Rust言語で書かれているので, Latexに比べてコンパイルが早いのが特徴です. 2. 修論テンプレート 今年リリースされたこともあってか, 修士論文のテンプレがなかったので自分で作りました. GitHubからダウンロードできます. 3. 実装したもの ディレクトリ構成は以下のようになっています. . ├── Figures │ ├── typst-github.svg │ └── typst.svg ├── README.md ├── main.pdf ├── main.typ ├── references.bib ├── template.pdf └── template.typ template.typに環境変数やレイアウトを書いていまして, それをmain.typで読み込んで本文を書いていく

                                    Typstで書く卒論・修論テンプレート
                                  • Bare-metal Rust in Android

                                    The latest news and insights from Google on security and safety on the Internet

                                      Bare-metal Rust in Android
                                    • A decade of developing a programming language

                                      In 2013, I had an idea: "what if I were to build my programming language?". Back then my idea came down to "an interpreted language that mixes elements from Ruby and Smalltalk", and not much more. Between 2013 and 2015 I spent time on and off trying different languages (C, C++, D and various others I can't remember) to see which one I would use to build my language in. While this didn't help me fi

                                      • Rustの借用の話をする|TechRacho by BPS株式会社

                                        みなさんこんにちは。yoshiです。 夏のTechRachoフェア2023ということですが、夏とは特に関係なくRustの話をしようと思います。 借用はRustの大きな特徴の一つです。 私達は借用の様々な規則のおかげで安全にRustを使える訳ですが、改めてその挙動を確認してみようというのがこの記事の趣旨です。 🔗 そもそも借用とは Rustについてよく知らない人向けに、借用とは何なのかを軽く説明しておきます。 借用(Borrowing)という概念は、所有権(Ownership)と切っても切り離せない関係にあります。 所有権というのは、Rustの値が所有者(Owner)である変数と結びついていることを指します。 { let a = 42i32; let b: String = "Foo".into(); } 例えば、上記のようなコードでは、 a は 42i32 という値が割り当てられた領域の

                                          Rustの借用の話をする|TechRacho by BPS株式会社
                                        • Rye: A Vision Continued

                                          Rye: A Vision Continued written on Sunday, February 4, 2024 In April of last year I released Rye to the public. Rye, both then and now, represents my very personal vision of what an improved Python packaging and project management solution can look like. Essentially, it's a comprehensive user experience, designed so that the only tool a Python programmer would need to interface with is Rye itself

                                          • SemVer in Rust: Tooling, Breakage, and Edge Cases — FOSDEM 2024

                                            SemVer in Rust: Tooling, Breakage, and Edge Cases — FOSDEM 2024 Last month, I gave a talk titled "SemVer in Rust: Breakage, Tooling, and Edge Cases" at the FOSDEM 2024 conference. The talk is a practical look at what semantic versioning (SemVer) buys us, why SemVer goes wrong in practice, and how the cargo-semver-checks linter can help prevent the damage caused by SemVer breakage. TL;DR: SemVer is

                                              SemVer in Rust: Tooling, Breakage, and Edge Cases — FOSDEM 2024
                                            • Linux 6.10‐rc1リリース、RustやMilk-V MarsなどRISC-Vサポートが拡大 | gihyo.jp

                                              Linux Daily Topics Linux 6.10‐rc1リリース⁠⁠、RustやMilk-V MarsなどRISC-Vサポートが拡大 Linus Torvaldsは5月26日(米国時間⁠)⁠、次期Linuxカーネル「Linux 6.10」の最初のリリース候補版となる「Linux 6.10-rc1」を公開した。Linusは「通常サイズのカーネルリリースに見えるが、少し小さいかもしれない。(⁠Linux 6.10には)新しいファイルシステムはなく、xfsのオンライン修正により、bcachefsの修正はもはや最大のファイルシステム変更ではない」とコメントしている。 Linux 6.10-rc1 -Linus Torvalds Linux 6.10では多くのアップデートが予定されているが、その中でも注目されるのがRISC-Vに関連したサポートの拡張だ。5月22日付けで行われたマージでは、

                                                Linux 6.10‐rc1リリース、RustやMilk-V MarsなどRISC-Vサポートが拡大 | gihyo.jp
                                              • RustでRaspberry Pi Picoのベアメタルプログラミング

                                                これはRust Advent Calendar 2023の10日目の記事です。 Raspberry Pi Picoとは Raspberry Pi PicoはRaspberry Pi財団が開発しているマイコンボードで、よく知られているRaspberry Piとは異なり、Cortex-M0+という非常に小さいアーキテクチャのCPUを搭載しています。 具体的には通常のCortex-AシリーズにあったようなCPUモードがなく、MMUのようなページング機構もないため、Raspberry Piとは異なり、Linuxを動かすことはできません。 しかしながら、その分非常に省電力で動作し価格も安価です(秋月電子通商でこのブログ執筆時点で770円、無線機能がついたPico Wで1200円)。 ちょっとしたガジェットや自作キーボードのコントローラーに使う例などを見かけます。 RustでPicoを動かす 最もお手

                                                  RustでRaspberry Pi Picoのベアメタルプログラミング
                                                • Translation of the Rust's core and alloc crates | Formal Land

                                                  We continue our work on formal verification of Rust programs with our tool coq-of-rust, to translate Rust code to the formal proof system Coq. One of the limitation we had was the handling of primitive constructs from the standard library of Rust, like Option::unwrap_or_default or all other primitive functions. For each of these functions, we had to make a Coq definition to represent its behavior.

                                                    Translation of the Rust's core and alloc crates | Formal Land
                                                  • 最新の調査によれば、Rustの人気はますます高まっている | TEXAL

                                                    Rustは、本質的にメモリの安全性を確保するように設計された、現代的な汎用プログラミング言語である。Rustで書かれたプログラムは、コードに含まれる様々な種類のバグや潜在的な脆弱性がコンパイル時に排除されるため、著しく安全性が向上する。 Rustは、Mozilla Researchの従業員であるGraydon Hoare氏が作成したもので、このプログラミング言語はすでに、現代の最も重要なソフトウェア・プロジェクト、Linuxカーネル、Chromiumプロジェクト、そしてWindowsでも採用されている。これは、CやC++のような従来のコンパイル言語と比較して、コーディングにより安全なアプローチをもたらす。 エンジニアの間では肌で感じる事だろうが、Rustの人気は年々高まっており、Rust Foundationが最近発表した年次調査でも公式に確認されている。調査は2022年12月5日から12

                                                      最新の調査によれば、Rustの人気はますます高まっている | TEXAL
                                                    • rstestを使いこなす - paild tech blog

                                                      お手伝いの@helloyukiです。パラメータ化テストをする際使えるrstestというクレートがあるのですが、このクレートが意外にいろいろなことができて感動したので記事にします。実務でどう使っているかもあわせて説明します。 rstestとは rstestがどのような課題を解決するであろうクレートであるかと、もっとも簡単なユースケースを紹介します。 問題意識 テストを書いていると、ある関数に対して与える値をわずかに変えながら、似たようなテストを書くことがあると思います。たとえば閏年を判定するためのテストを素のRustで書こうとすると次のようになるかもしれません。このテストでは、年号と閏年か平年かのペアを持つベクターを定義し、それをforループで回すことで記述量を減らしています。 #[derive(Debug, Eq, PartialEq)] enum Year { // 平年 Common,

                                                        rstestを使いこなす - paild tech blog
                                                      • A response to 'A decade of developing a programming language'

                                                        I recently read the blog post A decade of developing a programming language by Yorick Peterse (found via Steve Klabnik). I thought it was an interesting blog post which got me thinking, and I have opinions on programming language design from Rust (it is almost exactly a decade since I got involved with Rust too), so I have written a response of sorts. This is all unsubstantiated opinion, so don't

                                                        • Logic programming in Rust

                                                          use ascent::ascent; ascent! { relation edge(i32, i32); relation path(i32, i32); path(x, y) <-- edge(x, y); path(x, z) <-- edge(x, y), path(y, z); } fn main() { let mut prog = AscentProgram::default(); prog.edge = vec![(1, 2), (2, 3)]; prog.run(); println!("path: {:?}", prog.path); } Features Lattices Ascent supports computing fixed points of user-defined lattices. The lattice keyword defines a lat

                                                          • RustRover の紹介 - JetBrains によるスタンドアロン型 Rust IDE | The RustRover Blog

                                                            「Rust IDE はいつ登場しますか?」 この質問はユーザーの皆さまから非常に多く寄せられていますが、本日ついにその日がやってまいりました。 Rust 用スタンドアロン型 IDE の「RustRover」をご紹介します。 多くの方はお気付きかと思いますが、JetBrains は数年間にわたって IntelliJ IDEA と CLion で機能するプラグインの形で Rust 機能のサポートをお届けしてきました。 しかし、コミュニティからは Rust に特化した専用の IDE をはじめ、既存の JetBrains IDE と同等の機能も備えたエコシステムに対するご要望が何度も寄せられていました。 本日より RustRover 早期アクセスプログラム(EAP)を開始します。ぜひお試しの上、フィードバックをお寄せください。製品の改善に役立てさせていただきます。 私たちはフィードバックに耳を傾け

                                                              RustRover の紹介 - JetBrains によるスタンドアロン型 Rust IDE | The RustRover Blog
                                                            • GitHub - dredozubov/polyrhythmix: Polyrhythmically-inclinded Midi Drum generator

                                                              Polyrhythmix (Poly) is a command-line assistant designed to generate MIDI files from the description of drum parts. It provides a convenient way to input a DSL (Domain-Specific Language) in the command line, then it calculates when the drum parts will converge together, making it easy to compose polyrhythmic parts with frequent shifts over the bar lines. Additionally, it can generate a bass MIDI t

                                                                GitHub - dredozubov/polyrhythmix: Polyrhythmically-inclinded Midi Drum generator
                                                              • Announcing `async fn` and return-position `impl Trait` in traits | Rust Blog

                                                                Announcing `async fn` and return-position `impl Trait` in traits The Rust Async Working Group is excited to announce major progress towards our goal of enabling the use of async fn in traits. Rust 1.75, which hits stable next week, will include support for both -> impl Trait notation and async fn in traits. This is a big milestone, and we know many users will be itching to try these out in their o

                                                                  Announcing `async fn` and return-position `impl Trait` in traits | Rust Blog
                                                                • WASM Component Modelをまとめてみる

                                                                  この記事はWebAssembly Advent Calendar 2023 13日目の記事です。 まえおき 本当はもっと発展した記事を書きたかったのですが、進捗ゼロに近いのでこのスクラップの焼き直しです。 また、あれから2ヶ月ほどたって仕様策定も進んでいると思われるのでそのキャッチアップも試みます。 WASM Component Model is 何? WASMはプログラミング言語非依存なバイナリーフォーマットで、Rustで書いたWASMモジュールをC#からも、Pythonからも利用するということが論理的には可能です。しかし、従来のWASM Core仕様で定義されるモジュール仕様はとてもプリミティブなもので、現実としては「Rustで書いたWASMモジュールをC#からも、Pythonからも利用する」というシナリオを実現するためには実装者がかなりの注意を払う必要がありました。 例えばCore仕

                                                                    WASM Component Modelをまとめてみる
                                                                  • GitHub - letmutex/htmd: A turndown.js inspired HTML to Markdown converter for 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 - letmutex/htmd: A turndown.js inspired HTML to Markdown converter for Rust
                                                                    • Building a unikernel that runs WebAssembly - part 1

                                                                      Hackweek 22 took place last week. During this week all the SUSE employees are free to hack on whatever they want. This one of the perks of working at SUSE 😎. This time my personal project has been about building a unikernel that runs WebAssembly. I wanted this blog post to contain all the details about this journey. However I realized this would have been too much for a single post. I hence decid

                                                                      • Announcing Rust 1.72.0 | Rust Blog

                                                                        The Rust team is happy to announce a new version of Rust, 1.72.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.72.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.72.0 | Rust Blog
                                                                        • GitHub - gitbutlerapp/gitbutler: The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte

                                                                          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 - gitbutlerapp/gitbutler: The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
                                                                          • GitHub - Ph0enixKM/Amber: 💎 Amber the programming language compiled to bash

                                                                            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 - Ph0enixKM/Amber: 💎 Amber the programming language compiled to bash
                                                                            • Rustで作るGAME BOYエミュレータ:低レイヤ技術部

                                                                              GAME BOYのエミュレータの作り方を解説した本です. 一部の実際のゲーム(某土管ゲームや某モンスターゲーム等)を問題なく遊べるエミュレータを作成することができます. 執筆にあたり,GAME BOYのエミュレータ実装を進めるにあたって順番に達成すべき小さな目標をもとに章立てを行うという工夫をしています.これにより,読者は単に前から順番に読むことでエミュレータ完成までの段階的なステップを踏むことができます.

                                                                                Rustで作るGAME BOYエミュレータ:低レイヤ技術部
                                                                              • https://claytonwramsey.github.io/2023/08/14/dumpster.html

                                                                                • 【今週水曜開催】Rust / WebAssemblyの最新動向をエキスパートが語る!TechFeed Experts Night#30 〜 Rust / WebAssembly最前線

                                                                                  日本有数のエキスパートエンジニアとともに、最先端技術を掘り下げる「TechFeed Experts Night」、今回のテーマは「<strong>Rust / WebAssembly最前線</strong>」です。 こんにちは、テックフィード白石です。 日本有数のエキスパートエンジニアとともに、最先端技術を掘り下げる「TechFeed Experts Night」、今回のテーマは「Rust / WebAssembly最前線」です。 高速性と安全性、そしてモダンな言語仕様を兼ね備えるプログラミング言語「Rust」。Webブラウザのみならずサーバーサイドや仮想化/コンテナ技術、エッジコンピューティングに至るまで、活用事例が広がりつつあるWebAssembly。そしてRustは、WebAssembly開発における主要な言語としても注目されています。今回はそんなRust / WebAssembly

                                                                                    【今週水曜開催】Rust / WebAssemblyの最新動向をエキスパートが語る!TechFeed Experts Night#30 〜 Rust / WebAssembly最前線