2021-01-01ãã1å¹´éã®è¨äºä¸è¦§
Linuxã¢ããã³ãã«ã¬ã³ãã¼13æ¥ç®ã®æææ¥ã®è¨äºã§ãã qiita.com ä»æ¥ã¯ä»¥åããæ°ã«ãªã£ã¦ããNSS pluginã®ä»æ§ã«ã¤ãã¦èª¿ã¹ã¦ã¾ã¨ããç°¡åãªãã®ãæ¸ãã¦ã¿ããã¨æãã¾ããã¨ããã®ããå®ã¯ ååã äºäººã NSS pluginãéçºãã¦å ¬éãã¦ããããã£ã¨è² ãâ¦
Rubyã¢ããã³ãã«ã¬ã³ãã¼ï¼ãã®1ï¼10æ¥ç®ã®è¨äºã§ãã qiita.com æè¡ã¢ããã³ãã«ã¬ã³ãã¼ã®åç¹ï¼ã«ç«ã¡è¿ããèªåã®æ¸ãããã®ã§ã¯ãªãTipsã®è©±ããã¾ãã ä»åã¯ããæ°å¹´ãã使ãããã«ãªã£ãgemãfiddleã®ç´¹ä»ããããã¨æãã¾ã*1ã fiddleã¨ã¯/FFIã¨â¦
Rustã¢ããã³ãã«ã¬ã³ãã¼ï¼ãã®1ï¼3æ¥ç®ã®è¨äºã§ãã qiita.com id:udzura ã¨ç³ãã¾ããRustã¯2021å¹´ã«ãªãã¨åæã«å§ããã®ã§ããã¾ã çµé¨1å¹´æªæºã§ãããåè¶ãªãããä»åã¢ããã³ãã«ã¬ã³ãã¼ã«åå ãããã¾ãã ä»åã¯ã¿ã¤ãã«ã®éããRustã§Crafting Iâ¦
Rubyã¢ããã³ãã«ã¬ã³ãã¼ï¼ã«ã¬ã³ãã¼2ï¼ã®2æ¥ç®ã§ãã qiita.com ä»è¦ããã«ã¬ã³ãã¼2ãåå以ä¸åã¾ã£ã¦ã¦å¬ãã... Ruby is alive now!!! ã¨ãããã¨ã§ãRubyKaigi takeout 2021ã®æ¯ãè¿ããå ¼ãã¦ä½ã£ããã®ã®è©±ã§ãã rubykaigi.org Rucy: A Ruby Compâ¦
ä»ã¾ã§ã®ããããã¨ãã¦ãããã¾ã§ã§ãRubyã§ãã¼ãµãæ¸ãããã§ããRBSã§åãä»ãã¾ããã udzura.hatenablog.jp udzura.hatenablog.jp github.com æ¬ã¨ã³ããªã§ã¯ç°¡åã«ãµãããã£ã¦ã¿ã¾ãã 大åæã¨ãã¦ãå人ã®ææ³ã§ãçæ§ã®ä»å¾ã®åã©ã¤ãã«ã»ãã®ã¡â¦
åç·¨ã¯ãã¡ãã udzura.hatenablog.jp ããã¾ã§ã§ã¹ãã£ãã¾ã§ã¯å®è£ ãã大ä½åããããã§ãï¼åãã¡ããã¨ã¤ããããã§ãï¼ã®ã§ãç¶ãã®å®è£ ããã¾ãã
K-Ruby ã¨ãã鹿å 島ã®Rubyã³ãã¥ããã£ã®å¿å¹´LT大ä¼ã§RBSã使ã£ã¦ã¿ã話ããã¾ãããªã³ã©ã¤ã³ã§ãããä¹å·çãä¸ãã¦ããã¾ãããï¼ k-ruby.connpass.com ããã¯ããã¨ãã¦RBSã¨ãããã®ã«ä»åã¡ããã¨è§¦ããã®ã§ã触ããè¨é²ãéã«ã§ãæ®ãã¦ãããã¨æãâ¦
hiboma.hatenadiary.jp ã¾ãhibomaããã®ããã°ã®è¨åã§æ縮ãªã®ã ãããã®ããã°ãèªãã§ãããããã°åã®ãã£ãªã¢ã®ä¸ã§éè¦ã ã£ãæ¬ã£ã¦ä½ããªãã¨ããã®ãèãã¦ããã åæã¨ãã¦åã¯æ¬ãèªãã®ãè¦æã§ï¼ãã£ã¨æè¿æ°ã¥ããï¼ããã£ã¡ãé ãããèªããªâ¦
CoWã¯ã³ã¦å¯è¦åãããã㧠(aka. Rubyãªã©ãforkããå¾ã®CoWãå¯è¦åãã¦ã¿ã)
ååã®çããã¸ã®ã¢ã³ãµã¼ã½ã³ã°ã§ãã hiboma.hatenadiary.jp ryuichi1208.hateblo.jp RubyKaigi ããã§ãã£ããé ã... ã¨æã£ããRubyKaigi takeoutã®æ¯ãè¿ããæ¸ãã¦ãªã... ã¿ã¤ãã«ã®éãï¼éãï¼ï¼ãforkããããã»ã¹ãCoWãã©ããããèµ·ããã¦ããâ¦
ãã¡ãã§ãã github.com ã¨ã«ããã«ã¸ã¥ã¢ã«ã«ãç°¡åã§ãããã®ã§æ£è¦è¡¨ç¾ã使ãããå ´é¢ã«ãããããã¨æãã ç°¡åãªãã³ããåã£ãã
ãããã udzura.hatenablog.jp ååã®è¨äºã§ã以ä¸ã®ãããªæ§æè¦ç´ ãBPFããã°ã©ã ã«æä½éå¿ è¦ãªæ å ±ã ã¨çµè«ã¥ãã¾ããã å¿ è¦ãªã»ã¯ã·ã§ã³ strtab BPFããã°ã©ã ã»ã¯ã·ã§ã³ with æ£ããåå ã©ã¤ã»ã³ã¹ symtab å¿ è¦ãªã·ã³ãã«ãã¼ãã« BPFããã°ã©ã ã®â¦
ããããã£ã¨ã«ããã¼ããã£ã³ãã®çå¾ããã®è³ªåãããµã¨æãã¤ãããã¡ãã£ã¨ããéã³ã§ããã ï¼ããã¦ãæ¸ãã¦ããå 容ã«èª¤è§£ããã£ããåªããæãã¦ãã ããï¼
主ã«9æã«éãããæKaigiã®é¢ä¿ã¨ããè²ã ããããCè¨èªä»¥å¤ã®è¨èªã§BPFãã¤ããªãä½ããã¨ãã§ããªãã模索ãã¦ãã¾ã*1ãæSlackãªã©ã§ç¸è«ããã¦ããã£ã¦ãã¾ããããããªæãï¼è³æå¾åï¼ã docs.google.com ãã®äºå調æ»ã¨ãã¦ãBPFãã¤ããªã¨ãã¦libbâ¦
RubyKaigiãè¿ä»ãããeBPFã®æ©éãé«ãããã¨ãã¦ããã ã¿ã¤ãã«ã§ããããããããã¨ãã§ãã¾ãã www.kernel.org ãã®ããã¥ã¡ã³ãã«ããã©ãããã°ã§ãããã¨è¨ãã¨ãããæ¸ãã¦ããããæçµçã«ã«ã¼ãã«ã®ãµã³ãã«ãçºãããã¨ã«ãªãã elixir.bootlinâ¦
GWã¯ãã²ã¼ãã¦ã§ã¤ãããªãã´ã¼ã«ãã³ã¦ã£ã¼ã¯ã§ãã ã¿ã¤ãã«ã®éããé£ä¼ã®å¤ãã®ç©ºãæéãè¨èªå®è£ ã«è²»ããã¦ãã¾ã£ã...ã github.com ã¨ã«ãããã¹ã¿ã¼ãã¤ãã¦æ¿èªããããã¨ããæ°æã¡ãå¼·ãã§ãï¼çµè«ãã¡ã¼ã¹ãï¼ã ä»ã®ã¨ããããã®è¾ºãã®æ©è½ã¯â¦
ãããæããããè¨äºãæ¸ãããã ããã©ã udzura.hatenablog.jp æãã£ã¨ã«ãæ¹é¢ãããã¾ããã®ãã®è¨äºã«é¢ãã質åãæ¥ã¦ãããã«ãå ¥åã渡ãã«ã¯ã©ãããã°ããããã¨ãã追å 質åãããã®ã§ãã£ãã 試ããæãããªãã¨ãç´ ç´ã«åããªãã£ãã®ã§ãã©â¦
ã¡ã¢ç¨åº¦ã«ã è¿½è¨ @ 2021/04/20 12:41 inodeçªå·ã¨åãã«ãªãããã«ãªã£ã¦ãããããããªã®ã§ã cgpath = ARGV[0] puts File::Stat.new(cgpath).ino ããã ãã§ããã§ã... 以ä¸ã¯ãæ§é ä½ãã£ã¹ãã®ä¾ã¨ãã¦æ®ãã github.com ãã®å®è£ ã«ãã㨠name_to_haâ¦
ããããã宣è¨ãã¾ãããã¿ã¤ãã«ã§unshare(2)ã¨è¨ããªããclone(2)ã使ãã¾ãã ã³ã³ãããèªä½ãã ã®ã趣å³ã ã£ãã®ã§ãRustã§ãã³ã³ããã®åºæ¬çãªæ©è½ã§ããLinux Namespaceå¨ãã®ã³ã¼ãã£ã³ã°ããã¦ã¿ãã
ã¿ã¤ãã«ã®éããªãã ãã©ãããããã¯Twitterã§æãã¦ããã£ã github.com ãã®ãããã使ã£ã¦ãChannelã®ãããªã¤ã³ã¿ãã§ã¼ã¹ã§ããã»ã¹ééä¿¡ãè¡ã£ãã»ããè¯ãã®ã ãããã¨æãã¤ã¤ããªãã¹ãçã·ã¹ãã ã³ã¼ã«ã§å®è£ ãã¦ã¿ããã¹ãã
Rustã§ããã»ã¹ãä½ããããªã£ãã®ã§è©¦ãããå¤ãªã¨ããããã°æãã¦ãã ããã
ããããBPFã®ãã¨ãæãåºããã¨æã£ã¦è¨äºãæ¸ãã ã·ãªã¼ãºã§ã: udzura.hatenablog.jp udzura.hatenablog.jp
2021å¹´3æ5æ¥ã«ãmruby 3.0.0 ã®ãªãªã¼ã¹ãããã¾ãããããã§ã¨ããããã¾ãï¼ mruby.org ããã«é¢é£ãã¦ãªã®ããmrubyãããããå§ãããã¨ããããã®ã¨ããã©ããªã£ã¦ãã¾ããã¨ãã質åãã¡ããã¡ããåãããããã¤ã¼ããæè¦ãããããããã«ãªãã¾ãâ¦
Rubyã§å©ç¨ã§ããUSDT㯠probes.d ã¨ãããã¡ã¤ã«ã«å®ç¾©ããã¦ããã USDTã¨ã¯: udzura.hatenablog.jp 以ä¸ã®è¨äºã¯bpftraceã¨USDTãç解ãã¦ããåæã§æ¸ãã¦ããã¾ãã
ååã®ç¶ãã§ãã udzura.hatenablog.jp ä»åã¯libbpf-toolsã«ããexecsnoopã®ã³ãã³ãã©ã¤ã³é¨åãRustã«ç§»æ¤ãããã¾ããRustã®workspaceã使ã£ã¦ä»¥ä¸ã®ããã« execsnoop ã¯ã¬ã¼ããä½æããã bpf/ ãã£ã¬ã¯ããªã«BPFã®ããã°ã©ã ãç½®ãã
2020å¹´ã¯è²ã ãã£ããã§ãããä¸ç²æãªããæ®ãã¾ããã2021å¹´ãé å¼µãã¾ãï¼1è¡ã§å»å¹´ã®ç·æ¬ã¨ä»å¹´ã®æ±è² ï¼ã ã§ãRustã¨BPF CO-REã2ã¤ã®sotaï¼2020å¹´æ«ã«è¦ããè¨èã®ä¸ã¤ï¼ ãããã°ã«æ¸ãã¦æ°çãä¸ãã¦ããããã ï¼ã¯ããã«: ååèªåã¡ã¢ã®ã¤ãããªâ¦