![]() |
Rust? - Printable Version +- AyyWS Forum (https://forum.ayyws.com) +-- Forum: Technology (https://forum.ayyws.com/forumdisplay.php?fid=14) +--- Forum: Software (https://forum.ayyws.com/forumdisplay.php?fid=7) +--- Thread: Rust? (/showthread.php?tid=6) |
Rust? - Forust - 06-15-2023 Curious on people's thoughts on a new language I'm working on, posted some initial work here RE: Rust? - Gentoo - 06-16-2023 (06-15-2023, 12:29 PM)Forust Wrote: Curious on people's thoughts on a new language I'm working on, posted some initial work here An interesting start to a language for sure. While the compiler is a bit pedantic, it is largely an OK developer experience. I found that the trick to using this language is whenever you want to do crimes with memory, just wrap it in unsafe. For ergonomics, I found that writing unsafe everywhere to be a little less comfortable. Luckily this language seems to have a pretty good macro system, I found that I could write a macro that will do the function wrapping for me: Code: macro_rules! wrap_unsafe { This way, memory crimes are just more ergonomic and comfortable. Code: wrap_unsafe! { |