HackerTrans
TopNewTrendsCommentsPastAskShowJobs

unsafecast

no profile record

comments

unsafecast
·4 anni fa·discuss
There's value in having a straightforward language where you know what's going to happen at any given moment. It's not good for everyone (and -thing), but languages like these have to exist, and they're needed for good reasons.
unsafecast
·4 anni fa·discuss
> I've seen a bug in handle convert function* in Warcraft 3 that resulted in bunch of maps, some singleplayer, some coop, some MP that lead to crashes (E can't find much material about it).

Crashes that didn't cause a lot of damage. Using a language like Rust could add way more overhead than it's worth. The GP's point was that some applications just don't require complete safety, a crash or two won't kill anyone (which could happen literally in a hospital computer for example).
unsafecast
·4 anni fa·discuss
Odin doesn't even have closures, or any feature that requires this kind of RAII. The whole point here is that the language doesn't deallocate for you.
unsafecast
·4 anni fa·discuss
A placeholder empty box that gets populated when the content arrives would be an improvement.