Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @MStrehovsky
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @MStrehovsky
-
Prikvačeni tweet
Wrote an article on AOT compilation in .NET: https://medium.com/@MStrehovsky/fight-the-global-warming-compile-your-c-apps-ahead-of-time-9997e953645b …pic.twitter.com/Dxm9VhY1KQ
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
CoreRT now makes it possible to build self-contained C# apps that are smaller than 1 MB (without much hacking). It's a journey and we're not at the end of it. This pull request has some details (and instructions, if you dare to try!): https://github.com/dotnet/corert/pull/7962 …pic.twitter.com/rWDfo2OCv6
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Michal Strehovský proslijedio/la je Tweet
Want to write a native DLL in
#fsharp and use it from#cplusplus? I've written a blog post, on writing native libraries with F# and#corert.https://secanablog.wordpress.com/2020/02/01/writing-a-native-library-in-f-which-can-be-called-from-c/ …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Michal Strehovský proslijedio/la je Tweet
Here's two screenshots: CoreRT .NET runtime in the TechEmpower benchmark in mid-2018, and now. This is all thanks to unpaid community effort because I know for a fact that nobody was paid to do this work. Pretty cool for an "abandoned" project.pic.twitter.com/NuJnzn6F8p
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
I personally hope this also means we are going to stop relying on the JIT eating electricity and creating heat to recompile 𝘁𝗵𝗲 𝗲𝘅𝗮𝗰𝘁 𝘀𝗮𝗺𝗲 𝗰𝗼𝗱𝗲 billions and billions of times in hundreds of thousands of data centers and billions of end user devices every day. https://twitter.com/BradSmi/status/1217863156455788544 …pic.twitter.com/EnCzGMcWHj
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
10/n Here's the pull request with all of it:https://github.com/MichalStrehovsky/SeeSharpSnake/pull/5 …
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
9/n From there, it's easy: C# compiler -> CoreRT AOT compiler -> Linker. We tell the linker to use Dos64-stub instead of generating the useless "Cannot be run in DOS" program.pic.twitter.com/3XK6Yh4PM1
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
7/n Once we have the number of ticks, we can do Thread.Sleep:pic.twitter.com/ZZnUxF2z8G
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
6/n Of course DOS doesn't have Windows APIs, so I had to rewrite how the game talks to the world. This is Environment.TickCount on DOS:pic.twitter.com/dewh4CwHXA
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
5/n I started with my C# 8 kB self-contained Windows snake game:https://twitter.com/MStrehovsky/status/1213034748848807937 …
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
4/n Dos64-stub is a small program that replaces the useless "Cannot run in DOS" with code that loads the Windows-specific portion of the EXE and teleports the process into 21. century. By teleporting I mean setting up paging and switching the CPU into 64-bit ("long") mode
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
3/n In a way, all EXEs are DOS programs - they're just not very useful DOS programs. One day I found this project (that deserves way more GitHub stars than it has):https://github.com/Baron-von-Riedesel/Dos64-stub …
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
2/n Windows EXE files consist of two parts: a DOS program that prints "This program cannot be run in DOS mode", followed by a header that Windows understands.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
1/n It has always bugged me that I can't run my 64-bit C# games on MS-DOS. Today I fixed that. A thread.pic.twitter.com/u2tcYQR9JR
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
C# is attacking the #1 spot in the TechEmpower Plaintext benchmark. C++ is confirming its "fast, but hard to get right" status (judging by the "Errors" column). https://www.techempower.com/benchmarks/#section=test&runid=739210f5-fcac-4e74-8d65-12f68368b0bd&hw=ph&test=plaintext&a=2 …pic.twitter.com/bqt1ngAVJW
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Michal Strehovský proslijedio/la je TweetHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
I would understand it if the game was a Flappy bird clone because the world needs to be protected from that happening again.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Since in 2020 the only kind of software that still cares about the size of the EXE is malware, this is the sad reality of building tiny < 10 kB programs. IT'S A 5 KB SNAKE GAME I WROTE IN C#. IT'S NOT GOING TO ATTACK THE POWER GRID IN YOUR COUNTRY.pic.twitter.com/aWWII90FBh
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
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
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
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.