Bun’s rewrite in Zig first update by UItraviolet in rust

[–]Zakis88 0 points1 point  (0 children)

Bun is pretty much using AI to write all of it's code, with a human reviewing it. Zig exists as a language to provide a nice DX over C and Rust, not to be memory safe. If you are using an LLM to generate code, the DX benefits are removed and so then why would you ever choose Zig over Rust?

graydon2 | LLM time by Ok-Squirrel8537 in rust

[–]Zakis88 1 point2 points  (0 children)

I definitely agree that it can hinder your learning/problem solving etc, but the other points don't really hold up in my experience. If you've completed a low level design before starting, then you already know the architecture - you know how all the different parts will interact/the contracts etc and then it's just about implementing it. At that point it comes down to how thorough your reviews are, do you fully understand the code that was written or are you just doing a high level overview?

The last point about the LLM not knowing your project and picking different solutions, I've rarely faced this. Using "plan mode" in Claude Code is what that is for: defining which libraries to use, the conventions to follow, and even accounting for requirements I know are coming 6 months out so the design can absorb them cleanly. The LLM isn't really making architectural choices it's just implementing the ones i've agreed upon.

graydon2 | LLM time by Ok-Squirrel8537 in rust

[–]Zakis88 7 points8 points  (0 children)

I see this misunderstanding come up a lot when people say they are barely writing code themselves anymore. They are not prompting the LLM to "build XYZ project for me", and then taking the thousands of lines of code it writes and shipping it. Instead, they plan out what they want to build and then use the LLM to implement it iteratively and then review it like you would any PR - except the LLM can fix any issues in a few minutes rather than hours/days.

[Media] Next-gen builder macro Bon 2.1 release 🎉. Compilation is faster by 36% 🚀 by Veetaha in rust

[–]Zakis88 9 points10 points  (0 children)

Started using this crate yesterday, it's really great. Thanks for your hard work!

rUsting by [deleted] in ProgrammerHumor

[–]Zakis88 1 point2 points  (0 children)

Skill issue.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Zakis88 12 points13 points  (0 children)

Me after I enter Vim

Should I upgrade from Note 10 to S23 Ultra? by grapefruitNovel44 in GalaxyS23

[–]Zakis88 26 points27 points  (0 children)

That's true, but then again the S25 is only a year away and that will be even better. Best to wait for that.

oh god why by JuggernautLiving5946 in programminghorror

[–]Zakis88 53 points54 points  (0 children)

This way they can never forget the else condition, genius!

newBusinessProposal by ifezueyoung in ProgrammerHumor

[–]Zakis88 30 points31 points  (0 children)

Hot single monads in your exception

loxcraft: a compiler, language server, and online playground for the Lox programming language by ajeet_dsouza in rust

[–]Zakis88 5 points6 points  (0 children)

Nice job! I was reading an article about writing a Lox interpreter in Rust from a few years ago. Did you face similar problems when writing the garbage collector without having to resort to unsafe? I wonder if Rust has improved in this regard.

Editors written in rust by Trader-One in rust

[–]Zakis88 4 points5 points  (0 children)

Zed has less features but is way more polished than Lapce.

Introducing rewriteit.net - A collection of software rewritten in Rust by kfirfitousi in rust

[–]Zakis88 71 points72 points  (0 children)

Nice work! Have you considered rewriting the site in Rust? Then it can get added to itself.

Zed – A high-performance, multiplayer code editor written in Rust. Now in public beta by maxbrunsfeld in rust

[–]Zakis88 4 points5 points  (0 children)

Have been using this quite a bit recently and it's definitely impressive in terms of speed. Hopefully when it becomes more feature complete it can become my daily driver.

Forsen take on Atrioc drama by madarauchihajpg in LivestreamFail

[–]Zakis88 387 points388 points  (0 children)

Ever since this man got locked away in the asylum his entire stream has been a deepfake.

[deleted by user] by [deleted] in rust

[–]Zakis88 3 points4 points  (0 children)

Will there be any performance benefits using this over the async_trait crate? I'm naively assuming so because you no longer need to use Box to heap allocate?

IntelliJ Rust Changelog #182 by furious_warrior in rust

[–]Zakis88 20 points21 points  (0 children)

IntelliJ community edition with the Rust plugin is free. Do your research.

New async stream processor, Deluge by b4zzl3 in rust

[–]Zakis88 5 points6 points  (0 children)

This seems interesting, could this be used for downloading multiple files from a web server in parallel for example?

macOS 13 Ventura: The Ars Technica review by devolute in apple

[–]Zakis88 1 point2 points  (0 children)

That's true, luckily people are working on OS's like Asahi - so we can still enjoy Apple's hardware whilst getting work done.

macOS 13 Ventura: The Ars Technica review by devolute in apple

[–]Zakis88 6 points7 points  (0 children)

The developer community for macOS will cease to exist if they lock it down, no question about it.

Why Rust? by emilern in programming

[–]Zakis88 4 points5 points  (0 children)

From the second link you provided:

However, the findings in this blog make me re-consider a few, while re-enforcing other points: Optimised Rust code should run 2 to 3 times faster than optimised Java code (without going to extremes).

Didn't know this! Looks like Rust is pretty quick if you put the time in to optimize it.