Rust
ãã ããå±ã®ã²ã¾ã¤ã¶ããã¨ã¯ æé·æé ã®åé¡ã¯â¦ï¼ çµã¿åãããã°ã©ãåé¡ ããã°ã©ã ã§è§£ã ç¶æ ã®åæ ã°ã©ãã®æ§ç¯ æççµè·¯åé¡ã解ã WASMåãã¦ããã©ã¦ã¶ä¸ã§è§£ã ããããã¹ã¦ç°ãªãå£åã ã£ãã ããã«ä¸è¬åãã¦ãã㨠å°éå¯è½æ§ é ç¹æ° æ¬æ°ãâ¦
memo.sugyan.com ã®ç¶ãâ¦ï¼ I've published `tuisky`, a TUI Client for Bluesky, as v0.0.1. (It's still a work in progress.) Were there already other clients available for use in the terminal? #atdev #bluesky-client #tui crates.io/crates/tuiskâ¦
èªä½ã©ã¤ãã©ãªã使ã£ãBlueskyã¯ã©ã¤ã¢ã³ããå®è£ ãã¦ãã¦ééãããã°ã ATriumããã®feed.getPostsã§urisã21åã¾ã§ãªã大ä¸å¤«ã ã22å以ä¸ã ã¨ã¨ã©ã¼ã«ãªããã¨ãçºè¦ãããåé¡åãåãä¸â¦ ããã¾ã§èªä½ã¯ã©ã¤ã¢ã³ãå®è£ ãã¦ããããæ°ä»ãåé¡ããããâ¦
ATProtocolã®Rustã©ã¤ãã©ãªãä½ã£ã¦ãã æ´»åã®ç¶ãã¨ãã¦ãã©ã¤ãã©ãªã®åä½ç¢ºèªãå ¼ãã¦Desktop Applicationãä½ã£ã¦ã¿ããã¨ã«ããã Tauri Rustã§Desktop Applicationä½æãã¨ããã°ä»ãã£ã¨ãæ®åãã¦ããã®ãTauriã ããã tauri.app ã¹ãã¼ã¿ã¹ã¨ãâ¦
èæ¯ CidLink serde_json, serde_ipld_dagcbor åé¡ç¹: ãã¼ã¿ãã©ã¼ãããã«ãã£ã¦å¯¾è±¡ã®åãç°ãªã æåã®è§£æ±ºç: is_human_readable() ã«ããåå² ãã¾ããããªãã±ã¼ã¹ 解決ç(ï¼): Ipld ãçµç±ããã¼ã¿ã®æ§é ã«ãã£ã¦åå²ãã æ±ç¨çï¼ ãªè§£æ±ºç: Untagâ¦
bsky.app ããããã°ãå¤ãè¯ãæ代ã¯èªåã®ããã¯ãã¼ã¯ã¯èªåã§Twitterã«æ稿ããã¦ããã®ã ã£ãã ä»ã¯Blueskyãã¡ã¤ã³ã«ãªã£ã¦ããã®ã§ãåãä»çµã¿ã欲ãããã¨æã£ããã®ã§ãä½ã£ãã github.com è¦ä»¶ å è¡äºä¾ Rustç WASMå¯¾å¿ Cloudflare Workersã§â¦
åå¹´ã»ã©åãããBlueskyã®AT Protocolã®Rustçã©ã¤ãã©ãªãä½ã£ã¦ããã memo.sugyan.com github.com ãã®ä¸ã§æè¿å®è£ ããæ©è½ã®è©±ã API Agent AT Protocolã®èªè¨¼ tokenã®ç®¡çã¨èªåæ´æ°æ©æ§ ATriumã§ã®å®è£ XrpcClient trait session管çããwrapper tokâ¦
åã©ããç¾åã§è²·ã£ã¦ããããºã«ããã£ã¦ã¿ãããå ¨ç¶ãã¾ãåºæ¥ãªãã¦æããã£ãã®ã§ããã°ã©ã ã§è§£ãæ¢ããã¨ã«ããã Pentominoã¨ã¯ æ¢ç´¢ã¢ã«ã´ãªãºã ã¨å®è£ è¨ç®éæ¦ç® å¹ççãªæ¢ç´¢ã®æ¹é backtracking Bitboardã«ããæ¤ç´¢ã¨å¤å® åè£ã®äºåè¨ç® å®è£ ã¨â¦
åè¨äº ã§OCamlãã£ã¦ãããã¨æ¸ãããã©çµå±Rustã§ãã Bluesky AT Protocolã¨ã¨ã³ã·ã¹ãã ã®ç¾ç¶ (ã2023/04) Rustçã®å®è£ Lexiconã¨ã³ã¼ãçæ èªä½Rustçå®è£ : ATrium Lexicon schema ã³ã¼ãçæ APIè¨è¨ Lex CLI ä»å¾ Bluesky Twitter代æ¿ã®åè£ã¨ãã¦â¦
æ¯å¹´12æã«éå¬ããã¦ãã Advent of Code ã«ã2019å¹´ããåå ãã¦ããã éå»è¨äº: Advent of Code 2019 ã«ææ¦ãã¦ãã - ãããã¼ãã¡ã¢ Advent of Code 2020 å®çãã - ãããã¼ãã¡ã¢ 2022å¹´ã®Advent of Codeã«ãææ¦ãã¦ãã¦ãå¹´ãæãã¦ãã¾ã£ããå â¦
tkihiraããã®åé¡ãé¢ç½ããã ã£ãã®ã§ææ¦ãã¦ã¿ãã 2023å¹´ã¯ã¤ãºï¼ä¸ã®ä¾ã®ããã«ãæ°åã®åéã«ååæ¼ç®ï¼ï¼âÃ÷ï¼ãæ¬å¼§ãå ¥ãããã¨ã§ã2023 ãä½ã£ã¦ãã ããã- æ°åã®éã«å¿ ãæ¼ç®åã 1 ã¤å ¥ãã¦ãã ãã- ãã ã 9 㨠8 ã®éã«ã¯æ¢ã« ÷ ãå ¥ã£ã¦â¦
å°æ£æ£èã®å½¢å¼è²ã KIF CSA USI/SFEN æåè¡¨è¨ ãã®ä» JSONæ£èãã©ã¼ããã(JKF, json-kifu-format) èªä½parser, converter ã¯ã¬ã¼ãå ¬é Rustã§json-kifu-formatäºæã®å°æ£æ£èå¤æã©ã¤ãã©ãªãæ¸ãå§ãã¦ãã¦ãã¤ãã«åå²ã¾ã§ã¡ããã¨å¯¾å¿ãã.kifãã¡ã¤â¦
èªä½Rust製å°æ£åæ³æçæã©ã¤ãã©ãªãè¨ç®ã®é«éåã®ããBitboardã®128bitè¨ç®ãSIMDã§è¡ãããx86_64ã®AVX2ãAArch64ã®NEONãwasm32ã®simd128ã§åãããã«ããããå®è£ ã㦠åç°å¢ã§å¤å°éãæ¢ç´¢ã§ããããã«ãªã£ããhttps://t.co/h7Dz3X6BhTâ ãããã¼ã â¦
åç½®ã é£ã³å©ãè¨ç®ãããã åºç¤ç¥è 縦åBitboardã§ã®é¦è»ã®å©ã è§è¡ã»é£è»ã®å©ã (Magic Bitboard / PEXT) Qugiyã®ææ³ Leading/Trailing Zerosã使ã å®é¨ã¨èå¯ åç½®ã Rustã§å°æ£ã®é«éåæ³æçæã©ã¤ãã©ãªãä½ãå§ãã¦ãã¦ã Rustã§ã¤ãã ããä¸â¦
ææç© Rust製ã½ã«ãã®æ¹è¯ æ¢ç´¢é¨ã®æ½è±¡å æ¢ç´¢æã¡åãã®ããã®æ¡å¼µ WebAssemblyå å°æ£Player (èªä½WebComponents) ã¾ã¨ã ææç© https://sugyan.com/tsumeshogi-solver-wasm/ å±é¢ãç·¨éãæå®ãããã®å±é¢ããã®è©°ã¿æé ãæ¢ç´¢ãããã¯ã¨ãªãã©ã¡ã¼ã¿â¦
memo.sugyan.com ã®ç¶ãã åè¨äºæç¹ã§ã ãããåæ³æã®çæãåºæ¥ã¦ããããé度é¢ã§ããåé¡ããã£ãã perft ã®è¨æ¸¬ãã¦ã¿ãã¨RustçAperyã¨æ¯è¼ãã¦2åç¨åº¦é ãã ã ãããåãæé ã«ãªãããå®è£ ãã¦ããã¯ããªãã ãã© ã©ããã¦ãããªã«å·®ãã¤ãã¦ãâ¦
æ¨å¹´æ«ã«åºçããããå¼·ãå°æ£ã½ããã®åµããããã¨ããæ¬ãèªãã§ãèªåãå°æ£AIãä½ã£ã¦ã¿ããã¨æã£ãã å¼·ãå°æ£ã½ããã®åµãããä½è :å±±å²¡å¿ å¤«,å ç´é¦å½¦ãã¤ããåºçAmazon ãã®æ¬ã§ã¯ä¸»ã«Pythonã§ã®å®è£ ãç´¹ä»ããã¦ããããèªåã¯æè¿ã¯Rustã好ããªâ¦
memo.sugyan.com ã®ç¶ãã1ã¶æã»ã©çµã£ã¦ã¡ããã¡ããæ´æ°ãã¦é²åããã æ®èª²é¡ãå¹¾ã¤ããã£ããããã®ãã¡å¹¾ã¤ãã¯è§£æ±ºããã æ¢ç´¢ç¡éã«ã¼ã ä¸å³ã®ãããªåé¡ã§ â²4åé£æ â³3äºç â²4ä¸ç« â³3ä¸ç â²4åç« â³3äºç ... ãç¡éã«æ¢ç´¢ãã¦ãã¾ã£ã¦ããåé¡ã â¦
ã¤ãã«ãã¨ãªã£ã¦å é±ããRustã§è©°å°æ£ã½ã«ããæ¸ãå§ãã¦ãã¾ããããããdf-pnã§ä½ããã®è§£çãåºããããã«ãªã£ãã¨ãããããããããã¡ãã£ã¨èª¿æ´ãã¦ããããã pic.twitter.com/XM9iPJqocvâ ãããã¼ã (@sugyan) November 2, 2021 ã¨ããããã§çªç¶Râ¦
SNSãªã©ã§è©±é¡ã«ãªã£ã¦ããã®ã§èª¿ã¹ã¦ã¿ããåå¼·ã«ãªã£ãã®ã§ã¡ã¢ã ç°å¢ Pythonã§ã®å®è£ ä¾ ä¾1 ä¾2 ä¾3 ã¨ã©ãã¹ããã¹ã®ç¯© Rustã§ã®å®è£ ä¾ è©¦ãå²ãæ³ ã¨ã©ãã¹ããã¹ã®ç¯© ã¢ããã³ã®ç¯© ãã¾ã: GMP Benchmark é«éåã®ãã¯ãã㯠ä¸éåæ°ãè¦ç©ãã Wheeâ¦
æ¨å¹´ã¯ããã¦çé¢ç®ã«ææ¦ãããAdvent of Codeã memo.sugyan.com ä»å¹´ããããã¼ï¼ã¨ææ°è¾¼ãã§ã12æã«ãªãåããã¡ããã¡ããTwitterã§å®£ä¼ãããããç²æããã£ã¦ããä»å¹´ã¯æ¥æ¬å½å ã§ãææ¦ãã¦ãã人ãå°ãå¢ããããã ã£ããå¬ããã åã¯æ¨å¹´ã«å¼ãâ¦
Advent of Code ã¨ããã®ãããã https://adventofcode.com/ æ¥æ¬ã§ã¯ã¾ã ãã¾ã ç¥ã£ã¦ãã人/ãã£ã¦ãã人 ã¯å¤ããªããããããªããæ¤ç´¢ãã¦ã¿ã¦ããæ¥æ¬èªã®ç´¹ä»è¨äºã¯ãããããããè¦ã¤ãããªãã£ãã Advent of Code ã®ç´¹ä» - Qiita åããå»å¹´ å åâ¦