はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    新内閣発足

『Andrew Gallant's Blog - Andrew Gallant's Blog』

  • 人気
  • 新着
  • すべて
  • Regex engine internals as a library - Andrew Gallant's Blog

    5 users

    blog.burntsushi.net

    Over the last several years, I’ve rewritten Rust’s regex crate to enable better internal composition, and to make it easier to add optimizations while maintaining correctness. In the course of this rewrite I created a new crate, regex-automata, which exposes much of the regex crate internals as their own APIs for others to use. To my knowledge, this is the first regex library to expose its interna

    • テクノロジー
    • 2023/07/05 23:54
    • Rust
    • A byte string library for Rust - Andrew Gallant's Blog

      4 users

      blog.burntsushi.net

      bstr is a byte string library for Rust and its 1.0 version has just been released! It provides string oriented operations on arbitrary sequences of bytes, but is most useful when those bytes are UTF-8. In other words, it provides a string type that is UTF-8 by convention, where as Rust’s built-in string types are guaranteed to be UTF-8. This blog will briefly describe the API, do a deep dive on th

      • テクノロジー
      • 2022/09/08 23:51
      • Rust
      • techfeed
      • Using unwrap() in Rust is Okay - Andrew Gallant's Blog

        28 users

        blog.burntsushi.net

        One day before Rust 1.0 was released, I published a blog post covering the fundamentals of error handling. A particularly important but small section buried in the middle of the article is named “unwrapping isn’t evil”. That section briefly described that, broadly speaking, using unwrap() is okay if it’s in test/example code or when panicking indicates a bug. I generally still hold that belief tod

        • テクノロジー
        • 2022/08/09 04:39
        • Rust
        • あとで読む
        • techfeed
        • プログラミング
        • My FOSS Story - Andrew Gallant's Blog

          6 users

          blog.burntsushi.net

          I’d like to break from my normal tradition of focusing almost strictly on technical content and share a bit of my own personal relationship with Free and Open Source Software (FOSS). While everyone is different, my hope is that sharing my perspective will help build understanding, empathy and trust. This is not meant to be a direct response to the behavior of any other maintainer. Nor should it be

          • テクノロジー
          • 2020/01/20 09:33
          • communication
          • Rust and CSV parsing - Andrew Gallant's Blog

            3 users

            blog.burntsushi.net

            With csv 1.0 just released, the time is ripe for a tutorial on how to read and write CSV data in Rust. This tutorial is targeted toward beginning Rust programmers, and is therefore full of examples and spends some time on basic concepts. Experienced Rust programmers may find parts of this useful, but would probably be happier with a quick skim. For an introduction to Rust, please see the official

            • テクノロジー
            • 2017/05/24 00:08
            • programming
            • ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} - Andrew Gallant's Blog

              36 users

              blog.burntsushi.net

              ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} In this article I will introduce a new command line search tool, ripgrep, that combines the usability of The Silver Searcher (an ack clone) with the raw performance of GNU grep. ripgrep is fast, cross platform (with binaries available for Linux, Mac and Windows) and written in Rust. ripgrep is available on Github. We will attempt to do the

              • テクノロジー
              • 2016/09/24 00:01
              • grep
              • rust
              • search
              • tool
              • ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} - Andrew Gallant's Blog

                87 users

                blog.burntsushi.net

                ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} In this article I will introduce a new command line search tool, ripgrep, that combines the usability of The Silver Searcher (an ack clone) with the raw performance of GNU grep. ripgrep is fast, cross platform (with binaries available for Linux, Mac and Windows) and written in Rust. ripgrep is available on Github. We will attempt to do the

                • テクノロジー
                • 2016/09/23 23:56
                • grep
                • Rust
                • あとで読む
                • performance
                • search
                • tool
                • Index 1,600,000,000 Keys with Automata and Rust - Andrew Gallant's Blog

                  4 users

                  blog.burntsushi.net

                  It turns out that finite state machines are useful for things other than expressing computation. Finite state machines can also be used to compactly represent ordered sets or maps of strings that can be searched very quickly. In this article, I will teach you about finite state machines as a data structure for representing ordered sets and maps. This includes introducing an implementation written

                  • テクノロジー
                  • 2015/11/16 22:57
                  • Index 1,600,000,000 Keys with Automata and Rust - Andrew Gallant's Blog

                    27 users

                    blog.burntsushi.net

                    It turns out that finite state machines are useful for things other than expressing computation. Finite state machines can also be used to compactly represent ordered sets or maps of strings that can be searched very quickly. In this article, I will teach you about finite state machines as a data structure for representing ordered sets and maps. This includes introducing an implementation written

                    • テクノロジー
                    • 2015/11/12 19:54
                    • Rust
                    • algorithm
                    • あとで読む
                    • techfeed
                    • Error Handling in Rust - Andrew Gallant's Blog

                      18 users

                      blog.burntsushi.net

                      Like most programming languages, Rust encourages the programmer to handle errors in a particular way. Generally speaking, error handling is divided into two broad categories: exceptions and return values. Rust opts for return values. In this article, I intend to provide a comprehensive treatment of how to deal with errors in Rust. More than that, I will attempt to introduce error handling one piec

                      • テクノロジー
                      • 2015/05/15 00:22
                      • Rust
                      • programming
                      • Writing type parametric functions in Go - Andrew Gallant's Blog

                        3 users

                        blog.burntsushi.net

                        Go’s only method of compile time safe polymorphism is structural subtyping, and this article will do nothing to change that. Instead, I’m going to present a package ty with facilities to write type parametric functions in Go that maintain run time type safety, while also being convenient for the caller to use. By run time type safety, I mean that the types of a function’s arguments are consistent

                        • テクノロジー
                        • 2014/05/04 20:41
                        • Writing type parametric functions in Go - Andrew Gallant's Blog

                          5 users

                          blog.burntsushi.net

                          Go’s only method of compile time safe polymorphism is structural subtyping, and this article will do nothing to change that. Instead, I’m going to present a package ty with facilities to write type parametric functions in Go that maintain run time type safety, while also being convenient for the caller to use. By run time type safety, I mean that the types of a function’s arguments are consistent

                          • テクノロジー
                          • 2014/05/04 20:41
                          • GoLang
                          • Article
                          • Syntax extensions and regular expressions for Rust - Andrew Gallant's Blog

                            3 users

                            blog.burntsushi.net

                            WARNING: 2018-04-12: The code snippets for this post are no longer available. This is just as well anyway, since they all depended on an unstable internal compiler interface, which hasn’t existed for years. A few weeks ago, I set out to add regular expressions to the Rust distribution with an implementation and feature set heavily inspired by Russ Cox’s RE2. It was just recently added to the Rust

                            • テクノロジー
                            • 2014/04/27 23:05
                            • Rust
                            • programming

                            このページはまだ
                            ブックマークされていません

                            このページを最初にブックマークしてみませんか?

                            『Andrew Gallant's Blog - Andrew Gallant's Blog』の新着エントリーを見る

                            キーボードショートカット一覧

                            j次のブックマーク

                            k前のブックマーク

                            lあとで読む

                            eコメント一覧を開く

                            oページを開く

                            はてなブックマーク

                            • 総合
                            • 一般
                            • 世の中
                            • 政治と経済
                            • 暮らし
                            • 学び
                            • テクノロジー
                            • エンタメ
                            • アニメとゲーム
                            • おもしろ
                            • アプリ・拡張機能
                            • 開発ブログ
                            • ヘルプ
                            • お問い合わせ
                            • ガイドライン
                            • 利用規約
                            • プライバシーポリシー
                            • 利用者情報の外部送信について
                            • ガイドライン
                            • 利用規約
                            • プライバシーポリシー
                            • 利用者情報の外部送信について

                            公式Twitter

                            • 公式アカウント
                            • ホットエントリー

                            はてなのサービス

                            • はてなブログ
                            • はてなブログPro
                            • 人力検索はてな
                            • はてなブログ タグ
                            • はてなニュース
                            • ソレドコ
                            • App Storeからダウンロード
                            • Google Playで手に入れよう
                            Copyright © 2005-2025 Hatena. All Rights Reserved.
                            設定を変更しましたx