2/7 The key ingredient it setting your expectations low. This is the program I got running:pic.twitter.com/VLU8McM3Y3
U tweetove putem weba ili aplikacija drugih proizvođača možete dodati podatke o lokaciji, kao što su grad ili točna lokacija. Povijest lokacija tweetova uvijek možete izbrisati. Saznajte više
2/7 The key ingredient it setting your expectations low. This is the program I got running:pic.twitter.com/VLU8McM3Y3
3/7 I started where my "8 kB selfcontained game in C#" exercise finished: with a way to build fully native C# executable with no dependencies:https://twitter.com/MStrehovsky/status/1213034748848807937 …
4/7 Once you get a piece of C# compiled to native code with so few dependencies, it becomes easy to do weird stuff with it.
5/7 Okay, so we can compile C# to small 32-bit or 64-bit native binaries. How does that help on 16-bit Windows?
6/7 Glad you asked. In 1992 Microsoft shipped an addition to Windows 3.11 called Win32s. This let people run *some* 32-bit apps on the otherwise 16-bit system. Not all Win32 APIs were available, but surprisingly many apps still worked with it. Like Office 95.
7/7 Turns out the object files produced by the CoreRT ahead of time compiler from 2020 can still be linked with the linker that shipped with Visual C++ 2.0 in 1994. So it's C# compiler -> CoreRT Compiler -> Linker -> Success.pic.twitter.com/JiupOc4ZIt
Where did you find a copy of Windows 3.11 and how did you run it ? VM ?
Got both Windows 3.11 and Visual C++ 2.0 from my Visual Studio subscription. I ran it on DOSBox to save some time, but the VS subscription has DOS 6.22 too - I guess it would run on a Hyper-V (gen1) virtual machine to make it a full stack.https://visualstudio.microsoft.com/subscriptions/
Does F# work with all this? I remember that on UWP this was an issue: F# tail call optimization on WinRT compiler
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.