News for hackers. Stuff that matters.
Re:Making WebAssembly a first-class language on the Web by wffurr on Thursday March 12, 2026 @09:31AM (#47350288)
Can you use WTF-16 for strings in your language?
Re:Making WebAssembly a first-class language on the Web by spankalee on Thursday March 12, 2026 @04:07PM (#47356337)
I have a compiler flag to switch from wtf-8 and wtf-16 so if you compiler for your host you don't have to reencode strings. That means that strings in my language hide their byte representation, don't allow indexed access, and only have code point iterators.