Whats stopping you from writing a WrapperPtr and the drop trait for it in Rust? This would achieve the same as the dunder methods in python
865 karma · joined January 6, 2021
Whats stopping you from writing a WrapperPtr and the drop trait for it in Rust? This would achieve the same as the dunder methods in python
Anything doing locks on nfs, including trying to use sqlite, is a mistake. This is not a cargo problem this is a nsf problem.
Realistically, this is impossible.
ArrayPool<T>And thats why Zig don’t offer much. Devs will just ignore it.
Idk how up to date ou are in .NET but so you can have an idea how trivial it is in C#:
echo ‘Console.WriteLine(“hello world”);’ >> app.cs
dotnet publish app.cs
That’s it. By default C# is natively compiling.Typo?
It took longer than expected for this comment to show up.
on Linux only with CGO_ENABLED=0 and good luck using some non web related 3rd party module which can be used with CGO disabled.
This is not a Rust problem. Someone consciously chose to NOT handle an error, possibly thinking "this will never happen". Then someone else conconciouly reviewed (I hope so) a PR with an unwrap() and let it slide.
Nitpicking? Let’s show an example on creating an interface in Zig to see all complicated tricks.
Rust has a SDK from the 3 big cloud providers, Rust IS mainstream.