News for hackers. Stuff that matters.
Re:Tools we used to create a hit HTML5 game on Steam by seangrogg on Tuesday November 19, 2019 @03:15PM (#21577771)
Although it's number-only said numbers can be used to represent anything, really. If you can convert your data to number-friendly formats and back there's really no issue.

If you need strings you can use the native TextEncoder/TextDecoder and shuffle things around as UTF-8. If you need JSON-like objects you can look at encoding formats such as Protocol Buffers, Thrift, and the like. This introduces non-zero latency shuffling data between formats but that's largely what normally occurs over IO boundaries anyways.

There are no comments on this comment yet.