proposal: runes: create new package analogous to bytes, for rune slices

Working with and manipulating non-English data requires us to use runes slices. If we want to do operations like comparing two rune slices, replacing, indexing etc, we have to cast to string, do those operations and cast back or write custom functions.

I would like to therefore propose creating a package runes mirroring the package bytes with functionality to work directly with rune slices rather than bytes to support international language use cases

Author: Fantashit

3 thoughts on “proposal: runes: create new package analogous to bytes, for rune slices

  1. Essentially if we want to work with mutable sets of unicode characters, then neither the bytes solution nor the strings solution seems efficient

    And the runes solution is misleading and leads to incorrect thinking. Text is hard, and rune slices solve almost none of what makes text hard.

Comments are closed.