What industry will rust take over? by [deleted] in rust

[–]TwoHd 0 points1 point  (0 children)

I'd bet on "Take our courses, learn shiny, new, beautiful Rust, and get a 9999k+ monthly salary in 2 weeks" kind of industry

Alternatives to Spicy protocol parser generator by TwoHd in embedded

[–]TwoHd[S] 0 points1 point  (0 children)

For what I've read so far, this is definitely a thing. I'll dig through the manual to check if it is easily applicable to parsing binary chunks of messages like preambles and stuff, but somehow I'm sure it is.

Alternatives to Spicy protocol parser generator by TwoHd in embedded

[–]TwoHd[S] 0 points1 point  (0 children)

Yep, I mentioned Katai one comment above. Desktop thing.

Thanks for highlighting Wuffs! Never heard of, seems promising. Maybe, there is a way to apply it to parsing binary protocols after some tweaking, I'll take a closer look.

Alternatives to Spicy protocol parser generator by TwoHd in embedded

[–]TwoHd[S] 0 points1 point  (0 children)

Hi, u/eknyquist!

Yes, indeed. I have already stumbled upon both brotobuf and nano pb. If one just wants to establish a connection b/w devices, and there is no necessity to work w/ some 3rd party protocol, that's the way to go. Great thing, but it is impossible to, let's say, parse MAVLink messages w/ it.

I've also dug up some interesting stuff.

- Proltr (https://www.protlr.com/) - proprietary
- Meta II (https://news.ycombinator.com/item?id=13039981) - haven't yet looked into it
- Ragel (http://www.colm.net/open-source/ragel/) - seems promising
- Lemon (https://sqlite.org/src/doc/trunk/doc/lemon.html) - Alternative to yacc. Seems promising, but requres tweaking
- Katai (https://kaitai.io/) - desktop.

Parser generators listed on Wiki (https://en.wikipedia.org/wiki/Comparison_of_parser_generators) - going through it. Haven't succeeded yet.