Post

Dreams of Code
Dreams of Code@dreamsofcode_io·
I hate to say it, but with all of the Rust rewrites we’re seeing (and going to keep seeing) Now is the perfect time to learn Rust. (especially lower level Rust)
English
26
9
278
17.5K
Eric S. Raymond
Eric S. Raymond@esrtweet·
Alternatively, you can do what I'm doing. I haven't bothered to learn how to write Rust by hand, because that's never going to happen. I've taught myself enough about how to read the language so that when I prompt an AI to generate it for me I can review the result. That's quite enough.
English
8
1
160
4.8K
Mikko Rantalainen
Mikko Rantalainen@mtrantalainen·
@esrtweet @dreamsofcode_io Even though I learned Rust the old way, I agree. As long as you are fluent enough reader and understand what the AI generated code does, and request atomic commits from AI, it's all good.
English
1
0
0
140
Dreams of Code
Dreams of Code@dreamsofcode_io·
@mtrantalainen @esrtweet I much prefer to write out the initial design and layout, then add unimplemented!() macros. Once I have the general structure designed that’s when I’ll get an LLM to fill in the implementation.
English
1
0
1
60
Mikko Rantalainen
Mikko Rantalainen@mtrantalainen·
@dreamsofcode_io @esrtweet Do you try to one-shot the whole implementation at that point? Or do you write accurate prompt for each unimplemented part asking for specific algorithm etc and specifically ask for atomic commit, too?
English
1
0
0
70
Dreams of Code
Dreams of Code@dreamsofcode_io·
@mtrantalainen @esrtweet In the past I was more one shot, now I’m much more involved as I kept running into correctness issues. TDD also helps with getting the correctness sound. Especially red green refactor
English
0
0
1
54
Paylaş