unison/unison-src
Dan Doel a1ef6a76d1 Use full length hashes for jit names
This should avoid any possibility of picking conflicting names for
distinct functions. I'm not aware of any actual examples of this, but it
could in principle happen.

I decided to use the full length hashes because picking just-long-enough
names starts to become very cumbersome when doing dynamic loading. You
need to keep track of all your past choices, not just the choices for
the module you're loading, because the one you're loading could refer to
things in previously loaded modules. It would be possible to use shorter
names in a compile-time context, since you have all the names up front.
But you'd still have to remember _those_ for runtime loading, and it
seemed not worth it.

This doesn't include any custom error formatting, because I'd like to
see error messages in the wild before doing anything, but if they're too
verbose, it's possible to override the Racket error reporting to produce
shorter names there, rather than generating them up front.
2024-05-06 14:59:06 -04:00
..
builtin-tests code review ftw 2024-04-05 11:21:29 -06:00
demo fixes tests and transcripts 2021-08-24 11:33:27 -07:00
errors fixes tests and transcripts 2021-08-24 11:33:27 -07:00
parser-tests Ormolu-ify the codebase and update development.markdown docs 2023-02-13 13:03:08 -06:00
tests more path, name, and name segment work (doesn't build yet) 2024-01-24 11:01:22 -05:00
transcripts Merge pull request #4886 from unisonweb/builtins.merge-in 2024-04-29 01:20:09 -04:00
transcripts-manual Use full length hashes for jit names 2024-05-06 14:59:06 -04:00
transcripts-round-trip Prefer do in pretty-printer 2024-03-16 09:10:48 -05:00
transcripts-using-base Merge branch 'trunk' into transcripts-cleanup 2024-04-28 22:34:49 -04:00
base58.u fix stray case .. of instances and opportunities for cases in unison-src 2020-02-21 17:05:18 -08:00
Base.u fixes tests and transcripts 2021-08-24 11:33:27 -07:00
basics.u fix stray case .. of instances and opportunities for cases in unison-src 2020-02-21 17:05:18 -08:00
example-errors.u rename Int64 to just Int 2018-09-24 13:36:13 -04:00
remote-api.u fix stray handle .. in instances in unison-src 2020-02-21 17:05:18 -08:00
remote.u fix stray handle .. in instances in unison-src 2020-02-21 17:05:18 -08:00