We need to generally speed up common parsing and serialization operations. A large part of Urbit's UX is sending data in and out of Urbit for display in the UI, and the functions inside Urbit that handle this are all significant performance bottlenecks.
slaw parses strings to atoms, and
scot serializes atoms to strings. They both are used heavily throughout the codebase.
Completing this bounty will have an immediate impact on the perceived speed of the system in frontends like Landscape.
> `(unit @p)`(slaw %p '~pillyt') [~ ~pillyt] > `(unit @p)`(slaw %p '~pillam') ~ > `(unit @ux)`(slaw %ux '0x12') [~ 0x12] > `(unit @ux)`(slaw %ux '0b10')
> `@t`(scot %p ~pillyt) '~pillyt' > (scot %ux 0x12) ~.0x12
- slaw https://github.com/urbit/urbit/blob/master/pkg/arvo/sys/hoon.hoon#L5913
- scot https://github.com/urbit/urbit/blob/master/pkg/arvo/sys/hoon.hoon#L5905
- Knowledge of C
- Experience memory profiling to prevent leaks
- Hoon knowledge nice but not necessary
- Tlon engineer explanation/assistance as needed
- Check-in with a Foundation director as needed
- Writing Jets Guide
- Unofficial Jets Tutorial
Milestone: Completion, 1 star
- jet is implemented and passes all tests
- Tlon engineer gives final approval on merging jet into core