ra’s avatarra’s Twitter Archive—№ 37,310

    1. 😮 a very early version of call site specialization is working! the len function here has no annotations, so we cant generate fast bytecode for it. instead, we use type information at the call sites in the let binding to synthesize versions of len that take string and byte[]!
      oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API
  1. …in reply to @ra
    if you leave off type annotations, the compiler will try and fill them for you and generate specialized methods of the function. if you include type annotations, they are used for dispatch when the semantics are different (e.g. keywords dont have .Length)
    oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API