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
ããã«ã¡ã¯ãkaztoã§ãã æ¬è¨äºã¯Zigã¢ããã³ãã«ã¬ã³ãã¼14æ¥ç®ã®è¨äºã§ãã Ziglangãã¨ã¦ãè¯ãè¨èªã§ãããã ä»ã®ã¨ããã¾ã èªç¥åº¦ãé«ããªãã®ã§ãã¢ããã³ãã«ã¬ã³ãã¼ãç«ã¦ã¦ã¿ããã§ãããæ¡ã®å®ã¨è¨ãã¾ããåå çã¯ã¾ã ã¾ã ããããã zigã®ç´¹ä» 2022å¹´12æç¾å¨ããã¼ã¸ã§ã³ã¯0.10.0ãã¾ã ã¾ã ç ´å£çãªä»æ§å¤æ´ãå ãã£ã¦ããç¶æ ã§ãã ãªããããªä½ãéä¸ã®è¨èªãæ¨ãã®ãã å ¬å¼ãµã¤ãã«ã¯ã以ä¸ã®ããã«ç¹å¾´ãæãã¦ãã¾ãã é ãããå¶å¾¡ããã¼ã¯ããã¾ããã é ãããã¡ã¢ãªå²ãå½ã¦ã¯ããã¾ããã ããªããã»ããµããã¯ããããã¾ããã ããªããã»ããµããã¯ããç¡ããã¨ãé·æã«ãªãã®ããã«ã¤ãã¦ã¯ãZigã«é¢ãã¦ã¯é·æã¨è¨ãã¾ãããã Zigã®é åã¯ãã·ã³ãã«ãªè¨èªä»æ§ã«ããã¨èãã¦ãã¾ãã ãã«ãã·ã¹ãã ã¾ããZigã«ã¯è¨èªèªä½ã«ãã«ãã·ã¹ãã ãåãã£ã¦ãã¾ããCè¨èª
Goodbye to the C++ Implementation of ZigHow we used WebAssembly to annihilate 80,000 lines of legacy codeAuthor: Andrew Kelley Itâs funny - I have shared this story a handful of times with friends of mine who are qualified, competent software engineers, and each time the response was confusion about why any of this would be necessary or even remotely helpful. WebAssembly?! After ten minutes of puz
åã¯ä»¥ä¸ã®3ã¤ã®ãã¼ã«ãè¤æ°ãã©ãããã©ã¼ã åãã«ã¯ãã¹ã³ã³ãã¤ã«ãã¦ãã¤ããªé å¸ãã¦ããã以ä¸ã®ããã«å ¨ã¦ç°ãªãè¨èªã§éçºãã¦ããã Go: sqldef Rust: xremap mruby: mitamae ã¯ãã¹ã³ã³ãã¤ã«ã«è¦å´ãã¦ãã話ãããã¨Zigã使ã£ã¦ã¿ããããããããªããã¨è¨ããããã¨ããããå¨ãã§ãZigãä½ã¨ãªãæµè¡ãå§ããæ°ãããã®ã§ããããã®ãã¼ã«ã«å®éèªåã§ä½¿ã£ã¦ã¿ã¦ã©ãã ã£ããã¨ããäºä¾ãç´¹ä»ãããã Zigã¨ã¯ Zigã¯ããããããã°ã©ãã³ã°è¨èªãªã®ã ããC/C++ã¨ã®interopããããããè¨èªãªããã§ãããããããã«å¿ è¦ã§LLVMãã¼ã¹ã®C/C++ãã¼ã«ãã§ã¤ã³ãå梱ããã¦ãã¦ãããããããDrop-In Replacement for GCC/Clangã¨ãã¦å£²ãã«ãã¦ããã åã¯Zigè¨èªãã®ãã®ã«ã¯ããã»ã©èå³ã¯ãªãã®ã ããã¯ãã¹ã³ã³ãã¤ã©ã¨ãã¦
æ¢åã®ããã¸ã§ã¯ãã§ä½¿ç¨ãã¦ããã³ã³ãã¤ã©ãç½®ãæããã ãã§ãZigã«ä»å±ãã¦ããCã³ã³ãã¤ã©ãå©ç¨ã§ããã ã¯ãã¹ãã«ããæ¨æºã§å¯è½ ä¸ã§ãè¿°ã¹ãéããZigã¯æ¨æºã§ã¯ãã¹ã³ã³ãã¤ã«ãå¯è½ã§ããã Zig libcã®Tagetä¸è¦§ ⯠zig targets | jq ".libc" [ "aarch64_be-linux-gnu", "aarch64_be-linux-musl", "aarch64_be-windows-gnu", "aarch64-linux-gnu", "aarch64-linux-musl", "aarch64-windows-gnu", "aarch64-macos-none", "aarch64-macos-none", "armeb-linux-gnueabi", "armeb-linux-gnueabihf", "armeb-linux-musleabi
ããªãéã«æ¸ãã¦ãã®ã§ãéã«èªãã§ãã ããã Bun ã Zig ã§éçºããã¦ãããã¨ãç¥ãããããã Zig ã調ã¹ã¦ã¿ã¦ãã¾ãã 調ã¹ã¦ããã¨èªåãæ±ãã¦ããè¨èªã£ã½ãã¨ããã®ãããã社å¤ã§ã¯å¦çã« QUIC ã TLS 1.3 ã Zig 㧠OSS ãéçºãã¦ããããä»äºãåºãããã社å ã§ã¯å®éã«æ¡ç¨ã«åãã¦èª¿æ»ãé²ãã¦ãã¾ãã ããããã®ç®çèªåã®ä¼ç¤¾ã§ã¯ Erlang VM ãå©ç¨ãã製åãã¡ã¤ã³ã«å©ç¨ãã¦ãã¾ãããã Erlang VM é ããã§ããå°ãªãã¨ãæå·å¦çã§ããã° Rust ã®æ¹ã 2 åã»ã©éãã§ããErlang VM èªä½ JIT ãæ¡ç¨ããããããããé å¼µã£ã¦ããã¦ããã®ã§ããåçãªé«éåã¨ããã®ã¯ä»ããã«ã¯é£ããã®ãç¾å®ã§ãã ãã㧠NIFs (Native Implemented Functions) ã使ã£ã¦é å¼µãã¨ããæ¦ç¥ãããã¾ããæ©ã話ã Er
åæ© Zigã®ã¿ã¼ã²ããã¨Rustã®ã¿ã¼ã²ããã被ã£ã¦ããã®ã§ãZigã使ã£ã¦ããããã¸ã§ã¯ãã»äººç©ã«ãããã®è³ªåãæããããã ããããã¾ã¨ãããã¨ã§Zigã®åªä½æ§ãåããããªã¨æã£ãã®ã§ã¾ã¨ãã¦ã¿ãã
Disclaimer: I work at Uber and am partially responsible for bringing zig cc to serious internal use. Opinions are mine, this blog post is not affiliated with Uber. I talked at the Zig Milan meetup about âOnboarding Zig at Uberâ. This post is a little about âhow Uber uses Zigâ, and more about âmy experience of bringing Zig to Uberâ, from both technical and social aspects. The video is here. The res
Develop, test, run, and bundle JavaScript & TypeScript projectsâall with Bun. Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager.
Tier 4 Support § Support for these targets is entirely experimental. If this target is provided by LLVM, LLVM may have the target as an experimental target, which means that you need to use Zig-provided binaries for the target to be available, or build LLVM from source with special configure flags. zig targets will display the target if it is available. This target may be considered deprecated by
ããã°ã«æ¸ãã¦ãããã®ãå¼ã£è¶ãã¦ãã¦ä¸é¨æç´ããã¾ãããå ã®è¨äºå ¬éæ¥ã¯ 2021-01-07 ã§ãã ãããããªèªä½è¨èªã®ã³ã³ãã¤ã©ãããããªè¨èªã§æ¸ãã¦ã¿ãã·ãªã¼ãº 11åç®ã¯ Zig ã§ãã ã©ã¤ãã²ã¼ã ã®ã³ã³ãã¤ã«ãéã£ãã®ã§ã¨ã·ãã¨ããç¨åº¦ã®éãªãã®ã§ãã Zigè¨èªï¼ziglangï¼ã触ãå§ãã¦1é±éãããã®äººããç解ã¯å¾åãã«ãã¦ã¨ã«ããåããã®ãä½ãããã¨ããæ¹åæ§ã§æ¸ãããã®ï¼ãã®ç¨åº¦ã®ããªã§ããããã«æ¸ããã³ã³ãã¤ã©ã§ãï¼ã Zig ã®ãã¼ã¸ã§ã³ã¯ 0.6.0ã ï¼è¿½è¨ 2022-07-17: 0.9.1 ã«ä¸ãã¾ããï¼ ã§ãããã® ãµã¤ãºã¯ãããªæã: $ wc -l {lexer,parser,codegen}.zig lib/{types,utils,json}.zig 189 lexer.zig 630 parser.zig 552 codegen.zig 2
ãã®noteã§ã®ãªã¿ã¯ã¯ãã³ã³ãã¥ã¼ã¿ã¼ãªã¿ã¯ãPCããã£ã¦ã¬ãã£ã¬ãã£ãã¦ãã人ãã¡ã¨ããåæã§èãã¦ãã ãããããããå±å¤ã§PCã触ã£ã¦ãã³ã¢ãªãªã¿ã¯ã¯ãå¦ãªç®çã§ããªãã¨ããã¯ãããªãã®ã§ãã¾ãé¢ä¿ãªãããããªãããªãã¨æããªããRedditè¦ã¦ãããããããããå¤åºç¦æ¢ä»¤ã§ãããã¨ããªããããããã«æ¸ãè¾¼ã¿ã¾ãã£ã¦ã人ãã¡ã ãããªä¸ã§ãç½ç±ãã¦ãã®ã¯ãããããã®ããã°ã©ã è¨èªããããã¯ã¹ã§ãããã®ãããã¯ã¹ã¯æãã常ã«ç½ç±ãããããã¯ã¹ã§ãããæéãã§ãã¦ãã¾ã£ãã®ã§æ°ããè¨èªã§ã³ã¼ãã£ã³ã°ãã¦ã¿ãã¨ããä½è£ï¼ï¼ï¼ãã§ãã¦ãæå¤ã¨ãããããã¨ãã話é¡ã§çãä¸ãã£ã¦ãã¾ãããã¡ã¸ã£ã¼ã§å®æ³°ãªè¨èªã¯ãã¦ãããããã¯ï¼ã¨æã£ã¦è¦ã¦ã¿ãã®ãZigã¨ããè¨èªã§ãã è¨èªçã«ã¯ããããç¹å¾´ãããã®ã§ãããCã®ã¢ããªã±ã¼ã·ã§ã³ãã¤ããªã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹(ABI)å©ç¨ã§ãããããã«ãã¿ã¼ã²ããã
æ°ã¶æåã«zigè¨èªã¨ãããã¤ã®åå¨ãç¥ã£ã¦ãããã¯ã¡ãã£ã¨é¢ç½ããã ãªã¨æã£ãã®ã§ãåå¼·ãã¦ããªã«ããã£ã¦ã¿ãããã¨æã£ã¦ãããããæ¥ãtomlã®ãã¼ãµã¯ã©ãã ãããã¨æãç«ã£ã¦ãã°ãããã£ã¦ãã¦ï¼Ghost of Tsushima ã§ä½æ¥ãä¸æããããã¤ã¤ï¼ãã¾ãã¾ãåºæ¥ä¸ãã£ã¦ããã¨æãã®ã§ãç¾å¨ã®ã¨ããã®ã½ã¼ã¹ã³ã¼ããgithubã«ç½®ãã¦ãããï¼https://github.com/jmuk/zig-tomlï¼ã ã¨ããããã§ãzigè¨èªãã¡ãã£ã¨æ¸ãã¦ã¿ãææ³ãæ®ãã¦ããããªããå©ç¨ããã®ã¯zig 0.6.0ãªã®ã§ãä»å¾ããããå¤ãã£ã¦ããå¯è½æ§ããããã¨ã¯å¼·èª¿ãã¦ããããã zigè¨èªã®ããã¨ããã»èå³æ·±ãã¨ãã åã®æ±ããzigã§ã¯èå³æ·±ãã¨ããã ã£ããzigã¯ããªãããããªã¨ããã§comptimeã¨ãããã¼ã«ãã¤ãã¦ã³ã³ãã¤ã«æã«ã³ã³ãã¤ã©ãäºåå¦çããããããªãã¨ãã§ãã
WebAssemblyã®ã¢ã¸ã¥ã¼ã«è¨è¿°ã®ããã®ããã°ã©ãã³ã°è¨èªã調ã¹ã¦ããã¨ãæ¯è¼çæ°ãããªã¼ãã³ã½ã¼ã¹ã®ããã°ã©ãã³ã°è¨èªzigãWebAssemblyã¢ã¸ã¥ã¼ã«ãæ¸ãã®ã«é©ãã¦ããæãã ã£ãã®ã§ãã½ã¼ã¹ã³ã¼ããæ¸ãã¦åãããªãã調ã¹ããã¨ã«ã¤ãã¦ãã³ã¼ãã«åºã¦ããé ã§ä¸¦ã¹ã¦ãã¾ãã ãã®æç« ä¸ã§ç¨ãã¦ããã½ã¼ã¹ã³ã¼ãã¯macOSãlinuxä¸ã§ãã«ãå¯è½ãªç¶æ ã§ä»¥ä¸ã®URLã«ããã¦ããã¾ã: https://gist.github.com/bellbind/3c52ea6e506656701c9b7ff00a8599fa Qiitaã¯ç¾æç¹ã§zigã³ã¼ãã®ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãã«æªå¯¾å¿ã§ããè¦èªæ§ããããªãã§ãããgithubã§ã¯zigã³ã¼ãã§ãã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãããã¾ãã 0. ããã°ã©ãã³ã°è¨èªzigã«ã¤ã㦠ãªã¼ãã³ã½ã¼ã¹ã®ããã°ã©ãã³ã°è¨èªzigã¯ã以ä¸ã®URLã§å ¬éãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}