Hacker News new | ask | show | jobs
by sprucely 2334 days ago
Right. Now that I think about it, I've seen some crates that perform interesting codegen tasks at compile time; things like ffi bindings that automatically stay up-to-date. The only part I found difficult about working with generated code was that RLS was not up to the task of parsing the generated code, so no intellisense. But that was several months ago, so perhaps it's already been addressed.

[edit] And I'm interested in further exploring macros to create a DSL for doing some magic in the spirit of, but not quite replicating, dotnet's Linq Expressions.

1 comments

I've been using CLion with the Rust plugin recently after having used VS Code for some time.

I'm not sure what my opinion is yet, but "go to definition" seems to work more often than not which is nice.