this post was submitted on 26 May 2024
1 points (100.0% liked)

Rust

5989 readers
5 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 5 months ago (1 children)

Rust implementation of the Meta-II meta compiler. I used bstr, which was interesting.

[–] [email protected] 0 points 5 months ago (1 children)

Never used bstr. What was interesting about it?

[–] [email protected] 0 points 5 months ago

Well, Rust has a lot of string flavors, and I like utf-8 being the norm, but there are a bunch of cases where enforcing utf-8 is a nuisance, so getting string features without the aggro enforcement is nice.

There's probably some fruity way to make this a security issue, but I care about ascii printables and not caring about anything else. This is a nice trade off: the technical parts are en-US utf-8, the rest is very liberal.