Comment by riku_iki

1 day 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.

Only in theory. In practice it never happens like that. I mean, you think Google wouldn't use that for Chrome if they could?

  • google 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.