• 2 Posts
  • 141 Comments
Joined 1 year ago
cake
Cake day: October 6th, 2023

help-circle





  • I was trying to write a custom Strategy for an objectMapper in Java. Foolishly decided to ask ChatGPT about it and got instructions which suggested an implementation that was the inverse of how Strategies actually work. Stuck for an afternoon.

    Then in the evening I read the docs and put it together in half an hour from scratch. Lesson learned about the stochastic parrots.








  • steeznson@lemmy.worldtoLinux@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    6
    ·
    21 days ago

    UB is only one class of error you can get in a big, complex program. Re-writing functionality opens the door to every other potential class of error too.

    I liked the approach the kernel devs were taking where rust modules were being integrated without the ‘core’ code being touched. I think people who want a complete re-write of everything (if they exist outside of my convenient straw man) are probably better off starting a fresh kernel project.