並び順

ブックマーク数

期間指定

  • から
  • まで

81 - 120 件 / 228件

新着順 人気順

Zigの検索結果81 - 120 件 / 228件

  • Using Zig to Call C Code: Strings

    Zig is a new, open-source programming language designed to replace C. I’m still a Zig beginner, so I’m trying to learn the language by using Zig to rewrite parts of existing C applications. One of the first challenges I encountered with Zig is understanding strings. I couldn’t find detailed documentation about how Zig strings work when calling C code, so I’m sharing my findings in case they’re hel

    • bun.report is Bun's new crash reporter | Bun Blog

      At the time of writing, Bun has over 2,600 open GitHub issues. We love having users and feedback, but some issues are really hard for us to reproduce and debug. Apps and SaaS products get to use wonderful crash reporting services like Sentry, but for CLI tooling like Bun, uploading core dumps has privacy, performance, and executable size tradeoffs that are harder to justify. That's why in Bun v1.1

      • 日本市場に1億ドル投資 ― クアルトリクス CEO「体験管理の素地が整った」 (1/2)

        クアルトリクス(Qualtrics)は、2024年7月24日、都内で年次イベントの日本版である「クアルトリクスカンファレンス」を開催した。来日した本社CEOであるジグ・セラフィン(Zig Serafin)氏は、日本のユーザー企業、パートナーに対して、「今後5年で日本市場に1億ドルを投資する」と日本市場へのコミットを表明した。 日本市場に5年で1億ドルを投資 ― 「土台は整った」とCEO クアルトリクスは、体験を管理するXM(eXperience Management)ソリューションにて、顧客と従業員向けの体験管理をクラウドで提供している。 セラフィン氏によると、Fortuneが選ぶもっとも賞賛される企業50社のうち、43社がクアルトリクスを利用。日本のユーザー数も500社を上回り、その中にはLIXIL、ヤマハ発動機、マツダなども含まれる。 LIXILは従業員向けに活用し、「わずか5ヶ月で、

          日本市場に1億ドル投資 ― クアルトリクス CEO「体験管理の素地が整った」 (1/2)
        • J-POPに出てくる「辞書」はどんな感じ? 辞書を作る側の歌詞もあるの? 調べてみました! - 5日と20日は歌詞と遊ぼう。

          J-POPではときどき辞書についての歌詞が登場します。 わたしがすぐ思いつくのはプッチモニ『ちょこっとLOVE』とか! 24年前の曲です。 歌詞はこういう感じ。サビの目立つところに「辞書」があるのは珍しいかも。 恋という字を 辞書で引いたぞ あなたの名前そこに 足しておいたぞ www.uta-net.com この歌詞では、辞書はすでにあるものであって、主人公は辞書を使う側です。 ところでこないだ辞書好きの人たちとしゃべってたんですが、そのときに 「辞書を編む側の目線で書かれた歌詞ってどれぐらいあるんですかね〜」 って言われたんです。 辞書を作る側の目線ってマイナーすぎん? とは思ったものの、ものごとには得てして二面性があります。 辞書を編む(=作る)側の目線の曲はいっぱいあるのかもしれないです。 しかも強火辞書オタクは強いため断れません。 というわけで、手持ちのデータから調べてみました!!

          • 開発環境の Node.js を Bun に置き換えてみる | 豆蔵デベロッパーサイト

            Bun は Node.js や Deno と競合する JavaScript ランタイムです。 Bun — A fast all-in-one JavaScript runtime 特に速度を売りにしており、公式サイトには、React SSR / WebSocket 通信 / SQLite クエリ実行で Node.js / Deno を大きく上回るスループットを示すグラフが掲げられています。サーバーサイドの JavaScript のほとんどを実行し、パフォーマンスの向上、複雑さの軽減、開発者の生産性を上げることを目標として開発されており、以下のような特徴があります。 起動も実行速度も高速。Safari の JavaScript エンジンである JavaScriptCore を拡張 HTTP サーバーの起動ややファイル作成などのタスクを実行するための高度に最適化されたミニマムな API セット

            • 英Kerrang!誌 「2023年の年間ベスト・アルバム TOP50」発表 - amass

              50. Grove Street – “The Path To Righteousness“ 49. Pierce The Veil – “The Jaws Of Life“ 48. PVRIS – “Evergreen“ 47. Waterparks – “Intellectual Property“ 46. BABYMETAL – “The Other One“ 45. Corey Taylor – “CMF2“ 44. Reverend Kristin Michael Hayter – “Saved!“ 43. Meet Me @ The Altar – “Past // Present // Future“ 42. Within Temptation – “Bleed Out“ 41. HEALTH – “RAT WARS“ 40. Queens Of The Stone Age

                英Kerrang!誌 「2023年の年間ベスト・アルバム TOP50」発表 - amass
              • GitHub - yamafaktory/hyperzig: HyperZig - A Hypergraph Implementation in Zig

                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

                  GitHub - yamafaktory/hyperzig: HyperZig - A Hypergraph Implementation in Zig
                • Zig's New CLI Progress Bar Explained - Andrew Kelley

                  Zig's New CLI Progress Bar Explained Sometimes, programming projects are too easy and boring. Sometimes, they're too hard, never ending or producing subpar results. This past week I had the pleasure of completing a project that felt like maximum difficulty - only possible because I am at the top of my game, using a programming language designed for making perfect software. This problem threw every

                  • Writing OS in 1000 lines をD言語でやった - kubo39's blog

                    Writing an OS in 1000 Linesという自作OSを学ぶための教材があり、これをD言語(LDCコンパイラ)で行った記録です。 先行事例 他言語実装という枠では、RustやZigですでにやられている方がいました。 Rust Totsugekitai/kanios レポジトリ: https://github.com/Totsugekitai/kanios ブログ記事: 「Writing an OS in 1000 Lines」をRISC-V 64bit向けにRustで書いた Zig bokuweb/zig-os-in-1000-lines レポジトリ: https://github.com/bokuweb/zig-os-in-1000-lines ブログ記事: ZigでWriting an OS in 1,000 Linesをやる 成果物 レポジトリはココです。オリジナル同様

                      Writing OS in 1000 lines をD言語でやった - kubo39's blog
                    • Redesigning OLTP for a New Order of Magnitude

                      Transcript Greef: The world is becoming more transactional, from servers to serverless, and per second billing. You used to buy a server every three years or rent dedicated by the month, then an instance by the hour, and now every second there's a serverless transaction. In the same way from coal to clean energy, our energy sources are changing to be more transactional. You have smart meters aroun

                        Redesigning OLTP for a New Order of Magnitude
                      • ZigでWeb Assemblyのインタプリタを書いてみた | 株式会社ヌーラボ(Nulab inc.)

                        プログラミング言語Zigを使ってWebAssembly (Wasm) のインタプリタを書いてみました。SIMD命令以外のテストは通っているので、Core Specification version 1.0の範囲はサポートできているはずです。 作ったインタプリタの紹介 作ったインタプリタはGitHubで公開済みなのでクローンして試すことができます。クローン後、Zigを導入済みであれば zig runで実行できます。 試しに2つの整数の足し算関数addを含む次のようなWasmバイナリを実行させてみましょう。まず、wasm-objdumpでバイナリの中身を確認してみます。2つの整数を取り1つの整数を返すaddという関数があり、それが単に足し算をしているだけであるのがわかります。 ❯ wasm-objdump -dx add.wasm add.wasm: file format wasm 0x1

                          ZigでWeb Assemblyのインタプリタを書いてみた | 株式会社ヌーラボ(Nulab inc.)
                        • Rust 101

                          I’ve recently had the chance to try Rust for a project and it has been a surprising pleasant experience. Rust is a modern language and I felt quire familiar with it in a few days. It has a simple and effective design and thanks to that, it gets frequently mentioned as a successor to old low level languages C like. Rust is fast and, in a lot of benchmarks, the compiled code performance is comparabl

                            Rust 101
                          • 運用が楽な個人サービスを作ってみる

                            年末年始の休みを利用してチャットサービスを作った。特に理由は無い。強いて言えば今自分の中でやりたい技術の組み合わせというのがある程度固まったので何かアプリケーションを組んでみたいと思っていて題材としてちょうど良かったということがある。 チャットについては以下から入れるので試してみて欲しい。認証にはGithubアカウントが必要である。 https://chat.0pt.jp 技術スタックについて 以下はアプリケーションの技術スタックの解説である。 とにかくやりたいのは個人サービスを低コストで建ててメンテナンスフリーで運用したいということで技術選択をした。 今後いくつか個人サービスを作りたいという気持ちがあり、そのためのお試しとしてまず一つ作ってみたということである。 ソースコードは以下に公開している。 https://github.com/minoritea/chat 言語 まず言語について

                              運用が楽な個人サービスを作ってみる
                            • 凍結されたアカウントによるポストです。 https://twitter.com/Voss_Zig/status/1722377576445002015

                              • 【海外記事紹介】なぜ私がZigではなく(いまだに)Rustを使っているのか

                                6月15日、Pekka Enberg氏が「Why I am not yet ready to switch to Zig from Rust」と題した記事を公開した。この記事では、ZigからRustに移行しない理由について詳しく紹介されている。 以下に、その内容を簡潔にまとめて紹介する。 C言語への愛着とその問題点 Enberg氏は、C言語のプログラミングに対する愛着を述べつつ、C言語が安全でないことや低レベルな言語であることに言及している。多くのコードを手作業で書かなければならない点や、デバッグに多くの時間を費やす必要がある点が問題とされている。 Rustのメモリ安全性と複雑性 Rustが登場した際、Enberg氏はそのメモリ安全性に魅力を感じたが、ツールの変化やborrow checker(借用チェッカー)の理解に苦労し、一度は諦めた。しかし、2021年にRustをプロフェッショナルに

                                  【海外記事紹介】なぜ私がZigではなく(いまだに)Rustを使っているのか
                                • GitHub - judofyr/spice: Fine-grained parallelism with sub-nanosecond overhead in Zig

                                  Spice uses heartbeat scheduling to accomplish extremely efficient parallelism in Zig: Sub-nanosecond overhead: Turning your function into a parallelism-enabled function adds less than a nanosecond of overhead. Contention-free: Threads will never compete (i.e. spin) over the same work. Adding more threads to the system will not make your program any slower, but the extra threads might be completely

                                    GitHub - judofyr/spice: Fine-grained parallelism with sub-nanosecond overhead in Zig
                                  • 【初学者】Bunについて調べたら根本的に何もわかってなかった話 - Qiita

                                    Q1:Bunってなんやねん A1:なんかめっちゃ速い肉まん。 これだとエンジニアとして失格やと思うから頑張って調べてみた。 以下調査結果。たぶん初学者向け。 Bunは、JavaScriptとTypeScriptのための新しいランタイム環境。 Node.jsの代替品と言われることが多い。 ランタイムだけではなく、バンドル、トランスパイラ、パッケージマネージャーなどを含むオールインワン・ツールキット。 エンジンはJavaScriptCore。(Node.jsはV8) 言語はZig.(Node.jsはC、C++、JavaScript) まぁ慌てなさんな。 Q2:ランタイムってなんやねん A2:プログラムを実行するときに必要な物、あるいはその実行時のこと。 イメージするなら、OSみたいな感じ。iPhoneで天気アプリをタップしたら、iOSが天気アプリを起動するためのプログラムを実行してくれる。だか

                                      【初学者】Bunについて調べたら根本的に何もわかってなかった話 - Qiita
                                    • Seeker4L -紙飛行機 feat. TOKYO世界

                                      "Seeker4L -紙飛行機(Feat.TOKYO世界)" Listen now!!!: Lyrics:Seeker4L,TOKYO世界 Music:Omamurin Mix & Mastering:Kanie Kakeru Director / Film / Edit : HIROMU 1st Camera Assistant : Yuta Nakamura Producer : Shosei Nonaka Production : ZIGZAG Follow Seeker4L on Instagram:https://www.instagram.com/seeker_sam.squ?igsh=MzRlODBiNWFlZA== Follow TOKYO世界 on Instagram :https://www.instagram.com/tokyo_sekai?igsh

                                        Seeker4L -紙飛行機 feat. TOKYO世界
                                      • Why I am not yet ready to switch to Zig from Rust

                                        Jun 19, 2024 Why I am not yet ready to switch to Zig from Rust I am not going to lie: I love programming in C. I know it’s a little bit irrational, but programming in C just feels right. Perhaps that’s because I did spend a lot of time programming with C as I contributed to the Linux kernel. Those were good times because I had the opportunity to learn from some of the best C programmers in the wor

                                          Why I am not yet ready to switch to Zig from Rust
                                        • Building the DirectX shader compiler better than Microsoft?

                                          Building the DirectX shader compiler better than Microsoft? This is a story nightmare about the messy state of Microsoft’s DirectX shader compiler, and trying to wrangle it into a nicer experience for game developers. In some respects, we now build the DXC compiler better than how Microsoft does. Setting the stageFor Mach engine we’ve been building an experimental graphics API called sysgpu using

                                            Building the DirectX shader compiler better than Microsoft?
                                          • Benchmarking, Profiling, and Optimizing JavaScript libraries

                                            Introduction I wish to bring you with me on a journey to learn about optimizing a library for localization, I would like to share my learnings with you on benchmarking, profiling, and optimizing. At Swissquote Bank, we use client-composed micro-frontends, and our platforms are usually available in at least 8 languages. To support this requirement, we had to build a translation/localization library

                                            • 2024 Financial Report and Fundraiser ⚡ Zig Programming Language

                                              2024 Financial Report and FundraiserZig Software Foundation is a 501(c)(3) non-profit organization which I am proud to say makes extremely efficient use of monetary resources. Unlike many of our peers, our primary expense is direct payments to contributors for their enhancements to the Zig project. Don’t take my word for it - let’s look at some numbers. 2023 Expenditures

                                              • GitHub - Slackadays/Chata: :guitar::magic_wand: DSP made easy. The Chata programming language! :long_drum:

                                                There's already a similar thing called SOUL, or SOUnd Language. SOUL isn't free and open source. The "secret sauce" is still opaque and closed source. SOUL is just for audio. Chata, on the other hand, is for all kinds of DSP! SOUL has tons of junk boilerplate. I couldn't read the example programs provided there. SOUL is selling the implementation, not the end result. This limits SOUL's audience a

                                                  GitHub - Slackadays/Chata: :guitar::magic_wand: DSP made easy. The Chata programming language! :long_drum:
                                                • R言語で簡単な自作言語のコンパイラを書いた - Qiita

                                                  $ wc -l mrcl_*.R lib/utils.R 355 mrcl_codegen.R 89 mrcl_lexer.R 321 mrcl_parser.R 120 lib/utils.R 885 合計 $ echo ' func add(a, b) { return a + b; } func main() { call add(1, 2); } ' | Rscript mrcl_lexer.R | Rscript mrcl_parser.R | Rscript mrcl_codegen.R # ↓ アセンブリが出力される call main exit label add push bp mov bp sp mov reg_a [bp:2] push reg_a mov reg_a [bp:3] push reg_a pop reg_b pop reg_a add reg_a re

                                                    R言語で簡単な自作言語のコンパイラを書いた - Qiita
                                                  • 制限厳しいWebAssemblyで、WASIでのHello Worldってどうやって実現してるの??【備忘録】 - Qiita

                                                    制限厳しいWebAssemblyで、WASIでのHello Worldってどうやって実現してるの??【備忘録】WebAssemblywatwasmWASI はじめに 結論は至って単純です。「WASIで定義された標準出力ができる関数(API)をWebAssembly内でimportして使っている」ということです。 もちろんドキュメントを見れば分かることですが……折角なのでコードを辿っていきませんか。 ※WebAssemblyの命令や構文の説明をした後、最終的にはChatGPTの力を借りて締めています。 ※素人学生の備忘録です。温かい目でご覧ください。 WebAssembly WebAssemblyを手打ちしたことのある皆さんならご存知だと思います。 WebAssembly単体でできること少なすぎではと。標準出力もできないので、WebAssembly単体でHello Worldすらできません。

                                                      制限厳しいWebAssemblyで、WASIでのHello Worldってどうやって実現してるの??【備忘録】 - Qiita
                                                    • Web server ‘hello world’ benchmark : Go vs Node.js vs Nim vs Bun – Daniel Lemire's blog

                                                      The Web is a convenient interface to your software. Many times, if you have an existing application, you may want to allow Web access to it using HTTP. Or you may want to build a small specialized Web application. In such instances, you do not want to use an actual Web server (e.g., Apache or IIS). There are many popular frameworks for writing little web applications. Go and JavaScript (Node.js) a

                                                        Web server ‘hello world’ benchmark : Go vs Node.js vs Nim vs Bun – Daniel Lemire's blog
                                                      • 知らなくても困らない!Rust製js関連ツール2023

                                                        ネットを徘徊する中で見つけたRust製のフロントエンド関連ツールを簡単に紹介します。 2023年中に公開する予定だった雑学です。書くのに飽きたので放流します。若干内容が古いかもしれないです。 CSS servo/rust-cssparser Rust製のCSSパーサー。主にRustで書かれたブラウザエンジンであるservoで利用されています。 lightningcss パーサーだけでなくminifierやtransformerも兼ねている。parcel配下のプロジェクト。 vercel VPoEであるLee Robinson氏が発表していた通りNext.jsはswc_cssに変わってlightningcssへの移行を行なっています。 また、上記では触れられていませんがswc pluginのcss周りも全てlightningcssになるかもしれません。 Next.js内部で使われていたのはs

                                                          知らなくても困らない!Rust製js関連ツール2023
                                                        • Bun v1.1.17リリース ー macOSでの高速化や様々なバグ修正

                                                          このリリースでは、以下の4つの改善が行われた。 Bun REPLのクラッシュ修正 Bun v1.1.16でZigのバージョンを0.12.0から0.13.0にアップグレードした。この変更により、実行ファイルのデータセグメントに不変文字列が配置されるバグが修正された。このバグはBunが意図せず依存していたものであり、bun replのエイリアスがbunx bun-replである際に不変文字列を変更しようとしてクラッシュが発生していた。このリリースではこのクラッシュを修正し、再発を防ぐための回帰テストも追加された。 macOSで小さなディレクトリにおけるfs.readdirSyncの5%高速化 fs.readdirSyncメソッドがmacOSの小さなディレクトリで5%高速化された。macOSのgetdirentries64 APIを呼び出す際に、XNUカーネルがバッファの末尾にフラグを追加してデ

                                                            Bun v1.1.17リリース ー macOSでの高速化や様々なバグ修正
                                                          • Speeding up rustc by being lazy | David Lattimore

                                                            I’ve been busy working on the Wild linker (see previous posts), but wanted to divert for a moment to look at some other compilation speed things that I’ve been thinking about. This post discusses various thoughts about moving Rust codegen, monomorphisation and inlining later in compilation and some of the ways this might reduce both from-scratch and incremental build times. Dead code Dead code is

                                                            • 0.13.0 Release Notes ⚡ The Zig Programming Language

                                                              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

                                                              • Vignettes on language evolution: discovering an old syntax feature history

                                                                One Ruby thing I never noticed before. While working on Ruby Evolution-themed articles (and looking for a shape for the future book), I am starting to look deeper and deeper into the history of the language—and into other languages, too, trying to understand when some solutions became common in the industry, or, vice versa, when something has fallen out of fashion. With Ruby, I spend a couple of h

                                                                  Vignettes on language evolution: discovering an old syntax feature history
                                                                • Tokamak: A web framework for Zig – Kamil Tomšík

                                                                  I’ve been recently extracting some parts of Ava into a separate open-source projects, and one of them is Tokamak, a web framework for Zig. So first of all, why Zig? Zig is a very interesting language, it’s a low-level language but with a very powerful metaprogramming support. Hm… ok, I’m too far ahead, so maybe let’s start from the beginning… AllocatorsAt first, I thought Zig is not a good fit for

                                                                  • Headphone & Amp Impedance

                                                                    INTRO: The output Impedance of headphone sources is one of the most common reasons the same headphones can sound different depending on what they’re plugged into. This important parameter is rarely specified by manufactures but can make a huge difference in sound quality and headphone compatibility. HEADPHONE IMPEDANCE MOVED: This article used to be about both output impedance and headphone impeda

                                                                      Headphone & Amp Impedance
                                                                    • What is the best pointer tagging method?

                                                                      In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at

                                                                      • Elixir and Phoenix can do it all!

                                                                        Elixir and Phoenix can do it all! Author Name Jason Stiebs @peregrine @peregrine Image by Annie Ruygt We’re Fly.io. We run apps for our users on hardware we host around the world. Fly.io happens to be a great place to run Phoenix applications. Check out how to get started! As an Elixir/Phoenix developer going on 10 years it is very easy to take for granted everything that Elixir and Phoenix can do

                                                                          Elixir and Phoenix can do it all!
                                                                        • Living Japanese Slang Dictionary

                                                                          Scripting Japan Homepage of Wes Robertson – Japanese Sociolinguist @ Macquarie University This dictionary is a summary of all the terms I’ve reviewed in my slang reviews over the years. Clicking a word will link to a blog post that discusses the word and its etymology/origin, history, and use in more detail. The dictionary is not intended to contain all slang in the history of Japanese, but mainly

                                                                            Living Japanese Slang Dictionary
                                                                          • Runtime code generation and execution in Go: Part 1

                                                                            Runtime code generation and execution in Go: Part 1Part 1 of the introduction to the weird world of runtime code generation and execution in Go May 19, 2024 Disclaimer: I won’t expand on why/when you want to do this kind of hack, and you should not do this unless you know exactly what you are doing. Everything I talk about here is completely unsafe and might not be accurate for the future Go versi

                                                                            • Making a 3D Modeler, in C, in a Week | Lobsters

                                                                              Woah I’m actually surprised one can make a 3D Modeller in around 2400 lines of C code, in my mind a modeller had to be such a complex project. Things like raytracing and marching cubes to render a 3D scene still feel somewhat like magic to me, I guess I’ll have to delve into writing one one day, even triangle-based opengl renderers being much more complex end up being more intuitive in my mind. SD

                                                                                Making a 3D Modeler, in C, in a Week | Lobsters
                                                                              • We Have to Start Over: From Atom to Zed - Zed Blog

                                                                                After the last conversation with Nathan, Max, and Antonio—Zed's three co-founders—I still had quite a few questions to ask: why did you make the technological choices you did? How important is Rust to Zed? Did you consciously set out to own the technological stack the way you do now? How do you decide what to polish and build-once-and-for-all-time and what to ship faster? Lucky for me, they sat do

                                                                                  We Have to Start Over: From Atom to Zed - Zed Blog
                                                                                • Thoughts on Zig

                                                                                  Zig is a programming language designed by Andrew Kelley. The official website lists three principles of the language: No hidden control flow. No hidden memory allocations. No preprocessor, no macros. For someone like me coming mostly from Rust, Go and TypeScript, this is different—and different is interesting, so I wanted to know what it feels like to write code in it. Here are my thoughts after 3

                                                                                    Thoughts on Zig