News for hackers. Stuff that matters.
Re:Rust is a hard way to make a web API by slaymaker1907 on Friday January 15, 2021 @09:34PM (#25799425)
That is not true about C#, it has an unsafe keyword for using raw pointers. Also, the Unsafe class in Java does a bunch of unsafe stuff as well not to mention that Java can call out to C code as well.

A garbage collector won't help you avoid a very common memory leak of having an unbounded cache.

Re:Rust is a hard way to make a web API by pjmlp on Saturday January 16, 2021 @05:32AM (#25801396)
And using it taints the produced binaries.

You can configure the compiler, runtimes or web servers to refuse to load tainted unsafe binaries.

Re:Rust is a hard way to make a web API by Const-me on Friday January 15, 2021 @09:48PM (#25799528)
> it has an unsafe keyword for using raw pointers

It has, but you don‘t need it to implement data structures. Standard library developers don’t need it either, they all implemented in safe code.

Re:Rust is a hard way to make a web API by kaba0 on Saturday January 16, 2021 @04:38AM (#25801202)
But it is almost never used (recently the unsafe package even got deleted). And Java has basically everything else written in Java, so it is not as often used as Rust’s unsafe.

Java will have a safe foreign memory API soonish.