タグ

Haskellに関するmkusakaのブックマーク (7)

  • 伊藤直也が「技術の原点」として読んだ3冊

    ニフティで「ココログ」を作り、はてなでCTOとして「はてなブックマーク」などを生み出す過程で、大規模データの構築、検索などの技術を体系化し、それを技術ブログで公開するなどして大規模ウェブサービスの基礎を共有化し、コミュニティを盛り上げた。現在はホテル予約サイト「一休.com」のCTO。 CTOは技術力がないといけない 読書は、その人が持っているコンテキストと合わさってその人の読書体験になっているので、「これを読むべき」というようなお薦めをすることはないです。今回は、単純に過去に僕が読んで良かったを紹介したいと思います。「これを他の人も読むべき」と思っているものではなく、「今思えばこのを読んでおいて良かったな」というです。もっとビジネス書みたいなものを期待されているのかもしれませんが、あまりそういうものはなく、技術的な書籍を紹介していきます。 おそらく、CTOの肩書きを持っている人で「

    伊藤直也が「技術の原点」として読んだ3冊
    mkusaka
    mkusaka 2026/03/19
    一休CTO・伊藤直也が技術の原点として『アルゴリズム イントロダクション』など3冊を紹介し語る
  • A sufficiently detailed spec is code

    This post is essentially this comic strip expanded into a full-length post: For a long time I didn't need a post like the one I'm about to write. If someone brought up the idea of generating code from specifications I'd share the above image with them and that would usually do the trick. However, agentic coding advocates claim to have found a way to defy gravity and generate code purely from speci

    A sufficiently detailed spec is code
    mkusaka
    mkusaka 2026/03/18
    仕様からコード生成する「agentic coding」を批判。OpenAI SymphonyのSPECは擬似コードで1/6規模でも不安定、YAML同様に適合しないと指摘。
  • Using traversals to batch database queries

    mkusaka
    mkusaka 2026/01/01
    Traversalsを活用し、Postgresでのテキスト・TermInfo取得をバッチ化し、クエリ数を3に削減、100〜300倍の高速化を実現
  • Agentultra - Using Haskell in Production

    Posted on September 8, 2025 I get asked on my stream and at talks I give, “What is it like to work in Haskell in production, full-time?” From November of 2020 until August 2025, I was employed at Mercury where I wrote code in Haskell. During that time I also started up a live video stream where I’ve built several libraries, games, and applications in Haskell for an audience. This post is a summary

    mkusaka
    mkusaka 2025/12/29
    2020年11月〜2025年8月の4.5年間、20人規模のチームでHaskellを実装し、GHCのコンパイル時間やツール整備の課題と、型安全やSTMによる高い保守性・並行性を実体験で報告
  • プログラマーのための圏論

    序文 しばらく前から、プログラマーを対象とした圏論に関するを書こうと考えていた。計算機科学者ではなくプログラマー、科学者ではなくエンジニア向けだということに注目してほしい。正気の沙汰ではないし、当に怖気づいてしまう。科学と工学の間に大きなギャップがあるのは否定できないと思う。自分自身がその分断の両側で仕事をしてきたからだ。それでも、物事を説明したいという強い衝動をいつも感じていた。簡潔な説明の達人だったリチャード・ファインマン1を心から尊敬している。自分がファインマンではないことは分かっているが、最善を尽くしたい。まずは、この序文――読者に圏論を学ぶ気を起こさせることを想定したもの――を公開することから始めようと思う。それによって議論を開始しフィードバックを募れることを願っている2。 ここからの数段落をかけて、このがあなたのために書かれたものであり、数学のうちでも特に抽象的な分野を学

    mkusaka
    mkusaka 2025/11/04
    「プログラマーのための圏論」全章をHaskell/C++例で解説し、モナド・関手・自然変換やWriter/Reader、双対も学べます。
  • The Baby Paradox in Haskell

    Everybody Loves My Baby is a Jazz Standard from 1924 with the famous lyric: Everybody loves my baby, but my baby don’t love nobody but me. Which is often formalized as: \[ \begin{align} \text{Axiom}_1 . & \forall x. \text{Loves}(x, \text{Baby}) \\ \text{Axiom}_2 . \forall x. & \text{Loves}(\text{Baby}, x) \implies x = me \end{align} \] Let’s prove in Haskell (in one line) that these two statements

    The Baby Paradox in Haskell
  • Andre's Blog

    Part 1 - Introduction In this post, you’ll learn how to build a lightweight Hindley–Milner type checker in Haskell. No advanced theory is required. We’ll apply it to a tiny, LISP-inspired language so you can focus on how inference works. Hindley-Milner inference may seem intimidating, but I believe that it is much more approachable than it first appears. Each concept is quite understandable. It is

    mkusaka
    mkusaka 2025/06/22
    HaskellでHM型推論を実装し、s-expression DSLのunification・generalise/instantiateとREPL(:t,:ts)で型エラー提示まで解説。
  • 1