This is one of my favourite activites with LLMs as well. After implementing some sort of idea for an algorithm, I try seeing what an LLM would come up with. I hint it as well and push it in the correct direction with…
> Zig is explicit i never got this point. whats stopping me from writing a function like this in zig? fn very_bad_func() !i32 { var GPA = std.heap.GeneralPurposeAllocator(.{}){}; var gpa = GPA.allocator(); var s = try…
can you elaborate on what you mean by "move the borrow around registers", an example maybe? what other things are you experienced that are struggling doing in rust?
This is one of my favourite activites with LLMs as well. After implementing some sort of idea for an algorithm, I try seeing what an LLM would come up with. I hint it as well and push it in the correct direction with…
> Zig is explicit i never got this point. whats stopping me from writing a function like this in zig? fn very_bad_func() !i32 { var GPA = std.heap.GeneralPurposeAllocator(.{}){}; var gpa = GPA.allocator(); var s = try…
can you elaborate on what you mean by "move the borrow around registers", an example maybe? what other things are you experienced that are struggling doing in rust?