News for hackers. Stuff that matters.
Re:Fish (shell) porting to Rust from C++ by kaba0 on Tuesday January 31, 2023 @02:27AM (#34592330)
C++ is still the de facto language to write truly performance-oriented programs. While I do find Rust refreshing in that it actually brings something novel to the PL space, let’s not put the horse before the cart. While I’m optimistic about Rust’s future, it is still a tiny niche language compared to bigger ones, especially C++ in their targeted niche.
Re:Fish (shell) porting to Rust from C++ by habitue on Tuesday January 31, 2023 @02:28AM (#34592335)
Ok, I will wait.
Re:Fish (shell) porting to Rust from C++ by aldanor on Tuesday January 31, 2023 @07:35AM (#34594302)
You can't write "truly performance-oriented programs" in Rust" but in C++ you can? Mind expanding on that?
Re:Fish (shell) porting to Rust from C++ by kaba0 on Tuesday January 31, 2023 @07:46AM (#34594391)
Cpp is the de facto language for that, it’s not that it is impossible to do so in rust. But there are certain patterns not as well expressible in rust.
Re:Fish (shell) porting to Rust from C++ by aldanor on Tuesday January 31, 2023 @07:49AM (#34594417)
That's exactly what I'm wondering about - what kind of patterns?
Re:Fish (shell) porting to Rust from C++ by kaba0 on Tuesday January 31, 2023 @04:00PM (#34602016)
Lockless data structures/algorithms for example.
Re:Fish (shell) porting to Rust from C++ by aldanor on Tuesday January 31, 2023 @04:03PM (#34602060)