並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 34 件 / 34件

新着順 人気順

zigの検索結果1 - 34 件 / 34件

  • ミッチェル・ハシモト氏の個人開発によるターミナルエミュレータ「Ghostty 1.0」、12月に正式リリース予定。オープンソースとして公開へ

    ミッチェル・ハシモト氏の個人開発によるターミナルエミュレータ「Ghostty 1.0」、12月に正式リリース予定。オープンソースとして公開へ HashiCorpの創業者の一人であるミッチェル・ハシモト氏は、個人のプロジェクトとして開発してきたターミナルエミュレータ「Ghostty」のバージョン1.0を今年(2024年)12月にリリースし、合わせてオープンソースとして公開することを明らかにしました。 ハシモト氏は2023年12月にHashiCorpを退職。その後、個人プロジェクトとしてターミナルエミュレータの開発をしていることをX/Twitterなどで以前から発信していました。 これは2023年5月のポストです。「ここ数年、なんとなく自分用のターミナルエミュレーターを作っていた。過去18カ月、これを自分だけのターミナルとしてフルタイムで使っている」と書いていることから分かるとおり、Hashi

      ミッチェル・ハシモト氏の個人開発によるターミナルエミュレータ「Ghostty 1.0」、12月に正式リリース予定。オープンソースとして公開へ
    • 【海外記事紹介】Go言語から離れる開発者が増えている?その理由とは

      5月14日、海外の技術メディアAIMが「Why Developers are Quietly Quitting Golang」と題した記事を公開した。この記事では、Go開発者が同言語を静かに離れつつあるという現状について述べられている。以下に、その内容を簡単に紹介する。 Go に今逆風が吹いている 記事の冒頭では、フィンテック系スタートアップのエンジニア Yash Batra が半年で Go から Kotlin へ全面移行した体験を取り上げている。Batra は「 私たちはツールを作るためにツールを作っていた 」と述べ、Go の最小主義がプロダクト開発の速度を著しく低下させたと回顧する。 また、長年 Google で Go を率いてきた Ian Lance Taylor が 2025 年 4 月に退職したことも、コミュニティに衝撃を与えた。Taylor は「Go は“単なる一言語”の段階に

        【海外記事紹介】Go言語から離れる開発者が増えている?その理由とは
      • 自作インタープリターをJITコンパイルで高速化する

        かねてよりJITコンパイラに興味があったので、実装してみました。 今回はフィボナッチ数を計算する関数に絞って、これを高速化することを考えます。 リポジトリ 対象のコード 独自言語ですが、まあ説明は不要でしょう。 再帰関数になっているfib関数を高速化します。 fun fib(n) do if (n == 0) do return 1; end if (n == 1) do return 1; end return fib(n - 1) + fib(n - 2); end インタープリターを作る まずは普通にインタープリターを作ります。今回はZig言語を使ってみることにしました。 (Zig歴がまだ3日くらいの頃に書いているので、コードは拙いです) 中身はただの、LexerとParserとEvaluatorを組み合わせただけのものです。 そして書いたインタープリターのパフォーマンスを計測してみ

          自作インタープリターをJITコンパイルで高速化する
        • Writing Hypervisor in Zig - Writing Hypervisor in Zig

          Writing Hypervisor in Zig Ymir, the Type-1 Baremetal Hypervisor Writing Hypervisor in Zig は Zig 言語を使いフルスクラッチで Type-1 Hypervisor を実装しようというブログシリーズです。 OS よりも低いレベルで動作するベアメタル Hypervisor を実装するにあたり、ブートローダ・カーネル・VMM の各コンポーネントをイチから組み立てていきます。 本シリーズでは Ymir という名前の Hypervisor を実装します。 Ymir は Intel 64 (x86-64) CPU で動作し、Intel VT-x によるハードウェア仮想化支援機能を活用します。 Ymir は以下の特徴を持ちます: Type-1 Hypervisor: OS に一切依存しません Linux をブート

          • GitHub - lightpanda-io/browser: Lightpanda: the headless browser designed for AI and automation

            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 - lightpanda-io/browser: Lightpanda: the headless browser designed for AI and automation
            • GitHub - ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

              Ghostty is a terminal emulator that differentiates itself by being fast, feature-rich, and native. While there are many excellent terminal emulators available, they all force you to choose between speed, features, or native UIs. Ghostty provides all three. In all categories, I am not trying to claim that Ghostty is the best (i.e. the fastest, most feature-rich, or most native). But Ghostty is comp

                GitHub - ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
              • C++でもRustでもなく「Zig」が必要なのはなぜか

                関連キーワード プログラマー | プログラミング 機械語に近い「低水準言語」を扱う開発者の心をつかみそうな新しいプログラミング言語がある。その名を「Zig」という。2024年7月時点で完全版はまだ公開されていないが、開発が盛んで、コミュニティーの熱気もある。 なぜ今新しいプログラミング言語が必要なのか。より具体的に言えば、Zigには「C」「C++」「Rust」「D」などのプログラミング言語を上回る点はあるのか。本連載はZigの主要なメリット5つを取り上げる。 「Zig」が必要なのはなぜ? その5つのメリット 併せて読みたいお薦め記事 新たなプログラミング言語を学んでみよう CでもC++でもなくプログラミング言語「Go」を使いたくなる“あの良さ”とは? プログラミング言語「Carbon」は「C++」より何が優れているのか メリット1.シンプルかつ簡潔な構文を備える 複雑ではないことがZigの

                  C++でもRustでもなく「Zig」が必要なのはなぜか
                • rewrite.md

                  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

                    rewrite.md
                  • Rust vs. Zig in Reality: A (Somewhat) Friendly Debate

                    Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.

                      Rust vs. Zig in Reality: A (Somewhat) Friendly Debate 
                    • GitHub - pedropark99/zig-book: An open, technical and introductory book for the Zig programming language

                      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 - pedropark99/zig-book: An open, technical and introductory book for the Zig programming language
                      • Making a Chess Engine in Zig

                        I had the honor of speaking at Systems Distributed at the end of June. Since it was hosted by TigerBeetle who is one of the largest zig users, a lot of the zig community was there. After talking to some of them, Zig seemed more interesting for me to try out. Around the same time my youtube algorithm got me hooked on chess content. I'm not a good chess player by any means, but it started giving me

                        • strongly-typed-thoughts.net

                          Zig; what I think after months of using it What I like Arbitrary sized-integers and packed structs Generic types are just functions at the type level Error Union Types C interop is probably the best The build system is nice What I like less Error handling Shadowing is forbidden Compile-time duck typing No typeclasses / traits comptime is probably not as interesting as it looks No encapsulation Mem

                          • Introduction to Zig

                            Welcome Welcome! This is the initial page for the “Open Access” HTML version of the book “Introduction to Zig: a project-based book”, written by Pedro Duarte Faria. This is an open book that provides an introduction to the Zig programming language, which is a new general-purpose, and low-level language for building robust and optimal software. Support the project! If you like this project, and you

                            • GitHub - ityonemo/clr: Checker for Lifetimes and other Refinement types

                              Q: Why the hell did you write this in Elixir? A: I'm fastest at Elixir. It would have taken me more than 2 months to do this in any other language. This was a good decision, actually: I got a chance to see if it was possible to easily parallelize analysis and "lazily" call functions with "await"-style callbacks. Answer: yes. I wasn't tempted to try to build hooks to get the zig compiler itself to

                                GitHub - ityonemo/clr: Checker for Lifetimes and other Refinement types
                              • Home

                                A data serialization language for expressing clear API messages, config files, etc. .id = @uuid("..."), .time = 1710085168, .payload = Command { .do = @action("clear_chat"), .sender = "kristoff-it", .roles = ["admin", "mod"], .extra = { "agent": "Mozilla/5.0", "os": "Linux/x64", }, } Notation designed to help users grok data layoutsStructs vs mapsZiggy uses different notation for key-value pairs w

                                • Devlog ⚡ Zig Programming Language

                                  Devlog This page contains a curated list of recent changes to main branch Zig. Also available as an RSS feed. This page contains entries for the year 2025. Other years are available in the Devlog archive page. June 14, 2025 Parallel Self-Hosted Code Generation Author: Matthew Lugg Less than a week ago, we finally turned on the x86_64 backend by default for Debug builds on Linux and macOS. Today, w

                                  • GitHub - rajivharlalka/filedb: Disk Based Key-Value Store Inspired by Bitcask

                                    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 - rajivharlalka/filedb: Disk Based Key-Value Store Inspired by Bitcask
                                    • Basic MetaProgramming in Zig

                                      While I've written a lot about Zig, I've avoided talking about Zig's meta programming capabilities which, in Zig, generally falls under the "comptime" umbrella. The idea behind "comptime" is to allow Zig code to be run at compile time in order to generate code. It's often said that an advantage of Zig's comptime is that it's just Zig code, as opposed to a separate, often limited, language as seen

                                      • GitHub - jamii/zest

                                        Zest is a (very wip) programming language for building systems that are both malleable and legible. The goal is to: Support the interactivity and liveness of systems like emacs without giving up on civilized luxuries like static typing, early binding, jump-to-definition, load-order independence etc. Support the kinds of interactions I explored in research prototypes like eve and imp but from the w

                                          GitHub - jamii/zest
                                        • Creator of Ghostty talks Zig over Go

                                          Thanks to the sponsor for today's video - Graphite! Check out stacked PRs, code review tools and more: http://gt.dev/topshelf 0:00 - Intro 0:52 - CTO to Open Source 7:00 - Graphite Ad 8:10 - Future Of Ghostty 21:30 - How It Started 25:29 - Zig vs Rust 29:53 - Go’s Place In The Stack 34:28 - Managing Open Source 42:42 - Motivation 45:49 - AI 52:21 - Live Q&A Twitch https://twitch.tv/ThePrimeag

                                            Creator of Ghostty talks Zig over Go
                                          • Comptime: Scott Redig

                                            Programming has obvious abilities to increase productivity through automated manipulation of data. Metaprogramming allows code to be treated as data, turning programming’s power back onto itself. Programming close to the metal has perhaps the most to gain from metaprogramming as high level concepts need to be mapped precisely to low level operations. Yet outside of functional languages I’ve always

                                            • All Your Codebase

                                              A while ago I created https://github.com/allyourcodebase (AYC for short), a GitHub Organization that collects build.zig files for C/C++ projects. Those build scripts replace the project’s original build system(s), allowing you to just run zig build to get the project to build successfully. One example is the game VVVVVV, whose source code was made available some time ago by the creator. Contributo

                                                All Your Codebase
                                              • Jonot's Blog

                                                The Game Boy Advance is an interesting game console. It has a modern-style CPU (32-bit ARM, lots of registers), but uses an old-fashioned tile based renderer like how the NES did it in the 80s. Don’t get me wrong, since its one of Nintendo’s last tile-based systems, they took the idea as far as it can go with fancy features like affine transformations, transparency, and effects applied to sprites.

                                                • XITLOG - xit is coming

                                                  ← HOME - a blog about xit RSS ██╗ ██╗██╗████████╗██╗ ██████╗ ██████╗ ╚██╗██╔╝██║╚══██╔══╝██║ ██╔═══██╗██╔════╝ ╚███╔╝ ██║ ██║ ██║ ██║ ██║██║ ███╗ ██╔██╗ ██║ ██║ ██║ ██║ ██║██║ ██║ ██╔╝ ██╗██║ ██║ ███████╗╚██████╔╝╚██████╔╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═════╝ XIT IS COMING - March 4, 2025 I'm working on a new version control system called xit (pronounced like "zit"). To paraphrase JFK: I do thi

                                                  • One day with Zig, Raylib, and jj — Isaac Clayton

                                                    Merry Christmas! Back from the mission, first semester at MIT is in the books! Now I am at home, with family, on a break from school. A couple days ago, I was telling my younger brother how cool Zig (the programming language) was. He was like, “if Zig is so cool, why don’t you … like, use it?” Oof. So I installed Zig, pulled in some neat bindings for raylib, and spent the afternoon writing a littl

                                                    • Zig Reproduced Without Binaries - Motiejus Jakštys Public Record

                                                      I decided to bootstrap Zig without using binaries that are checked in the repository and answer if the resulting zig1.wasm in the latest Zig release (0.13.0) is the same the one bootstrapped without using those binaries. TLDR: yes, they are the same: $ sha256sum code/zig{,2}/stage1/zig1.wasm 127909fb8c9610ce3f296d8a48014546c0f85055115002fb3aba4d865dcdbb27 code/zig/stage1/zig1.wasm 127909fb8c9610ce

                                                      • Zig言語とpgzxによるPostgreSQL拡張開発の紹介

                                                        この記事はPostgreSQLアドベントカレンダーの15日目の記事です。 PostgreSQLと拡張言語 PostgreSQLには多くのよい特徴がありますが、その一つに拡張性の高さを挙げる人は多いでしょう。PostgreSQLが提供する拡張機能は、多くのDBMSで提供されているユーザー定義関数のみならず、ユーザー定義型、インデックス、バックグラウンドワーカー、外部データラッパなど多岐に渡ります。最近でもPostgreSQL 12でテーブルアクセスメソッドでのなど、コミュニティ内での議論によって必要性と価値が認められた場合には新たな拡張機能が追加されています。 PostgreSQLの本体とともに提供される拡張機能はcontribと呼ばれ、特に追加のインストールなどなしにCREATE EXTENSIONコマンドによって利用が可能です。contribモジュールを見るとそのバラエティに驚かされます

                                                          Zig言語とpgzxによるPostgreSQL拡張開発の紹介
                                                        • Writergate by andrewrk · Pull Request #24329 · ziglang/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

                                                            Writergate by andrewrk · Pull Request #24329 · ziglang/zig
                                                          • GitHub - radarroark/xit: a git alternative written in zig

                                                            You're looking at xit, a new version control system. It's pronounced like "zit", but feel free to say it like "shit" if you run into a bug. Here be dragons, as they say. This is new and unstable software. Maybe one day it will be a worthy successor to git, but for now, only use it if you're adventurous. Here are the main features: git compatible supports the git networking protocol for push/fetch/

                                                              GitHub - radarroark/xit: a git alternative written in zig
                                                            • Zig's dot star syntax (value.*)

                                                              Maybe I'm the only one, but it always takes my little brain a split second to understand what's happening whenever I see, or have to write, something like value.* = .{...}. If we take a step back, a variable is just a convenient name for an address on the stack. When this function executes: fn isOver9000(power: i64) bool { return power > 9000; } Say, with a power of 593, we could visualize its sta

                                                              • Using Zig from Common Lisp

                                                                2025-03-12 Update, as people on Twitter, Lobsters, and Reddit pointed out, I was missing a extern in the struct, see the last section! Last week I started playing with my own toy key-value store (see the previous post). At the end I got to a hashtable exposed over the network, using a protocol based on S-Expressions. For the next steps, I have two alternatives, I can work on the low level represen

                                                                • Reflecting on a year of Gamedev in Zig | Benjamin G. Thompson's Blog

                                                                  April 29, 2025 • 11 min read • Benjamin G. Thompson One year ago, I started programming a puzzle game from scratch in Zig. While it’s too early to announce the game (more on this later in the year), I want to share some of the insights I’ve gained about gamedev in Zig so far. I’m writing this because I’ve seen a lot of takes on Zig from folks who’ve spent a relatively short amount of time with the

                                                                  • Smolderingly fast b-trees

                                                                    (This is part of a series on the design of a language. See the list of posts here.) Many 'scripting' languages use a hashmap for their default associative data-structure (javascript objects, python dicts, etc). Hashtables have a lot of annoying properties: Vulnerable to hash flooding. If protected against hash flooding by random seeds, the iteration order becomes non-deterministic which is annoyin

                                                                    • exercises

                                                                      Ziglings Welcome to Ziglings! This project contains a series of tiny broken programs (and one nasty surprise). By fixing them, you'll learn how to read and write Zig code. Those broken programs need your help! (You'll also save the planet from evil aliens and help some friendly elephants stick together, which is very sweet of you.) This project was initiated by Dave Gauer and is directly inspired

                                                                        exercises
                                                                      1