Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Steve
@stevedylandev.eth
Currently my favorite way to learn Use an AI (opencode.ai here) to give me just instructions, no editing permissions I write all the code by hand I start small and expand until I build what I want to achieve It feels so good
10 replies
2 recasts
41 reactions
mic0
@mic0
Beware Llms + rust have a tendency to hallucinate and set u back for a couple days on a design decisions that it will propose (personal experience). Llm also tends to super overcomplicate when presented with complexities of rust. Id highly recommend u read the rust official docs/book before trusting the llm, otherwise u will get burned by it. Rust compiler is much much more trustworthy.
1 reply
0 recast
1 reaction
Steve
@stevedylandev.eth
Good to know! I have briefly gone through the book before but need to revisit
1 reply
0 recast
1 reaction
mic0
@mic0
If for example it starts to push lifetime specifiers into function / fn inputs dont listen to it. 99% the time u dont need that and it will greatly complicate your code. For most use cases u dont need to pass references to functions, cloning values (aka String vs &str) is much more simple especially on a fresh POC project. You can always go back and make it more performant. But the good shit is - its still gonna be 100x performance compared to JS even without special optimizations.
0 reply
0 recast
1 reaction