whitequark,
@whitequark@mastodon.social avatar

i have an idea: Windows, but you take every DLL and merge it into one giant PE file

promovicz,
@promovicz@chaos.social avatar

@whitequark can we try to put all the code in the registry? HKLN for HKey Linker Nightmare.

leonidas,
@leonidas@mastodon.social avatar

@whitequark Unikernel Windows 🙃

schrotthaufen,
@schrotthaufen@mastodon.social avatar

@whitequark Nightmare fuel

whitequark,
@whitequark@mastodon.social avatar

except for ntdll i guess

whitequark,
@whitequark@mastodon.social avatar

also merge every executable into one giant executable by extensive symbol mangling

busybox windows

whitequark,
@whitequark@mastodon.social avatar

now i want to write a pe file merger

promovicz,
@promovicz@chaos.social avatar

@whitequark thunk you.

promovicz,
@promovicz@chaos.social avatar

@whitequark I might have used one, actually - but it was very very bad-dirty, linking the 3D package into our engine to access their file formats, using multiple versions of image processing libraries at the same time kind-of-stuff…

whitequark,
@whitequark@mastodon.social avatar

how hard can it be to package the entirety of chromium, including the resources, into a single extensively-virtualized executable

mxk,
@mxk@hachyderm.io avatar

@whitequark given the sandboxing that chrome tries to do internally, and that you must not break:
not trivial in my experience.

whitequark,
@whitequark@mastodon.social avatar

@mxk this adds to the challenge, yes!

unnick,
@unnick@wetdry.world avatar

@whitequark i hadnt read the thread and thought you were gonna try compiling chromium to wasm until i read the last part

whitequark,
@whitequark@mastodon.social avatar

@unnick i would also do that

eater,
@eater@cijber.social avatar

@whitequark this reminds me of when i tried to cross compile windows openmw from linux and was having difficulties with linking and eventually had a 2GB executable which had the whole Qt framework statically linked in

scherzog,
@scherzog@mastodon.gamedev.place avatar

@whitequark Pretty sure people will accuse you of having rewritten it in rust due to the file size at that point

whitequark,
@whitequark@mastodon.social avatar

@scherzog this is funny to hear considering that monomorphization, which plagues certain kinds of rust code, is already a problem for c++ that is extensively used in windows

sanfierro,

@whitequark or one giant ELF file.
And also: a Linux distro with everything inside a giant PE file (as far as I understand, Linux already can do that for the kernel so that BIOS loads it as a bootloader)

dalias,
@dalias@hachyderm.io avatar

@sanfierro @whitequark No, there's just a bootloader that the UEFI or whatever can load, that basically in turn loads the ELF file.

whitequark,
@whitequark@mastodon.social avatar

@dalias @sanfierro but the kernel can be loaded directly too

sanfierro,

@whitequark @dalias Oh, wait, I just thought a thought. Does /usr/bin/wine basically play the same role as /lib64/ld_linux_x86_64.so.2, just for PE files instead of ELF files?

whitequark,
@whitequark@mastodon.social avatar

@sanfierro @dalias kiiiiinda but it's way more complex in practice

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • megavids
  • lostlight
  • All magazines