3 ms·
I would be careful to use this without validating and normalizing the unicode prior to passing it to this parser. Not saying that it's a bad design, but big fla
by rsj_hn 6y ago
I would be careful to use this without validating and normalizing the unicode prior to passing it to this parser. Not saying that it's a bad design, but big flashing security warnings should be used so that people are aware that higher order unicode can and usually is normalized prior to JSON parsing (so that, e.g. producers that use full width quotation marks can have their json parsed correctly rather than not have the double quotes recognized) and this consumer can only handle fully normalized and validated UTF8
- CorpOverreach 6y agoI'm pretty sure no one is running mission/security-critical applications on a 6502.
- 211BSD 6y agoIt won't and should not be used in mission-critical applications, but just for extra fun, one may still want it to be as correct as possible. Right now I'm writing a cryptography library in PDP-11 assembly while investigating tools for its formal verification. Cryptoline looks like a promising candidate.
- rsj_hn 6y agoI always assume the worst! There will be some auto engineer trying to backport some functionality and will be googling "JSON Assembly" and will port this code.
- uKVZe85V 6y agoNever underestimate the longevity of systems, since new systems tend to be built on top of old systems. Though I do not know any, I'm pretty sure in 2021 there *are* mission/security-critical applications running on 6502s in a number of places in the world.
- Tor3 6y agoThe 6502 is one of the few processors validated for embedded medical devices. From https://www.westerndesigncenter.com/ https://www.westerndesigncenter.com/ ".. the 65xx microprocessors protect millions of lives annually within embedded heart defibrillation and pacing systems. " Can't get more mission-critical than that I suppose..
- ddingus 6y agoThis makes me happy. One day some of us could end up with a 6502 keeping us alive, and perhaps writing 6502 code. Sometimes the world makes me grin.