ブックマーク / spin.atomicobject.com (3)

  • Visualizing Garbage Collection Algorithms

    Most developers take automatic garbage collection for granted. It’s just another amazing feature provided by our language run-times to make our jobs easier. But if you try to peek inside a modern garbage collector, it’s very difficult to see how they actually work. There are thousands of implementation details that will confuse you unless you already have a good understanding of what it’s trying t

    Visualizing Garbage Collection Algorithms
    tmatsuu
    tmatsuu 2014/09/04
    おー
  • Checking Your Derivers' License

    Recently, an OEM contacted me about a problem with heatshrink. They said that it worked well for their needs, except there was a snag with the license. Huh? I had released it under the 3-clause BSD license, not the GPL or something. Isn’t the BSD license as commercially permissive as they get? It turns out that there’s a clause in the BSD License that is problematic for anything distributed solely

    Checking Your Derivers' License
    tmatsuu
    tmatsuu 2013/06/01
    BSDライセンスは組込用途に向かない。なんで?と思ったが組込ではドキュメントなどを添付しない場合が多く著作権表示が難しい。なるほど。なのでOpenBSDでも採用されてるISCライセンスにした。ISC知らなかった
  • heatshrink: An Embedded Data Compression Library

    In embedded systems, space is always tight. Adding pennies of extra storage can be enough to kill a budget (when multiplied by hundreds of thousands or even millions of units), so available space has to be used effectively. For my current project, I need to fit a lot of data into 16 MB of flash: a backup of the firmware, 9 MB (!) of graphical assets (including bitmapped Chinese fonts with over 30,

    heatshrink: An Embedded Data Compression Library
    tmatsuu
    tmatsuu 2013/03/16
    組み込み向け圧縮ライブラリ。デコーダが最小で50バイト以下(!!!)、そこそこの圧縮率でも300バイトに収まる。LZSSベース。BSDライセンス。
  • 1