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

2 points
*

I actually introduced rust to my workplace this week, with a workshop reimplementing part of one of our service.

It seems people liked it. Now I want to look into how we could create Conan packages (to be consumed by c++ code) out of crates. I guess I’ll use the CXX crate to generate C++ headers, but other than that I don’t know.

permalink
report
reply
5 points

Just started reading the Rust book. Made it through Chapter 3 and finished the suggested Fahrenheit/Celsius converter. Been trying to figure out the next suggestion, finding the nth number in the Fibonacci sequence.

permalink
report
reply
3 points

Still working on Church A/V stuff. The software I made allows us to control an RS-232 PTZ camera via an Xbox Controller, or our slideshow program (ProPresenter). This week we switched from an Xbox Controller to a flight stick, and I added the ability to change the max speed the camera will move at in software.

permalink
report
reply
8 points

I am currently writing an LSP for the shaderscript used in Godot. Its close to glsl but some differences make me not wanting to just copy paste a glsl one. I am currently trying to wrap my head around chumsky. I am coming from a lot of c code and my head doesnt work like chumsky does, so it has its ups and downs, but lexer for glsl and lexer, parser and like half oft the evaluator for the preprocessor are done and working😊

permalink
report
reply
3 points
*

How difficult is writing an LSP? I would like to be able to use a reasonably complete implementation for Kotlin, but Kotlin is not a simple language.

permalink
report
parent
reply
3 points

Well you’re writing a Compiler with extra features to tell you where compilation failed but without actually executing the code. If the language you are trying to implement has defined a BNF for its language its quite doable and depending on the features you want to implement almost easy. There are BNF interpreters and chumsky e.g. is close to reading like a BNF. But if you’re building a language where you gotta find out the rules yourself it can take a while and finding all the edgecases can be a problem… But the project is big enough that most probably don’t finish theirs

permalink
report
parent
reply
2 points

Besides a day job, which is retooling an email backup, and working on websites. I’m taking a long lunch to work on my personal project, again.

permalink
report
reply

Rust

!rust@programming.dev

Create post

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

Wormhole

!performance@programming.dev

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

Community stats

  • 425

    Monthly active users

  • 313

    Posts

  • 1.4K

    Comments