ta20200202
Re:How sanctions are killing Russia
on Sunday March 27, 2022 @06:16PM (#30824701)
Alternative link: https://threadreaderapp.com/thread/1507819508609679364.html
> there's a lot of developers that misuse/shouldn't use generics.
The same is true for other features, like channels and goroutines.
Re:If you miss an Apple Card payment, Apple disables all your Apple ac...
on Monday March 01, 2021 @03:57PM (#26308296)
The same is true for a HackerNews comment.
Re:Why I’m Leaving Elm
on Friday April 10, 2020 @12:06AM (#22829890)
> issue is that under the newest release Elm is requiring that no code contain any ‘raw’ JS or it won’t compile. It seems like this was an option prior to the current version so is this basically like if the Rust team said as of the new release no code, other than that code coming from the Rust team may use ‘unsafe’?
Yes, the problem is similar. It can be considered worse, because in safe Rust you can do almost everything, but Elm is much more limited.
You can still use regular JavaScript with ports, but it is more complicated. It is something like a WebSocket channel, where the server is the JavaScript code.
Re:Why Discord is switching from Go to Rust
on Tuesday February 04, 2020 @07:06PM (#22242572)
RAII for references (pointers) is a no-op. If the cache returns references to the data in its own array there is no overhead.