IRC channel logs

2024-04-08.log

back to list of logs

<matrix_bridge><cosinusoidally> Have there been any attempts to get stage0-posix-x86 running under win32? I've managed to get my https://github.com/cosinusoidally/tcc_bootstrap_alt/tree/dev tcc bootstrap path running on win32 using https://github.com/cosinusoidally/mishmashvm/blob/dev/auxiliary/bootstrap_alt4.bat but I currently rely on a JavaScript VM. If I had a win32 version of stage0-posix-x86 I could eliminate the JS VM...
<matrix_bridge>... dependency.
<matrix_bridge><Andrius Štikonas> cosinusoidally: No, we don't have it for win32
<matrix_bridge><Andrius Štikonas> Also you have a big proprietary blob running it anyway
<matrix_bridge><Andrius Štikonas> cosinusoidally: Windows...
<matrix_bridge><Andrius Štikonas> i.e. with such big binary blob, startinting from tcc wouldn't be less secure compared to hex0
<matrix_bridge><Andrius Štikonas> or at least just minimal difference
<matrix_bridge><Andrius Štikonas> I guess you could argue things like ReactOS exist...
<matrix_bridge><Andrius Štikonas> but anyway, we don't have any stage0-win32
<matrix_bridge><cosinusoidally> The main reason is that I definiely wouldn't trust any prebuilt win32 tcc binaries that exist in the wild (I've no idea who built them, and/or they are not signed by anyone I trust). I also don't want to be in the business of shipping tcc binaries myself. Users who are on Windows have to trust Microsoft. The extra dependency of trusting Mozilla (for the Spidermonkey JS) is tolerable from my point of...
<matrix_bridge>... view, but Ideally some variant of a stage0-win32 would be useful. I might see what I can do, I could possibly hack something together.
<matrix_bridge><Andrius Štikonas> cosinusoidally: well, if you take GAS versions of stage0-posix-x86, you mainly need to adjust syscalls and ELF headers to PE32 headers
<matrix_bridge><Andrius Štikonas> (and we now have some PE32 examples in stage0-uefi)