core VS zerosharp

Compare core vs zerosharp and see what are their differences.

core

Home repository for .NET Core (by dotnet)

zerosharp

Demo of the potential of C# for systems programming with the .NET native ahead-of-time compilation technology. (by MichalStrehovsky)
Our great sponsors
  • Smarter Code - Your Free Guide to Become Microsoft Azure Certified
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
core zerosharp
45 10
16,645 1,493
1.6% -
9.5 4.4
5 days ago about 2 months ago
Shell C#
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

core

Posts with mentions or reviews of core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-21.

zerosharp

Posts with mentions or reviews of zerosharp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-08.
  • .NET 6
    18 projects | news.ycombinator.com | 8 Nov 2021
    You can get C# to run without the stdlib, and use it as a native language with some effort. Here's an example running Hello World as a C# EFI boot program: https://github.com/MichalStrehovsky/zerosharp/tree/master/ef...
  • The difference between Go and Rust
    6 projects | reddit.com/r/programming | 28 Sep 2021
    Want to see how low C# can go ? Here are some examples. C# bare metal , 8KB C# game, C# with go like tooling
  • Hacker News top posts: Sep 1, 2021
    1 project | reddit.com/r/hackerdigest | 1 Sep 2021
    C# for Systems Programming\ (65 comments)
  • C# for Systems Programming
    1 project | reddit.com/r/patient_hackernews | 1 Sep 2021
    1 project | reddit.com/r/hackernews | 1 Sep 2021
    10 projects | news.ycombinator.com | 31 Aug 2021
  • Demo of the potential of C# for systems programming with the .NET native ahead-of-time compilation technology.
    1 project | reddit.com/r/csharp | 31 Aug 2021
  • C# as you know it but with Go-like tooling (small, selfcontained, native exes)
    11 projects | news.ycombinator.com | 25 Jun 2021
    Background: I touched C# a little over 5 years ago writing ASP.NET MVC + jQuery apps and decided I hated it then.

    About 6 months ago I had a side project where I took a C++ library and decided I'd try to translate it into every language that supports C/C++ Interop, to have a canonical "C Interop reference + comparison" repo for anyone interested

    I found out that C# could do this, and started looking into how.

    Long story short, it's now possible to use C# and .NET to directly interop with C/C++. Function Pointers, structs and all. You can publish a binary or static/dynamic library for any platform that's natively compiled -- zero dependencies.

    It allows you to manually allocate memory and provide allocation strategies. Shit, you can even turn the GC off entirely (at this point the language is very barebones).

    See ZeroSharp by same author:

    https://github.com/MichalStrehovsky/zerosharp

    So on top of this surprising viability for fairly low-level or native programming, it's also:

    - Just generally good at everything/bad at nothing

    - Blazingly performant, and getting faster consistently. Both at a language/computation level, and for things like web servers. ASP .NET Core Kestrel webserver has throughput only topped by a handful of Rust/C++ libs, and most recent preview included a new functional router API that increased throughout by +100,000rps.

    - C# as a language is evolving rapidly and has already become a solid multi paradigm lang. Adopting features like pattern matching and lambdas. It has LINQ. It's actually pleasant to write now and doesn't always feel like verbose enterprise garbage.

    - The tooling and ecosystem and C# and .NET are rivaled only by the JVM

    There's more but that's off the top of my head.

    Needless to say the last few months visiting C# and .NET land have changed my former opinion.

    11 projects | news.ycombinator.com | 25 Jun 2021
    The author’s ZeroSharp project is also interesting. It shows how you can compile C# without any runtime. No garbage collection, no exceptions. You can perform stunts like make a 5KB Hello World or a EFI application that runs with no operating system:

    https://github.com/MichalStrehovsky/zerosharp

    I did a survey recently of binary sizes for .NET apps and comparisons to other languages. Things like NativeAOT (on which Bflat is built) and Graal Native Image let these languages get down to a binary size , startup speed, and deployment model similar that enjoyed by Go and Rust developers.

    https://github.com/AustinWise/SmallestDotnetHelloWorlds

  • Guides and tips for making a game engine in C#
    4 projects | reddit.com/r/gameenginedevs | 8 Apr 2021
    Since C# is inherently a managed environment, it has to interface somehow with the drivers and/or kernel somehow, so the notion of a pure C# engine is not something you should probably pursue. There are incredible feats of coding black magic (such as zeroSharp) but that is a whole different kind of story.

What are some alternatives?

When comparing core and zerosharp you can also consider the following projects:

homebridge - HomeKit support for the impatient

double-take - Unified UI and API for processing and training images for facial recognition.

CompreFace - Leading free and open-source face recognition system

Jellyfin - The Free Software Media System

Tasmota - Alternative firmware for ESP8266 with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

Domoticz - Open source Home Automation System

Mycodo - An environmental monitoring and regulation system

Node RED - Low-code programming for event-driven applications

Jeedom core - Software for home automation

esphome - ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

openHAB - Add-ons for openHAB 1.x

CBL-Mariner - Linux OS for Azure 1P services and edge appliances