this post was submitted on 16 Jun 2023
22 points (100.0% liked)

Programming

21432 readers
345 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] TCB13@lemmy.world 1 points 2 years ago (8 children)

What do they mean by "fully self-contained natively compiled C#"? Some executable that depends on specific update Windows versions and 30 different .net frameworks installed on the system? :D

[–] Joph@programming.dev 7 points 2 years ago* (last edited 2 years ago) (7 children)

I might be missing a joke? but they are referring to NativeAOT, aptly named as it compiles a .NET application into a native binary ahead of time (instead of using a JIT.) The benefit being no dependency on the .NET runtime, faster startup time (but slower runtime performance, due to lack of JIT), lower memory footprint, and any other advantage you'd find in Go.

[–] TCB13@lemmy.world 1 points 2 years ago (6 children)

The question is, how good is NativeAOT comparable to a static binary from C++ or Go? As we both know Microsoft has a very poor track record when it comes to static builds / "self-contained" stuff. My question was mostly satire but I still would like to know how "self-containted" are those applications.

Does it effectively output a single binary? Does it create some kind of clusterf*k and awkward packaging formats like other MS solutions such as UWP? Will it actually be deployable to a random fresh install of Debian 12 or Windows 10? What about compatibility with older systems?

[–] lmaydev 1 points 2 years ago

It's a single executable that runs with no dependencies.

load more comments (5 replies)
load more comments (5 replies)
load more comments (5 replies)