In today's episode of limits: I have to rip out a bunch of code to calculate MD5s on files. Any MD5 library using Bytes will block the main thread. I'd send the File or Bytes out a port, but they're not port-compatible. Now reimplementing all of File picking outside Elm.

Promises not being cancel-able is now the next hurdle. A happy path to calculate the MD5 in a Web Worker was a success, but I need a better API. I'm either gonna hack together some Fluture JS code, or use this an excuse to introduce . Not sure yet...

Sign in to participate in the conversation

Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.