Palm-Studios / sh3redux

SILENT HILL 3 Engine Remake in OpenGL and C++
GNU General Public License v3.0
158 stars 15 forks source link

Start port to Bash #133

Closed z33ky closed 6 years ago

z33ky commented 6 years ago

We should leave memory-unsafe languages like C++ in our past. First I thought about using Rust, but even that provides an easy-to-use escape hatch, unsafe. Instead I've opted to using Bash, a proper memory-safe language.

The porting effort should start piece-by-piece, replacing one C++-module at a time. So the first step simply replaces the need to start the binary directly with a Bash script. As a safety measure it starts all binaries it finds in the hopes that at least one of them is SH3 Redux.

z33ky commented 6 years ago

Eh, on the other hand, if I touch that ARC-loading code again I would probably also break it again. Let's not.

Quaker762 commented 6 years ago

AHAHAHAHAHA I can't believe I missed this, had work the whole weekend.

Absolutely 10/10, though I think Javascript or Brainfuck would be a much better choice.