Dan Lyke on Nostr: C/C++ coders who've learned to love the Rust language: what was your path there? I'm ...
C/C++ coders who've learned to love the Rust language: what was your path there? I'm finding that a lot of the ways I'd like to express, for instance, a parser aren't super convenient to do so, and I'm trying to figure out how to think in the sort of data structures that Rust encourages, while working in idioms that are going to be relatively performant (like I *think* that Char iterators to track the parsed location, rather than using indices, is a good idea unless I want t odo my own UTF-8).
Published at
2024-12-27 01:10:02Event JSON
{
"id": "d81a6731df7f412f3dc1bd4965bfd28487e44c3d700c3c2c7920c3a66020a69f",
"pubkey": "3ad806433f1d09d2643dd8bf4162890270449539839aab7b9da215e1d5681bac",
"created_at": 1735261802,
"kind": 1,
"tags": [
[
"proxy",
"https://researchbuzz.masto.host/users/danlyke/statuses/113722117497388608",
"activitypub"
]
],
"content": "C/C++ coders who've learned to love the Rust language: what was your path there? I'm finding that a lot of the ways I'd like to express, for instance, a parser aren't super convenient to do so, and I'm trying to figure out how to think in the sort of data structures that Rust encourages, while working in idioms that are going to be relatively performant (like I *think* that Char iterators to track the parsed location, rather than using indices, is a good idea unless I want t odo my own UTF-8).",
"sig": "7bcfd6653f097df2e908b24d8a85a805297d02066253506bf417257de52e7540825ede1ac82f81bbc003e94384d8eafc82661cf2455838b66092e8fbbf3f027c"
}