タグ

rustに関するwata88のブックマーク (21)

  • Writing a minimal Lua implementation with a virtual machine from scratch in Rust | notes.eatonphil.com

    Writing a minimal Lua implementation with a virtual machine from scratch in Rust By the end of this guide we'll have a minimal, working implementation of a small part of Lua from scratch. It will be able to run the following program (among others): function fib(n) if n < 2 then return n; end local n1 = fib(n-1); local n2 = fib(n-2); return n1 + n2; end print(fib(30)); This is my second project in

    wata88
    wata88 2024/02/09
  • sudoとsuがRustで書き直される。メモリ安全性向上へ

    sudoとsuがRustで書き直される。メモリ安全性向上へ
    wata88
    wata88 2023/05/03
  • Rustでファミコンとスーパーファミコンのエミュレーターを書いた


    Rust"Sabicom""Super Sabicom" Rust MERU使MERU4 WindowsLinux  
    Rustでファミコンとスーパーファミコンのエミュレーターを書いた
    wata88
    wata88 2022/08/22
  • So You Want to Rust the Linux Kernel?

    There has been much discussion of using the Rust language in the Linux kernel (for example, here, here, and here), at the Kangrejos Rust for Linux Workshop (here, here, and here) and 2021 Linux Plumbers Conference had a number of sessions on this topic, as did Maintainers Summit. At least two of these sessions mentioned the question of how Rust is to handle the Linux-kernel memory model (LKMM), an

    So You Want to Rust the Linux Kernel?
  • 無職に飽きたので人工衛星のソフトウェアをRustで作っています - Write and Run


    KOBA789  2退 9   OSOS   CEO  ArkEdge Spac
    無職に飽きたので人工衛星のソフトウェアをRustで作っています - Write and Run
    wata88
    wata88 2021/09/28
  • 「ゼロからのOS自作入門」を Rust でやる (第1章~第4章) - gifnksmの雑多なメモ


    OS    Rust  : OS Rust  (5) - gifnksm : OS  - gifnksm github.com Rust OS "OS"  "sabios"  ""     OS沿1 C++ OS  Rust  MikanOS 
    「ゼロからのOS自作入門」を Rust でやる (第1章~第4章) - gifnksmの雑多なメモ
    wata88
    wata88 2021/05/11
    同じことしてる
  • WEB+DB PRESS Vol.122に特集「Rustで実装!作って学ぶRDBMSのしくみ」を書いた - Write and Run


    KOBA789  21    WEB+DB PRESS Vol.122   RDBMS  Rust 使 https://t.co/nm526qQYnm KOBA789 (@KOBA789) April 8, 2021 gihyo.jp 使 Rust RDBMS  *1
    WEB+DB PRESS Vol.122に特集「Rustで実装!作って学ぶRDBMSのしくみ」を書いた - Write and Run
    wata88
    wata88 2021/04/17
  • An EFI App a bit rusty · gil0mendes

    This is a new version of an old article of mine on Medium. This version no longer uses XBuild since cargo nightly is receiving build-std that does the same job. After two tweets that I made last week, playing around with UEFI and Rust, some people asked to publish a blog post explaining how to create a UEFI application fully written in Rust and demonstrate all the testing environment. So todays ob

    wata88
    wata88 2021/04/11
  • 『基礎から学ぶ 組込みRust』を書きました - 低レイヤ強くなりたい組込み屋さんのブログ


     2021420 Rust(C&R) Rust  Rust  () 1  ()  稿  Rust : , : 2021/04/20:   Rust 
    『基礎から学ぶ 組込みRust』を書きました - 低レイヤ強くなりたい組込み屋さんのブログ
    wata88
    wata88 2021/04/05
  • Rust を始めるための資料集 - Don't Repeat Yourself


    Rust   Rust Rust   Rust           
    Rust を始めるための資料集 - Don't Repeat Yourself
    wata88
    wata88 2021/01/24
  • Rustでバイト列を扱う時のtips | κeenのHappy Hacκing Blog


    Rust 2 Advent Calendar 2016 - Qiita2 Rust Read Write&[u8]&mut [u8]Vec<u8>ReadWrite Read使 let mut bytes: &[u8] = &[1, 2, 3, 4, 5, 6]; let mut buf = [0;3]; bytes.read_exact(&mut buf).unwrap(); println!("read: {:?}, rest: {:?}", buf, bytes); read: [1, 2, 3
    Rustでバイト列を扱う時のtips | κeenのHappy Hacκing Blog
    wata88
    wata88 2021/01/21
  • フルスクラッチから作って理解するQEMU (Rust編) - FPGA開発日記

    モチベーション なぜRustを選んだか? 私はQEMUは「アーキテクチャエミュレーション界のLLVM」だと思っている QEMUが高速な理由:TCG Binary Translation ゲスト命令(RISC-V) → TCGホスト命令(x86)の処理をRustで作ろう RISC-Vの命令をフェッチしてデコードする RISC-Vの命令をTCGに変換する TCGをx86に変換する 実装結果 Binary Translation実行を高速化するための様々なテクニック BasicBlock分まで複数命令をまとめて変換 TCG Block Chainingの実装 評価結果 TB Lookup and Jumpの実装 評価結果 まだ完成していないところ 一部の最適化はまだ未実装となっている ゲストアーキテクチャがx86のみとなっている。TCGによる複数プラットフォーム対応として、まずは環境のそろ

    フルスクラッチから作って理解するQEMU (Rust編) - FPGA開発日記
  • なぜDiscordはGoからRustへ移行するのか - MISONLN41's Blog


    DiscordGoRustWindowsRustDiscordRustGCGoogle : 7/31 : Why Discordisswitching from GotoRust - Discord BlogRustDi
    なぜDiscordはGoからRustへ移行するのか - MISONLN41's Blog
    wata88
    wata88 2020/08/01
  • TCPが遅すぎる?QUICを使おう!


    QUIC使 QUIC使TCPTCPQUIC使10 SSHDNSQUICQUIC調RustBGP over QUICQUICQUICTCPTCPQUIC
    TCPが遅すぎる?QUICを使おう!
  • Linuxのネットワークスタックが遅すぎる?RustとXDPでパケット処理!

    Linuxのネットワークスタックが遅すぎる!」 詳細はわかりませんが、すごくエンジニアステージが高そうですね!ネットワークスタックの高速化は多くの前例があり、中途半端に試すと、周辺の詳しい人に一晩中、指導をうけるはめになりかねません。前例のないRustなら安心です。 典型的な高速化手法広く使われている高速化手法は、オペレーティングシステムのプロトコルスタックを使わずに、サーバアプリケーションが直接、NICにアクセスして、パケットを処理するというものです。Linuxの上で、FreeBSDのプロトコルスタックとサーバアプリケーションを統合するという、謎の組み合わせを運用しているクラウド事業者もいます。 上記の高速化手法のポイントの一つが、アプリケーションが、高速に、NICにアクセスするための手法です。たくさん提案されてきましたが、今回は、現在、人気があるXDPを使うことにします。聞いたことが

    Linuxのネットワークスタックが遅すぎる?RustとXDPでパケット処理!
  • 同期エンジンの心臓部を書き換える


    0 0 719 0 4Dropbox    Dropbox Dropbox 使1Nucleus Dropbox   Dropbox 
    同期エンジンの心臓部を書き換える
    wata88
    wata88 2020/05/27
  • CとRustで一から作るマイクロカーネルOS


    OSIaaSOS Resea GitHub  LinuxOS
    CとRustで一から作るマイクロカーネルOS
    wata88
    wata88 2019/12/15
    すごすぎる
  • Writing an OS in Rust (Second Edition)

    This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding Github repository. Latest post: Async/Await The first step in creating our own operating system kernel is to create a Rust executable that does not link the standar

    wata88
    wata88 2019/05/13
  • RustでクライアントサイドWebフレームワークを作っているよ - rail44 (アメミヤ)


     ajitofm () ajito.fm id: mizchiajiting  RustUI mizchi github.com TodoMVC    #![feature(proc_macro)] extern crate squark; extern crate squark_macro
    RustでクライアントサイドWebフレームワークを作っているよ - rail44 (アメミヤ)
  • ファミコンのエミュレータをRust / WebAssembly で書き直した - undefined


     JS( - undefined)Rust Qiita( Hello, World!) qiita.com JSRust  github.com ROM APUDCM
    ファミコンのエミュレータをRust / WebAssembly で書き直した - undefined