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
ããã¯Rust Advent Calendar 2017 11æ¥ç®ã®è¨äºã§ãã ä»åã¯Rustãç¨ãã¦ãã¡ã¤ã«ã·ã¹ãã ãä½ããã¨ãã§ããrust-fuseãç´¹ä»ãã¾ãã FUSEï¼Filesystem in Userspaceï¼ã¨ã¯ï¼ FUSEã¯ãé常ã«ã¼ãã«ç©ºéã§æä¾ãããã¡ã¤ã«ã·ã¹ãã ã®æ©è½ãã¦ã¼ã¶ç©ºéä¸ã§å®ç¾©ãåä½ããããã¨ãã§ãããã®ã§ãã ã¦ã¼ã¶ç©ºéã¨ã«ã¼ãã«ç©ºéã®æ©æ¸¡ããããã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã«ã¼ãã«å ã§ã®å¦çãæä¾ãã¦ãã¾ããå®è£ è ã¯ã«ã¼ãã«ã®ã³ã¼ããããããã¨ãªããã¡ã¤ã«ã·ã¹ãã ãä½æã§ãã¾ãã ãªãã¡ã¬ã³ã¹å®è£ ã¯libfuseã¨ãã¦æä¾ããã¦ãã¾ãã FUSEã使ã£ããã¡ã¤ã«ã·ã¹ãã ã¨ãã¦ã¯ãSSHFSãGlusterFSãgitfsãªã©ãããã¾ãã rust-fuse rust-fuseã¯Rustã§FUSEãå®è£ ã§ãããã¨ãç®çã¨ããcrateã§ãåç´ãªlibfuseã®
話é¡ã«ãªã£ã¦ãã®ã¯å»å¹´ããããªæ°ããããä»ããæã¯ãããã©ãä»ã ãããããããåãã¦ããããªãããªã¼ã¨ããæå¾ ãè¾¼ãã¦ã å人çã«ã¯ãWASMã§Webã¢ããªãä½ãæ代ã«ãªãã¨ã¯ãã¾ãæãã¦ãªããã©ãã¾ã試ãã¦ãã価å¤ã¯ããããªã¨æããã®å¦ã³ãã¡ã¢ã yewstack/yew GitHub - yewstack/yew: Rust / Wasm framework for building client web apps Rustã§Reactã£ã½ãã³ã¼ããæ¸ãã¦ããããWASMã§åãã®ã§ãåããã§ã¡ãã£ã±ããªWebã¢ããªãä½ãããï¼ã£ã¦ãããã¤ã ä»ã®ãã¼ã¸ã§ã³ã¯`0.11.0`ã§ãæå°ã®ã³ã¼ãã¯ãããªæãã use yew::{html, Callback, ClickEvent, Component, ComponentLink, Html, ShouldRender}; struct
WebGPU is a new graphics and compute API designed from the ground up by a W3C community group. It's a successor to WebGL, which also has a chance to become a standard on native platforms. We are going to talk about the API itself as well as our Rust-based implementation "wgpu". Expected prior knowledge / intended audience: basic familiarity with one of the graphics APIs is good but not required. W
注æ: ææ°çã®ããã¥ã¡ã³ããã覧ãã ããããã®ç¬¬2çããã¥ã¡ã³ãã¯å¤ããªã£ã¦ãããææ°æ å ±ãåæ ããã¦ãã¾ããããªã³ã¯å ã®ããã¥ã¡ã³ããç¾å¨ã® Rust ã®ææ°ã®ããã¥ã¡ã³ãã§ãã ããã«ã¯ãããã«ããããããã¾ããããRustããã°ã©ãã³ã°è¨èªã¯ãã¨ã³ãã¯ã¼ã¡ã³ã(empowerment)ãæ ¹æ¬åçã¨ãã¦ãã¾ã: ã©ããªç¨®é¡ã®ã³ã¼ããç¾å¨æ¸ãã¦ããã«ãããRustã¯å¹ åºãé åã§ä»¥åãããé ãã¸å°éãã èªä¿¡ãæã£ã¦ããã°ã©ã ãçµãåãä¸ã(empower)ã¾ãã ä¸ä¾ãæããã¨ãã¡ã¢ãªç®¡çããã¼ã¿è¡¨ç¾ã並è¡æ§ãªã©ã®ä½ã¬ãã«ãªè©³ç´°ãæ±ããã·ã¹ãã ã¬ãã«ãã®ããã°ã©ãã³ã°ãããã¾ãã ä¼çµ±çã«ãã®åéã¯é£è§£ã§ãå¹´æãããã¦ãã£ãããªè½ã¨ãç©´ãåé¿ããè¡ãç¿å¾ããé¸ã°ããè ã«ã ãå¯è½ã¨è¦ãªããã¦ãã¾ãã ãã®ããã«éé¬ãç©ãã è ã§ãã注æãå¿ è¦ã§ããããªãã¨æ¸ããã³ã¼ããã¯ã©ããã³ã°ã®ç³¸å£ã«
Rust ð¦ and WebAssembly ð¸ This small book describes how to use Rust and WebAssembly together. Who is this book for? This book is for anyone interested in compiling Rust to WebAssembly for fast, reliable code on the Web. You should know some Rust, and be familiar with JavaScript, HTML, and CSS. You don't need to be an expert in any of them. Don't know Rust yet? Start with The Rust Programming Lang
Provide high quality Rust bindings to V8's C++ API. The API should match the original API as closely as possible. Do not introduce additional call overhead. (For example, previous attempts at Rust V8 bindings forced the use of Persistent handles.) Do not rely on a binary libv8.a built outside of cargo. V8 is a very large project (over 600,000 lines of C++) which often takes 30 minutes to compile.
ãã®æç« ã¯ Rust ãç¨ãã WebAssembly ã®éçºç°å¢ãæ§ç¯ããææ³ãç´¹ä»ããããã«ä½æããã¾ãã. ããã·ã¥ã¿ã°: #WASMã®æ¬ç´¹ä»è¨äº: WebAssembly éçºç°å¢æ§ç¯ã®æ¬ãå ¬éãã¾ãã - mizdra's blog# æ¬æ¸ã®ç®çRust ãç¨ãã WebAssembly ã®éçºç°å¢ãæ§ç¯ããææ³ãç¥ããã¨ã¢ã¸ã¥ã¼ã«ãã³ãã©ã¨é£æºããæ¹æ³ãç¥ããã¨TypeScript ã¨é£æºããæ¹æ³ãç¥ããã¨WebAssembly ãå©ç¨ãã¦ãã¦é¥ããããç½ ãç¥ããã¨WebAssembly ã«é¢ããæ å ±ã調ã¹ãæ¹æ³ã身ã«ã¤ãããã¨# æ¬æ¸ã§ãããªããã¨WebAssembly/Rust/JavaScript ã®ææ³ãæ©è½ã®è§£èª¬ãç®çã§ã¯ãªã Rust ããã³ã³ãã¤ã«ãã¦çæããã WebAssembly ã JavaScript ããå©ç¨ããæ¹æ³ã解説ããææ³ãæ©è½ã«ã¤ãã¦ã¯, W
Rustã®ç¹å¾´ã®ã²ã¨ã¤ã¯ãææ権(ownership)ã»ç§»å(move)ã»åç¨(borrow)ã®æ¦å¿µã§ããããããã³ã³ãã¤ã«æã«å³æ ¼ã«ãã§ãã¯ããããã¨ã«ãããå¤ãããæªå®ç¾©æåã§ããã°ã©ããæ©ã¾ãã¦ãããã³ã°ãªã³ã°ãã¤ã³ã¿ãªã©ã®åé¡ããªããªããã¡ã¢ãªå®å ¨æ§ããããããã¾ãã ãããä¸æ¹ã§ãèªåã§å¤å°è¤éãªãã¼ã¿æ§é ãå®ç¾©ãããã¨ããå ´åã«ã¯ã³ã³ãã¤ã«ãéãã ãã§ãããªãã®ç¥èã»åéãè¦æ±ããã¾ãã ãã®ï¼ä¸å®æï¼é£è¼ã§ã¯ã Rustã§ã¯ããããã¼ã¿æ§é ã¨ã¢ã«ã´ãªãºã ã¨é¡ããããã°ã©ãã³ã°ã³ã³ãã¹ããªã©ã§ããè¦ãããåºç¤çãªãã¼ã¿æ§é ã¨ã¢ã«ã´ãªãºã ããã§ããã ãã·ã³ãã«ã«Rustã§å®è£ ãã¦ããã¾ãã &, &mut, Box, Rc, Cell, RefCell ãªã©ã®ä½¿ãåããããªãããã使ãå¿ è¦ããããã®è§£èª¬ããå®ä¾ãéãã¦è¡ãã¾ãã 第1åã¯ãæãã·ã³ãã«ãªæ¨æ§é ã§ãã äºåæ¨ ã
ãã¤ã¯ãã«ã¼ãã«ã¯æµªæ¼«ã«æº¢ããé常ã«ä½ãããã®ããã½ããã¦ã§ã¢ã§ãããã®è¨äºã¯ï¼ããã¤ã¯ãã«ã¼ãã«ãã¼ã¹ã®OSã®ä¸ããä½ã£ã¦IaaSã§åããããã¨ãç®æ¨ã«ä½ã£ããã¤ã¯ãã«ã¼ãã«ãã¼ã¹ã®OS Reseaï¼ãã¼ããï¼ã®è¨è¨ã¨å®è£ ã«ã¤ãã¦è»½ãã¾ã¨ããç©ã§ãã ã½ã¼ã¹ã³ã¼ãã¯GitHubã«ããã¾ãã ãã¤ã¯ãã«ã¼ãã«ã¨ã¯ Linuxã®ãããªã¢ããªã·ãã¯ã«ã¼ãã«ã§ã¯è²ããªæ©è½ãã«ã¼ãã«ç©ºéã§åãã¾ããï¼ãã¤ã¯ãã«ã¼ãã«ã§ã¯ã¦ã¼ã¶ããã»ã¹ãã¡ãäºãã«éä¿¡ããªããOSãä½ãä¸ãã¾ããããã»ã¹ã»ã¹ã¬ããã»ä»®æ³ã¡ã¢ãªç®¡çï¼ããã»ã¹ééä¿¡ï¼ã¿ã¤ãã¼ã¨ãã£ãå¿ è¦æä½éã®æ©è½ã ããã«ã¼ãã«ãæ ãã¾ããããã¤ã¹ãã©ã¤ãããã¡ã¤ã«ã·ã¹ãã ã¨ãã£ãæ®ãã®æ©è½ã¯ï¼ç¬ç«ããã¦ã¼ã¶ããã»ã¹ã¨ãã¦åãã¾ãããã¨ãããã¤ã¹ãã©ã¤ããæ´èµ°ãã¦ãä»ã®ã³ã³ãã¼ãã³ããå£ããã¨ã¯ãªãã®ã§ãããã¤ã¯ãã«ã¼ãã«ã¯ä¿¡é ¼æ§ãé«ãï¼ççµåã§ç¾ãã
rchaser53noMacBook-Pro:rj rchaser53$ javap -v java/io/PrintStream Classfile jar:file:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar!/java/io/PrintStream.class Last modified 2017/07/21; size 9048 bytes MD5 checksum f62b2b102171bb9cd2cefa5efcf0e487 Compiled from "PrintStream.java" public class java.io.PrintStream extends java.io.FilterOutputStream implements java.lan
ãã®è¨äºã¯Aptpod Advent Calendar 2019ã®3æ¥ç®ã®è¨äºã§ãã å 端æè¡èª¿æ»ã°ã«ã¼ãã®å¤§ä¹ ä¿ã§ãã æè¿ã¯WebAssemblyã注ç®ãããããã«ãªããå¼ç¤¾ã§ãWebããã³ãã¨ã³ãå´ã§ã®è»½éåã»é«éåã«å¿ç¨ã§ããªããæ¤è¨ããã¦ãã¾ãã ããã§ãä»åã¯WebSocketã®echoã¯ã©ã¤ã¢ã³ããRustã¨Goã§ä½æããwasmã¸ã³ã³ãã¤ã«ããæã®ãã¡ã¤ã«ãµã¤ãºãæ¯è¼ãã¦ã¿ã¾ããç¾ç¶ã§ã¯ãwasmå ããç´æ¥WebSocketãåãæ±ãæ¹æ³ã¯ç¡ããããã®ã§ãJavaScriptã®APIãå¼ã³åºãã¦WebSocketéä¿¡ãå®ç¾ãã¾ãã Goã§ã®å®è£ ç§ã¯Goãæ¸ããªããããå 輩ããããã£ã以ä¸ã®ã³ã¼ãã使ããã¦ãããã¾ãããé©å½ã«wstest.goã¨ååãä»ãã¦ä¿åãã¾ãã package main import ( "fmt" "syscall/js" ) func prin
On this coming Thursday, November 7, async-await syntax hits stable Rust, as part of the 1.39.0 release. This work has been a long time in development -- the key ideas for zero-cost futures, for example, were first proposed by Aaron Turon and Alex Crichton in 2016! -- and we are very proud of the end result. We believe that Async I/O is going to be an increasingly important part of Rust's story. W
åç½®ã ããã¯Rustãå¦ã³ãããã©ã©ããã£ã¦åå¼·ããããã¨ãã人åãã®è¨äºã§ãã èªåã®çµé¨ããããå ã«èªãã©ããããã£ãã¨ããããèªãã©ãã°ãã£ã¨æ¥½ã ã£ãã¨ããããªã®ãããããã¾ã¨ãã¦ããã¾ããããä¸åº¦Rustãå¦ã³ç´ããªãã©ãããããªã¼ãã¨èããªããæ¸ãã¾ããããªã大åãè±èªã®è³æã§ãã è±èªãã»ã»ã»ã¨æã£ãæ¹ã¯yukiããã®Rust ãå§ããããã®è³æéãã©ããã 対象ã¯RubyãPythonãªã©ã®é«ã¬ãã«è¨èªããã§ã«ç¿å¾ãã¦ã人ã åæºå Rustã®ä¸»ãªç¹å¾´ãç¥ã£ã¦ããã¾ããããRustã¯ä»ã®è¨èªã«ãªãèãæ¹ãç¹å¾´ãå¤ãã®ã§å ã«ç¥ã£ã¦ããã¨è¯ãã§ããã¨ããããinto_rust() : screencasts for learning Rustãå ¨é¨è¦ã¾ããã åºç¤ç¥èã®ç¿å¾ The Bookã¨å¼ã°ããå ¬å¼ã®å ¥éæ¸ãããã¾ããã¾ããããèªã¿ã¾ããããæ¥æ¬èªè¨³ãããã¾ããè±èªçã®ã»
Rust ð¦ and WebAssembly ð¸ This small book describes how to use Rust and WebAssembly together. Who is this book for? This book is for anyone interested in compiling Rust to WebAssembly for fast, reliable code on the Web. You should know some Rust, and be familiar with JavaScript, HTML, and CSS. You don't need to be an expert in any of them. Don't know Rust yet? Start with The Rust Programming Lang
Rust + Yew = WebAssembly ã§ããã°ãã©ã¤ã¯ãªã¿ã¹ã¯ç®¡çã¢ããªãä½ã£ã¦ã¿ã¾ããã Yewã¯Rustã§æ¸ãããããã³ãã¨ã³ãåãã®ãã¬ã¼ã ã¯ã¼ã¯ã§ãã æ¸ãããã³ã¼ãã¯WebAssemblyã«å¤æããã¦ããã©ã¦ã¶ä¸ã§å®è¡ãããã¨ãã§ãã¾ããããã¸ã§ã¯ãã®READMEã«ãElmã¨Reactã«å½±é¿ãåãããã¨æ¸ããã¦ããããã«ãJSX風ã®HTMLãæ¸ãããããªãã¯ããç¨æããã¦ãã¦ãRustã®ã³ã¼ãå ã«HTMLã£ã½ã表ç¾ã§ãã¥ã¼ãæ¸ããã¨ãã§ãã¾ãã ã¾ããElmã¢ã¼ããã¯ãã£ã®ããã«ãã¢ãã«ã¨ãã¥ã¼ããããã¡ãã»ã¼ã¸ã«ãã£ã¦ç¶æ ã®æ´æ°ããããããã«ãªã£ã¦ãã¾ãã ã¨ããããã§ã以åããã®ããã°ã§sakiãæ¸ãããVue.js ã§ããã°ãã©ã¤ã¯ãªã¿ã¹ã¯ç®¡çã¢ããªãä½ã£ã¦ã¿ã¾ããããã¨ããè¨äºãåèã«ãè¦ãããã»ã¨ãã©åããããªããã°ãã©ã¤ã¯ãªã¿ã¹ã¯ç®¡çã¢ã㪠(ã¿ã¹ã¯ãã¼ã
Rustã¯ããã©ã«ãã§ã¯æ¬æ¥ã®åãçºæ®ããªãã試ãã«æé ãªãã³ããã¼ã¯ã3åããã試ãããã ããã20ï½100åç¨åº¦é ãã£ãã ãRust㧠ââ ãé«éã«ããæ¹æ³ããç¥ããã人ã¯ãã¾ããRustã³ã³ãã¤ã©ãæ¬æ¥ã®åãçºæ®ãã¦ããã確èªããã»ããããã Cargoã®å ´å Cargoã§ã¯ --release ãã¤ããã¨æ¬æ¥ã®åãçºæ®ãã¦ã³ã³ãã¤ã«ããã $ cargo build --release $ cargo run --release rustcãç´æ¥å®è¡ããå ´å $ rustc -C opt-level=3 -C debug_assertions=no ä¸è¨ã®ãªãã·ã§ã³ãè¨å®ããªãçç± éã«ãä¸è¨ã®ãªãã·ã§ã³ã使ããªãçç±ã¨ãã¦ã¯ããããã°ã¢ã¼ãã®ã»ãã諸ã ã®ãã§ãã¯ãå®è¡ããã¦ããã¨ããã®ãæããããã ä¾ãã°ãæ´æ°æ¼ç®ã®ãªã¼ãã¼ããã¼ã¯ãããã°ã¢ã¼ãã§ã¯ææãããããªãããªã¼ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}