3 ms·
> Wouldn't it be better to decide on a memory-safe language, it is totally possible to use some strict subset of C++, which will be memory safe.
by riku_iki 7mo ago
> Wouldn't it be better to decide on a memory-safe language,
it is totally possible to use some strict subset of C++, which will be memory safe.
- LeFantome 7mo agoLadybird already does that
- IshKebab 7mo agoOnly in theory. In practice it never happens like that. I mean, you think Google wouldn't use that for Chrome if they could?
- riku_iki 7mo agogoogle is giant and chaotic, and chrome likely is spagetti code mess. Its hard to tell if their approach is reasonable and fully implemented without digging deep. I work on such project, where we use simplified C++, and it works fine, no memory corruptions in my experience.