[HN Gopher] Learning Rust with ChatGPT, Copilot and Advent of Code
___________________________________________________________________
Learning Rust with ChatGPT, Copilot and Advent of Code
Author : sean_lynch
Score : 16 points
Date : 2022-12-05 21:47 UTC (1 hours ago)
(HTM) web link (simonwillison.net)
(TXT) w3m dump (simonwillison.net)
| bsaul wrote:
| The way it explains code, the error, and then gives the solution
| to this particular error, i really don't understand how someone
| could pretend we're not witnessing at least a first hint of true
| intelligence.
| drekipus wrote:
| because you don't understand intelligence
| simonw wrote:
| I still think it's the world's most impressive party trick.
|
| It turns out if you build a model that can predict what word
| comes next after a sequence of previous words, then train it on
| TBs (PBs?) of data, you get something that really does appear
| to be "intelligent". And which is absurdly useful, to boot!
|
| Until you trip it up, and the illusion shatters.
| PartiallyTyped wrote:
| It's more than that though, it also involves ranking the
| results to account for noise in the sampling process.
| kace91 wrote:
| We haven't figured out what conscience is, so it's going to be
| fun to deal with near perfect imitations of human behaviour,
| and the societal consequences...
| worldsayshi wrote:
| In a way of seeing it, ChatGPT can be a great teacher because it
| can both provide subject knowledge and force you to be very
| critical about content you consume.
| PartiallyTyped wrote:
| Today I built the SSO flow for an application at work, and I
| learned a lot significantly faster than I could by just
| searching because it was guided. The generated code had issues,
| but it felt a lot like rustlings [1]. At many points I felt
| that my solution and approach was akin to doing gradient
| descent, with ChatGPT giving me the direction and me doing
| backtracking to avoid overshooting (glossing what it missed).
|
| [1] https://github.com/rust-lang/rustlings
| sean_lynch wrote:
| Have been thinking about exactly this workflow and of course
| Simon is way out ahead. I recommend taking a look at Simon's
| daily notes logs too, really fascinating back and forths.
| simonw wrote:
| Here are my issue notes so far:
| https://github.com/simonw/advent-of-code-2022-in-rust/issues...
___________________________________________________________________
(page generated 2022-12-05 23:00 UTC)