Original blog post and slides.
Thanks, highly recommend the slides.
Seems that Astropy did receive some funding since this article has been published: https://numfocus.org/blog/astropy-receives-900k-grant-from-moore-foundation
Not loading for me.
Strange, works fine for me :-$
Shouldn’t the URL point to the Charts.css website instead of Github repo?
probably a good call. I’ll update it
I lied… it won’t let me update the url
I would have loved to see a Julia section.
The unoptimised version would look a lot like the python version, but probably perform better if you omitted compilation time.
You’d use a Dict, eachline, and split. The main performance issues would probably be unicode-aware lowercasing and hashing each word twice in the inner loop (once to check if it’s in the dict, once to set a new value. We might eventually get an in-place update interface for dicts to avoid this duplication, in the meantime you can use some internal funcs or use a third party package).
Unlike the python version, if you need Moar Performance you can efficiently operate at the byte level and use any of the tricks from the C or Rust implementations.
I suppose it will be dominated by startup time and IO. Although I am curious to see if the same issues would arise in Julia as well, splitting of words and slowdowns due to maps.