WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [[future]] towards singularization with artificial intelligence  (Read 794 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
[[future]] towards singularization with artificial intelligence
« on: January 02, 2024, 12:03:01 PM »
[[future]] towards singularization with artificial intelligence

I asked artificial intelligence this as a fantasy

Can you create a compiled and executable binary exec that can run on both Linux and Windows?
 
the answer is positive

You can also do this in both 32-bit and 64-bit versions.
Can you do it on 2 different versions of 2 different operating systems?

the answer is positive

Most likely even if such a compiler exists
compilation time will be 4x longer.

At first I thought it was a hallucinogenic answer,
But when I research the subject,
I learned that there is cross compilation that can work on both Linux and Windows.
« Last Edit: January 02, 2024, 12:05:31 PM by xor »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: [[future]] towards singularization with artificial intelligence
« Reply #1 on: January 02, 2024, 08:46:49 PM »
Hi xor
... I asked artificial intelligence this as a fantasy

Can you create a compiled and executable binary exec that can run on both Linux and Windows?
 
the answer is positive ...
Linux and Windows use different file formats for their binaries.
I'm going to suggest the answer is probably negative.

Quote
... At first I thought it was a hallucinogenic answer,
But when I research the subject,
I learned that there is cross compilation that can work on both Linux and Windows.
And the hallucinations continue. You are talking about two completely
different things.

Cross compilation means compiling for a different architecture and/or
operating system than you are currently running on.

You can compile a Windows binary on a Linux system, but you
won't be able to run it on Linux.