Off-Topic > Off-Topic - Tiny Tux's Corner

Cosmos a "Fat Linux Distro"

<< < (2/4) > >>

Rich:
Hi CardealRusso
I'm sorry but your attachment has been removed.

The  Forum Rules and Guidelines  state:

--- Quote ---2. No attachments/links of binary extensions
--- End quote ---
Found here:
http://forum.tinycorelinux.net/index.php/topic,7738.0.html

You are not allowed to post binary attachments, or direct links to external binaries.
You may post a link that leads to an external site, where someone can then choose to download something.

nick65go:
OR, use win11 OS, which has WSL2 (windows system for Linux) already integrated! So you have in-house build Hyper-HV (optimized virtual machine) with MINIM (no duplication) of resources.

Ex: Extremely-optimized virtual Kernel 5.15.3 (build by Microsoft) with all modules encapsulated in the kernel, so it has all filesystem (fat, exfat, xfs, btrfs, ext3/4 etc etc). And you can run/share all windows / linux commands from a VM (virtual machine). You can mount ANY additional disks (physical or virtual vhd(x), partitioned or not, etc.

My firefox ver-120 starts in 1 second in this Archlinux-Virtual Machine, even without Wayland server. The VHDX 1TB (=1000 GB) is spared (just 1.2 GB on SSD), swap 4 GB auto created in RAM, the VM ram is 16 GB auto (half of my real physical RAM, 32 GB) etc. The best thing: RAM is auto-resized so that VM does NOT take (for itself) reversible RAM from the win11 RAM. All those with 2 minutes of loading an Arch distro from MS store, nothing customized from my part (for now), except install Firefox from this VM linux.

Anyway, I deviated from the subject, just to explain that today we do NOT need to re-invent the wheel. Time is extremely precious for some of us. Money is not so preciously in an perpetual inflationary fiat money system (loved by all governments to pay for their huge debits).

CardealRusso:

--- Quote from: nick65go on December 05, 2023, 07:52:31 AM ---use win11

--- End quote ---
It seems like completely different scenarios to me.

I don't understand how using Windows, paying $200+tax and being forced to swallow all of Microsoft's spyware and backdoors just to be able to emulate Linux compares to a 50kb library.

mocore:

--- Quote from: CardealRusso on December 05, 2023, 05:45:56 AM ---will a binary compiled on an x86_64 machine work on any other platform, 32bits, arm etc?

--- End quote ---

https://justine.lol/cosmopolitan/
says

--- Quote --- Cosmopolitan Libc makes C a build-anywhere run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine.
Instead, it reconfigures stock GCC and Clang
to output a POSIX-approved polyglot format that
runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS on AMD64 and ARM64
with the best possible performance.
--- End quote ---

however https://justine.lol/ape.html mentions emulation ... which i presume is how arm is supported.

--- Quote ---You only use the emulator if you need it.
For example, it's helpful to be able to have cool visualizations of how program execution impacts memory.

It'll be nice to know that any normal PC program we write will "just work" on Raspberry Pi and Apple ARM.

--- End quote ---

ftr
i find this argument for use of such a system  the most compelling

--- Quote ---Long Lifetime Without Maintenance

One of the reasons why I love working with a lot of these old technologies, is that I want any software work I'm involved in to stand the test of time with minimal toil. Similar to how the Super Mario Bros ROM has managed to survive all these years without needing a GitHub issue tracker.

I believe the best chance we have of doing that, is by gluing together the binary interfaces that've already achieved a decades-long consensus, and ignoring the APIs. For example, here are the magic numbers used by Mac, Linux, BSD, and Windows distros. They're worth seeing at least once in your life, since these numbers underpin the internals of nearly all the computers, servers, and phones you've used.
--- End quote ---

mocore:

--- Quote from: CardealRusso on December 05, 2023, 10:45:21 AM ---
--- Quote from: nick65go on December 05, 2023, 07:52:31 AM ---use win11

--- End quote ---
It seems like completely different scenarios to me.

--- End quote ---

i guess at least its one of the *currently supported options (despite apparent prevalence of megacorp malevolence (Halloween documents anyone?))

* https://github.com/jart/cosmopolitan/issues/426#issuecomment-1165932843

--- Quote ---please be advised there is some risk you may need to rebuild your binaries if Apple breaks the system call interface again.
--- End quote ---



Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version