Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Entries from 2024-10-01 to 1 month

undefined referenceに対するldのオプション--warn-unresolved-symbolsと--noinhibit-execの効果

/mnt/c/tmp$ cat caller.c #include <stdio.h> #include "callee.h" void main(int argc, char *argv[]) { if (argc == 1) { callee(); } else { printf("caller\n"); } } /mnt/c/tmp$ cat callee.h extern int callee(); /mnt/c/tmp$ cat callee.c #include <stdio.h> int cal</stdio.h></stdio.h>…

大規模なバージョン管理システムのリポジトリサイズ

Git

FacebookのGit monorepoのサイズは一時期54GBになっていた。 Facebook's git repo is 54 GB. pic.twitter.com/zLNSzDlFYF— Feross (@feross) 2014年4月24日 その結果、性能的に耐えられなくなりMercurialを魔改造するに至った。 魔改造したMercurialにはMono…