We can go further, I think it’s impossible to prevent memory leaks in a general purpose language
We can go further, I think it’s impossible to prevent memory leaks in a general purpose language
The Elm compiler
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.
It’s much easier to work with streams of untyped data in a weakly typed language.
What is “funny” is that I had the maximum password size thing on several bank websites (and a low one, at that). Fortunately, with 2FA, it doesn’t really matter I guess.
The first article is funny, because I moved from my native country to the one right next to it, and everybody is confused by my name. They have one given name and 2 family names, while I have 4 first names, and a compound last name.
No need to travel to the other side of the planet to meet a different culture of naming.
Uh, they’re different, though. There is no C++ tool (AFAIK) providing an exhaustive check of ALL the data lifetimes. I even think it’s impossible, because their semantics are really different. Rust is move by default, C++ copy by default; Rust has no inheritance with its constructors, etc.
Uh, not really? It’s quite average compared to a complete inference like in Haskell and the likes.
Fair point. I’ve experienced that in big corps, so I now you’re right. For example, we would lose a bunch of time because the PCs didn’t have enough memory, but they couldn’t get us more RAM sticks, because of the bureaucracy, it could take 2 years or so.
I don’t like/use the class
keyword in JS, because I quite like the paradigm with prototypes & stuff, and that keyword tries to make it fit into a totally different paradigm, which doesn’t really work IMHO.
With TS, I find it even more useless, because I can use TS as a functional language, with POD, functions and interfaces only. I’ve written entire projects without ever using and needing this keyword, which is a proof IMHO that it’s an unnecessary addition. Not sure how unpopular is my opinion tho 😅
BTW, I’ve developped a few strats to have my own style in TS that I like quite a lot. I can tell more if you’re interested.
In most countries, a license for a year is worth less than a day of service…
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.