hairyballs

joined 1 year ago
[–] hairyballs@programming.dev 9 points 10 months ago

And here you're only talking about a subset of memory leaks, by inaccessible memory. You can also leak memory by pushing new elements in a channel while never reading them for example.

[–] hairyballs@programming.dev 2 points 10 months ago (1 children)

We can go further, I think it's impossible to prevent memory leaks in a general purpose language

[–] hairyballs@programming.dev 1 points 11 months ago

The Elm compiler

[–] hairyballs@programming.dev 1 points 1 year ago

I was so lucky in the interview for my current job: I'm working on a product with a big networking component, and I was asked to write an echo server with low level components. That was maybe the second time I had a test related to the job.

[–] hairyballs@programming.dev -1 points 1 year ago

It's much easier to work with streams of untyped data in a weakly typed language.