This post is part of the .Net Christmas Advent calendar organized by Dustin Morris Gorski on Twitter.
.Net or dotNet is a developer platform from Microsoft from the noughties, inspired by the Java Virtual Machine (JVM) from the 1990s. Both platforms are used by millions of developers, with the JVM used primarily for Enterprise apps and Android mobile app development, and .Net again used primarily for Enterprise apps along with games on Unity.
For a practical example of Enterprise app development style check out FizzBuzz Enterprise Edition;
Both the JVM and .Net compile their code to byte code that is typically just-in-time compiled to native code at run-time, where in computer programming a byte consists of 8-bits. This was probably inspired by the 8-bit microcomputers of the 1980s 8-bit like the ZX Spectrum stored instructions in 8-bit codes that were then interpreted at runtime.
.Net and the JVM support multiple programming languages, for example on the JVM Java, Kotlin and Scala are popular and on .Net C#, F# and VB.Net are popular.
Back in 2014 Mathias Brandewinder produced the @fsibot which lets you tweet F# code to it, and it will execute the code and return the result. This gives the programmer the power to write and execute FizzBuzz without leaving Twitter at all:
On the Advent calendar theme, this can be used to produce a Christmas tree:
This is great but the code is limited to 144 characters and the response to text only output...
In 2020 the @bbcmicrobot / https://www.bbcmicrobot.com/ a recreation 8-bit BBC microcomputer from the 1980s allowing you to tweet a full 280 characters of BBC BASIC, and with the BASIC supporting graphics programming by default, you can receive the response back as an animated GIF back! But it doesn't stop there, you can even see your programs run on a virtual BBC in 3D: https://virtual.bbcmic.ro/
A Christmas tree
to a Snowflake
Can you write FizzBuzz in a Tweet for the BBC Micro?
Happy Christmas code tweeting…