|
Ben Adams 🏳️🌈
@
ben_a_adams
)'( Nottingham
|
|
Co-founder and CTO of @Illyriad Games, @dotnetfdn Board Director, 4x Microsoft MVP - creating @ageofascent in #HTML5 and #WebGL. He/him 🇬🇧🇪🇺🇨🇦
|
|
|
22.579
Tweetovi
|
1.222
Pratim
|
8.199
Osobe koje vas prate
|
| Tweetovi |
|
Ben Adams 🏳️🌈
@ben_a_adams
|
2 min |
|
Full AoT (Mono LLVM) will produce better asm than R2R's AoT as its working to different constraints (R2R uses Jit generated code). However, Jit some extra tricks up its sleeve at runtime. e.g. if you did something based on ProcessorCount, to AoT that's a var, to Jit that's const
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
12 min |
|
Full AoT (Mono LLVM) won't have any tiered compilation, I believe; and Full AoT is required for platforms that don't allow runtime codegen (e.g. iOS, XBox in exclusive mode). Though, now are moving beyond my knowledge and would need someone from MS to clarify further
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
23 min |
|
Caveat: I think R2R does AVX2, but keeps the .IsSupported check in, whereas Jit then eliminates all other code paths and removes the check
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
26 min |
|
Tier0 doesn't do inlining; is just faster 1st stage Jit.
R2R AoT is at Tier1; however it will be reJitted again at Tier1 if hot to do extra things it can't do at AoT (cross assembly inlining, assume readonly statics are constants so branch eliminate using them, AVX2 etc)
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
37 min |
|
Tier0 is slow one; R2R is Tier1, however at min CPU level (SSE2?) and misses out on some runtime determined opts (readonly static initialization and branch elimination). So R2R is available to be reJitted at Tier1 if its hot code (as per Tier0) to get those extra optimizations
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
44 min |
|
Yes; so Mono LLVM + Core libs (which is why its now in runtime), providing full AoT for Win, macOS, Linux, Andorid, iOS etc as the AoT toolchain.
R2R AoT (for faster startup) + RyuJit for Win, macOS, Linux as the Jit toolchain.
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
55 min |
|
Crossgen2 is for R2R (AoT+Jit); and Mono LLVM is the full AoT for .NET 5.0 (is my understanding)
|
||
|
|
||
| Ben Adams 🏳️🌈 proslijedio/la je tweet | ||
|
Dr. Elizabeth Sacha Baroness Cohen
@alixabeth
|
12 h |
|
Oh FFS, now we’re all underachieving at procrastination too? twitter.com/qikipedia/stat…
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
2 h |
|
Interesting they accept a 0%
|
||
|
|
||
| Ben Adams 🏳️🌈 proslijedio/la je tweet | ||
|
dotnetsouthwest
@dotnetsouthwest
|
6 h |
|
Watch Tim Seaward (@TimSeaw) talk about Digging into the Bedrock framework
youtu.be/eS2ozPYPKRk
Thanks to @ALDAutomotiveUK for hosting and filming. More videos from #DotNetTourUK will be shared at dotnettour.github.io/UKTour2020/#vi… soon
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
12 h |
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
12 h |
|
Aye, don't skimp on good garbage disposal, I'm sure many would agree 😉/cc @maoni0
Oh did you mean a different type?twitter.com/TimSweeneyEpic…
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
12 h |
|
Aside: gotos that create irreducible control flow are very bad (e.g. jumping from outside, into the middle of a loop); however C# will not allow you to create irreducible control flow with gotos, so that issue has been mitigated, in C# at least. en.wikipedia.org/wiki/Control-f…
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
12 h |
|
If you want to go that way, Donald Knuth said it in a paper where he was arguing that gotos should be used because it gave a 10% speed up, so we should be using goto now? web.archive.org/web/2013073120… pic.twitter.com/YY9IJVLKcr
|
||
|
|
||
| Ben Adams 🏳️🌈 proslijedio/la je tweet | ||
|
Levi Broderick
@LeviBroderick
|
19 h |
|
If you want a deep dive into Rune and StringInfo and the differences between the two I'd recommend reading gist.github.com/GrabYourPitchf… and github.com/dotnet/docs/is…. Those will serve as the basis for the updated docs.
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
16 h |
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
16 h |
|
However, with these China examples, there is clearly a fundamental misunderstanding of what "going it alone" will be like by the electorate
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
16 h |
|
I think we are working on the second bit 😢
Maybe its Brexit malaise getting to me... pic.twitter.com/KoWNiFO59M
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
16 h |
|
What's our comparison measure? Number of garden bridges or HS2s?
Obvs we can't directly compare high speed rail; as 8 years and £100bn gets us London <-> Birmingham
Whereas 8 years gets them 22,000 miles of operating track? pic.twitter.com/SOhgJzG5Sw
|
||
|
|
||
|
Ben Adams 🏳️🌈
@ben_a_adams
|
16 h |
|
|
||