HNHacker News
TopNewBestAskShowJobs

jacwah

17 karma · joined December 14, 2018

submissionscomments
jacwah··on Vstr: C string library designed to work optimally with vector I/O
That's not what O(1) means. If your strings are short, complexity doesn't matter either way.
jacwah··on The Language Agnostic, All-Purpose, Incredible, Makefile
> It would be wonderful for say 10 c files compiling one way, and the 11th having a different option.

You can do this by combining implicit and explicit rules:

  target: $(OBJ)
  
  # default rule
  %.o: %.c
      cc -o $@ $^
  
  # special case
  special.o: special.c
      specialc -o $@ $^
jacwah··on Why Are Printed Circuit Boards Usually Green? (2017)
This reminds me of "The Calf-Path": https://www.poets.org/poetsorg/poem/calf-path