Re:Using Zig to Provide Stack Traces on Kernel Panic for a B...
by eggy on Wednesday December 05, 2018 @06:58AM
(#18607491)
I find Zig much more user friendly than Rust. I have been able to do much more with Zig than Rust in one-tenth the time. I am not writing any code that requires the guarantees Rust may provide, and Zig seems to make it easier to write safer C-type code to boot.
Re:Using Zig to Provide Stack Traces on Kernel Panic for a B...
by vmchale on Wednesday December 05, 2018 @09:41AM
(#18608547)
Zig doesn't force you to free all your memory (which occasionally good), so there are whole classes of errors that Rust/ATS avoid that are possible in Zig.
Re:Using Zig to Provide Stack Traces on Kernel Panic for a B...
by oconnor0 on Wednesday December 05, 2018 @01:00AM
(#18606000)
I don't think I'd call Rust user friendly.
Re:Using Zig to Provide Stack Traces on Kernel Panic for a B...
by vmchale on Wednesday December 05, 2018 @01:02AM
(#18606008)
If the problem is the type system/borrow checker, it's simply a question of experience.
Re:Using Zig to Provide Stack Traces on Kernel Panic for a B...
by pjmlp on Wednesday December 05, 2018 @05:13AM
(#18607007)
Not when writing GUI like code, to the point that the Rust team acknowledges that additional work needs to be done after NLL lands on stable.
http://smallcultfollowing.com/babysteps/blog/2018/11/01/afte...
http://smallcultfollowing.com/babysteps/blog/2018/11/10/afte...
So while Rust is much more productive than ATS or Cyclone, there is still room of improvement for that experience.
I don't have a problem with GC so Nim/D are on the table. ATS is a pain in the ass but after the arrival of Rust it's pretty clear that linear/affine types can be user-friendly. There's no excuse any more.