It would be great to have things like high-performance unicode handling with consistent semantics across multiple languages!
Show HN: High-speed UTF-8 validation in Rust
11–20 of 48 posts
Re: Show HN: High-speed UTF-8 validation in Rust
#12Does Rust compile code that can be used/called from other languages with an FFI? That to me is always one of the persistent advantages of C, I don't have to fully understand how compile machine code works on a technical level, but there are lots of different languages that let me use C libraries in their own language runtimes. It would be great to have things like high-performance unicode handling with consistent sem…
Re: Show HN: High-speed UTF-8 validation in Rust
#13Does Rust compile code that can be used/called from other languages with an FFI? That to me is always one of the persistent advantages of C, I don't have to fully understand how compile machine code works on a technical level, but there are lots of different languages that let me use C libraries in their own language runtimes. It would be great to have things like high-performance unicode handling with consistent sem…
Re: Show HN: High-speed UTF-8 validation in Rust
#14Re: Show HN: High-speed UTF-8 validation in Rust
#15Does Rust compile code that can be used/called from other languages with an FFI? That to me is always one of the persistent advantages of C, I don't have to fully understand how compile machine code works on a technical level, but there are lots of different languages that let me use C libraries in their own language runtimes. It would be great to have things like high-performance unicode handling with consistent sem…
- https://doc.rust-lang.org/reference/linkage.html
- https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#call...
Re: Show HN: High-speed UTF-8 validation in Rust
#16One flavour I would expect to be valuable that isn't present here is this: Process the input (as quickly as possible) and never fail, but replace each invalid sequence of bytes with U+FFFD (bytes 0xEF 0xBF 0xBD).
Re: Show HN: High-speed UTF-8 validation in Rust
#17Re: Show HN: High-speed UTF-8 validation in Rust
#18Re: Show HN: High-speed UTF-8 validation in Rust
#19How does this compare, speed-wise, to the UTF-8 validation done in simdjson?
Re: Show HN: High-speed UTF-8 validation in Rust
#20One flavour I would expect to be valuable that isn't present here is this: Process the input (as quickly as possible) and never fail, but replace each invalid sequence of bytes with U+FFFD (bytes 0xEF 0xBF 0xBD).