β² 844 βΌ If linux distributions were tools. (sh.itjust.works) submitted 2 years ago by _cnt0@sh.itjust.works to c/linuxmemes@lemmy.world 248 comments fedilink hide all child comments
[β] fl42v@lemmy.ml 48 points 2 years ago (4 children) Ubuntu. Multitool. Yeah, funny permalink fedilink source hideshow 8 child comments replies: [β] HuntressHimbo@lemm.ee 31 points 2 years ago (4 children) Its pretty apt because while you can technically use it to do a variety of things its almost always outclassed in any particular use permalink fedilink source parent hideshow 8 child comments replies: [β] TrenchcoatFullofBats@belfry.rip 27 points 2 years ago Its pretty apt I see what you did there permalink fedilink source parent [β] merc@sh.itjust.works 7 points 2 years ago And it's popular, and it's something non-Linux users might recognize. permalink fedilink source parent [β] c0mbatbag3l@lemmy.world 6 points 2 years ago (1 child) Exactly, multi role and underpowered. permalink fedilink source parent hideshow 2 child comments replies: [β] merc@sh.itjust.works 7 points 2 years ago (1 child) But, good enough for just about anything most people need to do on a daily basis. For anything else there's specialized tools. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 6 points 2 years ago (3 children) You're not going to win that argument on Lemmy about Ubuntu being a decent OS... Which it is β€οΈ permalink fedilink source parent hideshow 6 child comments replies: [β] EuroNutellaMan@lemmy.world 5 points 2 years ago (1 child) I'd love to agree but unfortunately with them pushing snaps I can't. When I used snaps I found them to be extremely buggy and if I didn't already know there were other distributions with other better package managers I would've straight up assumed it was a Linux problem and I'd just have gone back to windows. If there was no other Noob-friendly distro out there I could say "sure it's an ok distro" but there are better alternatives that don't do the same shitty decisions as canonical (like Linux Mint which is the one I recommend to every noob coming from windows or Pop_OS! for those who want something similiar to MacOS). permalink fedilink source parent hideshow 2 child comments replies: [+] aniki@lemm.ee 4 points 2 years ago [deleted] permalink fedilink source parent [+] aniki@lemm.ee 3 points 2 years ago [deleted] permalink fedilink source parent [β] swab148@startrek.website 2 points 2 years ago (1 child) Just because it's Lemmy, I'm gonna share my "shitty Ubuntu" story, which is less about Ubuntu being shitty and more about me being a noob. I had a 2004 MacBook that my grandmother gave me for college when she upgraded. I didn't hate it, but this being my first experience with a laptop, when the bottom 2/3 of the screen started blinking in and out, I thought maybe it was a software problem, so with the help of an SD card and my buddy's old CRT setup I downloaded Ubuntu onto a thumb drive. When I went back to my parents' place I decided that that was the moment to install, because my dad was really into jailbreaking his iPhone at the time, so I thought it'd be cool if we did kinda similar things together. Unfortunately because I couldn't see the bottom of the screen, I had no idea about the progress of the install, got impatient, and just decided to turn the thing off. This had the effect of deleting the partition tables, and it would have been like $200 to get a new hard drive. I would have paid it, but before I could, the guy I had helping me fix the thing moved away and took my lappy with him. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 1 point 2 years ago Always love story time π permalink fedilink source parent [β] fl42v@lemmy.ml 2 points 2 years ago Well, I didn't see it from that point. Makes sense π€£ permalink fedilink source parent [β] bitwaba@lemmy.world 13 points 2 years ago (1 child) I'd have gone with a spork. Not particularly good at anything it was built to do, but functional enough to get the job done, and pretty straight forward to use. permalink fedilink source parent hideshow 2 child comments replies: [β] autokludge@programming.dev 1 point 2 years ago Any wet meal you would have previously used a fork a spork/splade works better. It is the apex of TV dinner eating implements after hands only. π permalink fedilink source parent [β] badbytes@lemmy.world 9 points 2 years ago Checking calendar to see if April 1st permalink fedilink source parent [β] _cnt0@sh.itjust.works [S] 2 points 2 years ago (2 children) I don't know why, but it really is. You'd be surprised to see how many servers in the wild run ubuntu and how many docker images are based on ubuntu. permalink fedilink source parent hideshow 4 child comments replies: [β] dan@upvote.au 11 points 2 years ago* (3 children) Docker images should really be distroless most of the time. There's way too much junk in the majority of Docker images when in most cases, you really just need your app and whatever dynamic libraries or runtimes it requires (if you can't statically compile it). You don't need an OS in there! Also there'd be way more servers running Debian compared to Ubuntu. permalink fedilink source parent hideshow 6 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) You often (if not most of the time) need some infrastructure in OCI containers (while we're at it, let's get rid of the misnomer Docker image). And that's going to be some subset of a distribution hand-crafted for that purpose. Most of the time, that should be Alpine, because they provide the slimmest base image. permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 2 points 2 years ago* (1 child) Most of the time, that should be Alpine, because they provide the slimmest base image. Distroless containers (e.g. https://github.com/GoogleContainerTools/distroless, Chiselled Ubuntu, etc) are often smaller than Alpine ones. Google's smallest Debian-based one is around 2MB. I have a Dockerized C# app... I'm going to try .NET Native AOT (which was improved a lot in .NET 8, released today) to compile it into a self-contained binary, and see how well it works with a distroless base container. permalink fedilink source parent hideshow 2 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) I'm curious to hear how that works out. I'm a big fan of C#; not so much the Microsoft ecosystem. I'd say for maximum scalability you'd want languages which compile to small binaries. So, Go, Rust, C++, C, and theoretically some others. The approach with Java and C# to bundle the framework, JIT, etc, and then try to shave off as much as you can get away with feels kind of backwards. And I get the excitement of the Java folks when they manage to create a self-contained binary with GraalVM and co of 12mb. Like, that's impressive, but had you developed the same thing with Go it would be .5mb. Curious to see how .NET fares in that comparison to Java. permalink fedilink source parent hideshow 2 child comments replies: [β] Serdan@lemm.ee 1 point 2 years ago* In the dotnet 8 announcement the brag is that a minimal web service will be 8.5 megs https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-8.0?view=aspnetcore-8.0#native-aot permalink fedilink source parent [+] aniki@lemm.ee 1 point 2 years ago (1 child) [deleted] permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 1 point 2 years ago Google's distroless base images are based on Debian and are smaller than Alpine images. permalink fedilink source parent [β] FlexibleToast@lemmy.world -3 points 2 years ago Debian isn't really an option if you want paid support. You really only have Red Hat, SUSE, and Canonical. Of course, there are a lot of Ubuntu servers out there. permalink fedilink source parent [β] SpaceNoodle@lemmy.world 5 points 2 years ago (1 child) It's because of laziness. permalink fedilink source parent hideshow 2 child comments replies: [β] GBU_28@lemm.ee 1 point 2 years ago (1 child) There's a difference between lazy and focused on other things. permalink fedilink source parent hideshow 2 child comments replies: [β] SpaceNoodle@lemmy.world -1 points 2 years ago Potato, tomato. permalink fedilink source parent
[β] HuntressHimbo@lemm.ee 31 points 2 years ago (4 children) Its pretty apt because while you can technically use it to do a variety of things its almost always outclassed in any particular use permalink fedilink source parent hideshow 8 child comments replies: [β] TrenchcoatFullofBats@belfry.rip 27 points 2 years ago Its pretty apt I see what you did there permalink fedilink source parent [β] merc@sh.itjust.works 7 points 2 years ago And it's popular, and it's something non-Linux users might recognize. permalink fedilink source parent [β] c0mbatbag3l@lemmy.world 6 points 2 years ago (1 child) Exactly, multi role and underpowered. permalink fedilink source parent hideshow 2 child comments replies: [β] merc@sh.itjust.works 7 points 2 years ago (1 child) But, good enough for just about anything most people need to do on a daily basis. For anything else there's specialized tools. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 6 points 2 years ago (3 children) You're not going to win that argument on Lemmy about Ubuntu being a decent OS... Which it is β€οΈ permalink fedilink source parent hideshow 6 child comments replies: [β] EuroNutellaMan@lemmy.world 5 points 2 years ago (1 child) I'd love to agree but unfortunately with them pushing snaps I can't. When I used snaps I found them to be extremely buggy and if I didn't already know there were other distributions with other better package managers I would've straight up assumed it was a Linux problem and I'd just have gone back to windows. If there was no other Noob-friendly distro out there I could say "sure it's an ok distro" but there are better alternatives that don't do the same shitty decisions as canonical (like Linux Mint which is the one I recommend to every noob coming from windows or Pop_OS! for those who want something similiar to MacOS). permalink fedilink source parent hideshow 2 child comments replies: [+] aniki@lemm.ee 4 points 2 years ago [deleted] permalink fedilink source parent [+] aniki@lemm.ee 3 points 2 years ago [deleted] permalink fedilink source parent [β] swab148@startrek.website 2 points 2 years ago (1 child) Just because it's Lemmy, I'm gonna share my "shitty Ubuntu" story, which is less about Ubuntu being shitty and more about me being a noob. I had a 2004 MacBook that my grandmother gave me for college when she upgraded. I didn't hate it, but this being my first experience with a laptop, when the bottom 2/3 of the screen started blinking in and out, I thought maybe it was a software problem, so with the help of an SD card and my buddy's old CRT setup I downloaded Ubuntu onto a thumb drive. When I went back to my parents' place I decided that that was the moment to install, because my dad was really into jailbreaking his iPhone at the time, so I thought it'd be cool if we did kinda similar things together. Unfortunately because I couldn't see the bottom of the screen, I had no idea about the progress of the install, got impatient, and just decided to turn the thing off. This had the effect of deleting the partition tables, and it would have been like $200 to get a new hard drive. I would have paid it, but before I could, the guy I had helping me fix the thing moved away and took my lappy with him. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 1 point 2 years ago Always love story time π permalink fedilink source parent [β] fl42v@lemmy.ml 2 points 2 years ago Well, I didn't see it from that point. Makes sense π€£ permalink fedilink source parent
[β] TrenchcoatFullofBats@belfry.rip 27 points 2 years ago Its pretty apt I see what you did there permalink fedilink source parent
[β] merc@sh.itjust.works 7 points 2 years ago And it's popular, and it's something non-Linux users might recognize. permalink fedilink source parent
[β] c0mbatbag3l@lemmy.world 6 points 2 years ago (1 child) Exactly, multi role and underpowered. permalink fedilink source parent hideshow 2 child comments replies: [β] merc@sh.itjust.works 7 points 2 years ago (1 child) But, good enough for just about anything most people need to do on a daily basis. For anything else there's specialized tools. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 6 points 2 years ago (3 children) You're not going to win that argument on Lemmy about Ubuntu being a decent OS... Which it is β€οΈ permalink fedilink source parent hideshow 6 child comments replies: [β] EuroNutellaMan@lemmy.world 5 points 2 years ago (1 child) I'd love to agree but unfortunately with them pushing snaps I can't. When I used snaps I found them to be extremely buggy and if I didn't already know there were other distributions with other better package managers I would've straight up assumed it was a Linux problem and I'd just have gone back to windows. If there was no other Noob-friendly distro out there I could say "sure it's an ok distro" but there are better alternatives that don't do the same shitty decisions as canonical (like Linux Mint which is the one I recommend to every noob coming from windows or Pop_OS! for those who want something similiar to MacOS). permalink fedilink source parent hideshow 2 child comments replies: [+] aniki@lemm.ee 4 points 2 years ago [deleted] permalink fedilink source parent [+] aniki@lemm.ee 3 points 2 years ago [deleted] permalink fedilink source parent [β] swab148@startrek.website 2 points 2 years ago (1 child) Just because it's Lemmy, I'm gonna share my "shitty Ubuntu" story, which is less about Ubuntu being shitty and more about me being a noob. I had a 2004 MacBook that my grandmother gave me for college when she upgraded. I didn't hate it, but this being my first experience with a laptop, when the bottom 2/3 of the screen started blinking in and out, I thought maybe it was a software problem, so with the help of an SD card and my buddy's old CRT setup I downloaded Ubuntu onto a thumb drive. When I went back to my parents' place I decided that that was the moment to install, because my dad was really into jailbreaking his iPhone at the time, so I thought it'd be cool if we did kinda similar things together. Unfortunately because I couldn't see the bottom of the screen, I had no idea about the progress of the install, got impatient, and just decided to turn the thing off. This had the effect of deleting the partition tables, and it would have been like $200 to get a new hard drive. I would have paid it, but before I could, the guy I had helping me fix the thing moved away and took my lappy with him. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 1 point 2 years ago Always love story time π permalink fedilink source parent
[β] merc@sh.itjust.works 7 points 2 years ago (1 child) But, good enough for just about anything most people need to do on a daily basis. For anything else there's specialized tools. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 6 points 2 years ago (3 children) You're not going to win that argument on Lemmy about Ubuntu being a decent OS... Which it is β€οΈ permalink fedilink source parent hideshow 6 child comments replies: [β] EuroNutellaMan@lemmy.world 5 points 2 years ago (1 child) I'd love to agree but unfortunately with them pushing snaps I can't. When I used snaps I found them to be extremely buggy and if I didn't already know there were other distributions with other better package managers I would've straight up assumed it was a Linux problem and I'd just have gone back to windows. If there was no other Noob-friendly distro out there I could say "sure it's an ok distro" but there are better alternatives that don't do the same shitty decisions as canonical (like Linux Mint which is the one I recommend to every noob coming from windows or Pop_OS! for those who want something similiar to MacOS). permalink fedilink source parent hideshow 2 child comments replies: [+] aniki@lemm.ee 4 points 2 years ago [deleted] permalink fedilink source parent [+] aniki@lemm.ee 3 points 2 years ago [deleted] permalink fedilink source parent [β] swab148@startrek.website 2 points 2 years ago (1 child) Just because it's Lemmy, I'm gonna share my "shitty Ubuntu" story, which is less about Ubuntu being shitty and more about me being a noob. I had a 2004 MacBook that my grandmother gave me for college when she upgraded. I didn't hate it, but this being my first experience with a laptop, when the bottom 2/3 of the screen started blinking in and out, I thought maybe it was a software problem, so with the help of an SD card and my buddy's old CRT setup I downloaded Ubuntu onto a thumb drive. When I went back to my parents' place I decided that that was the moment to install, because my dad was really into jailbreaking his iPhone at the time, so I thought it'd be cool if we did kinda similar things together. Unfortunately because I couldn't see the bottom of the screen, I had no idea about the progress of the install, got impatient, and just decided to turn the thing off. This had the effect of deleting the partition tables, and it would have been like $200 to get a new hard drive. I would have paid it, but before I could, the guy I had helping me fix the thing moved away and took my lappy with him. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 1 point 2 years ago Always love story time π permalink fedilink source parent
[β] jelloeater85@lemmy.world 6 points 2 years ago (3 children) You're not going to win that argument on Lemmy about Ubuntu being a decent OS... Which it is β€οΈ permalink fedilink source parent hideshow 6 child comments replies: [β] EuroNutellaMan@lemmy.world 5 points 2 years ago (1 child) I'd love to agree but unfortunately with them pushing snaps I can't. When I used snaps I found them to be extremely buggy and if I didn't already know there were other distributions with other better package managers I would've straight up assumed it was a Linux problem and I'd just have gone back to windows. If there was no other Noob-friendly distro out there I could say "sure it's an ok distro" but there are better alternatives that don't do the same shitty decisions as canonical (like Linux Mint which is the one I recommend to every noob coming from windows or Pop_OS! for those who want something similiar to MacOS). permalink fedilink source parent hideshow 2 child comments replies: [+] aniki@lemm.ee 4 points 2 years ago [deleted] permalink fedilink source parent [+] aniki@lemm.ee 3 points 2 years ago [deleted] permalink fedilink source parent [β] swab148@startrek.website 2 points 2 years ago (1 child) Just because it's Lemmy, I'm gonna share my "shitty Ubuntu" story, which is less about Ubuntu being shitty and more about me being a noob. I had a 2004 MacBook that my grandmother gave me for college when she upgraded. I didn't hate it, but this being my first experience with a laptop, when the bottom 2/3 of the screen started blinking in and out, I thought maybe it was a software problem, so with the help of an SD card and my buddy's old CRT setup I downloaded Ubuntu onto a thumb drive. When I went back to my parents' place I decided that that was the moment to install, because my dad was really into jailbreaking his iPhone at the time, so I thought it'd be cool if we did kinda similar things together. Unfortunately because I couldn't see the bottom of the screen, I had no idea about the progress of the install, got impatient, and just decided to turn the thing off. This had the effect of deleting the partition tables, and it would have been like $200 to get a new hard drive. I would have paid it, but before I could, the guy I had helping me fix the thing moved away and took my lappy with him. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 1 point 2 years ago Always love story time π permalink fedilink source parent
[β] EuroNutellaMan@lemmy.world 5 points 2 years ago (1 child) I'd love to agree but unfortunately with them pushing snaps I can't. When I used snaps I found them to be extremely buggy and if I didn't already know there were other distributions with other better package managers I would've straight up assumed it was a Linux problem and I'd just have gone back to windows. If there was no other Noob-friendly distro out there I could say "sure it's an ok distro" but there are better alternatives that don't do the same shitty decisions as canonical (like Linux Mint which is the one I recommend to every noob coming from windows or Pop_OS! for those who want something similiar to MacOS). permalink fedilink source parent hideshow 2 child comments replies: [+] aniki@lemm.ee 4 points 2 years ago [deleted] permalink fedilink source parent
[β] swab148@startrek.website 2 points 2 years ago (1 child) Just because it's Lemmy, I'm gonna share my "shitty Ubuntu" story, which is less about Ubuntu being shitty and more about me being a noob. I had a 2004 MacBook that my grandmother gave me for college when she upgraded. I didn't hate it, but this being my first experience with a laptop, when the bottom 2/3 of the screen started blinking in and out, I thought maybe it was a software problem, so with the help of an SD card and my buddy's old CRT setup I downloaded Ubuntu onto a thumb drive. When I went back to my parents' place I decided that that was the moment to install, because my dad was really into jailbreaking his iPhone at the time, so I thought it'd be cool if we did kinda similar things together. Unfortunately because I couldn't see the bottom of the screen, I had no idea about the progress of the install, got impatient, and just decided to turn the thing off. This had the effect of deleting the partition tables, and it would have been like $200 to get a new hard drive. I would have paid it, but before I could, the guy I had helping me fix the thing moved away and took my lappy with him. permalink fedilink source parent hideshow 2 child comments replies: [β] jelloeater85@lemmy.world 1 point 2 years ago Always love story time π permalink fedilink source parent
[β] jelloeater85@lemmy.world 1 point 2 years ago Always love story time π permalink fedilink source parent
[β] fl42v@lemmy.ml 2 points 2 years ago Well, I didn't see it from that point. Makes sense π€£ permalink fedilink source parent
[β] bitwaba@lemmy.world 13 points 2 years ago (1 child) I'd have gone with a spork. Not particularly good at anything it was built to do, but functional enough to get the job done, and pretty straight forward to use. permalink fedilink source parent hideshow 2 child comments replies: [β] autokludge@programming.dev 1 point 2 years ago Any wet meal you would have previously used a fork a spork/splade works better. It is the apex of TV dinner eating implements after hands only. π permalink fedilink source parent
[β] autokludge@programming.dev 1 point 2 years ago Any wet meal you would have previously used a fork a spork/splade works better. It is the apex of TV dinner eating implements after hands only. π permalink fedilink source parent
[β] badbytes@lemmy.world 9 points 2 years ago Checking calendar to see if April 1st permalink fedilink source parent
[β] _cnt0@sh.itjust.works [S] 2 points 2 years ago (2 children) I don't know why, but it really is. You'd be surprised to see how many servers in the wild run ubuntu and how many docker images are based on ubuntu. permalink fedilink source parent hideshow 4 child comments replies: [β] dan@upvote.au 11 points 2 years ago* (3 children) Docker images should really be distroless most of the time. There's way too much junk in the majority of Docker images when in most cases, you really just need your app and whatever dynamic libraries or runtimes it requires (if you can't statically compile it). You don't need an OS in there! Also there'd be way more servers running Debian compared to Ubuntu. permalink fedilink source parent hideshow 6 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) You often (if not most of the time) need some infrastructure in OCI containers (while we're at it, let's get rid of the misnomer Docker image). And that's going to be some subset of a distribution hand-crafted for that purpose. Most of the time, that should be Alpine, because they provide the slimmest base image. permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 2 points 2 years ago* (1 child) Most of the time, that should be Alpine, because they provide the slimmest base image. Distroless containers (e.g. https://github.com/GoogleContainerTools/distroless, Chiselled Ubuntu, etc) are often smaller than Alpine ones. Google's smallest Debian-based one is around 2MB. I have a Dockerized C# app... I'm going to try .NET Native AOT (which was improved a lot in .NET 8, released today) to compile it into a self-contained binary, and see how well it works with a distroless base container. permalink fedilink source parent hideshow 2 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) I'm curious to hear how that works out. I'm a big fan of C#; not so much the Microsoft ecosystem. I'd say for maximum scalability you'd want languages which compile to small binaries. So, Go, Rust, C++, C, and theoretically some others. The approach with Java and C# to bundle the framework, JIT, etc, and then try to shave off as much as you can get away with feels kind of backwards. And I get the excitement of the Java folks when they manage to create a self-contained binary with GraalVM and co of 12mb. Like, that's impressive, but had you developed the same thing with Go it would be .5mb. Curious to see how .NET fares in that comparison to Java. permalink fedilink source parent hideshow 2 child comments replies: [β] Serdan@lemm.ee 1 point 2 years ago* In the dotnet 8 announcement the brag is that a minimal web service will be 8.5 megs https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-8.0?view=aspnetcore-8.0#native-aot permalink fedilink source parent [+] aniki@lemm.ee 1 point 2 years ago (1 child) [deleted] permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 1 point 2 years ago Google's distroless base images are based on Debian and are smaller than Alpine images. permalink fedilink source parent [β] FlexibleToast@lemmy.world -3 points 2 years ago Debian isn't really an option if you want paid support. You really only have Red Hat, SUSE, and Canonical. Of course, there are a lot of Ubuntu servers out there. permalink fedilink source parent [β] SpaceNoodle@lemmy.world 5 points 2 years ago (1 child) It's because of laziness. permalink fedilink source parent hideshow 2 child comments replies: [β] GBU_28@lemm.ee 1 point 2 years ago (1 child) There's a difference between lazy and focused on other things. permalink fedilink source parent hideshow 2 child comments replies: [β] SpaceNoodle@lemmy.world -1 points 2 years ago Potato, tomato. permalink fedilink source parent
[β] dan@upvote.au 11 points 2 years ago* (3 children) Docker images should really be distroless most of the time. There's way too much junk in the majority of Docker images when in most cases, you really just need your app and whatever dynamic libraries or runtimes it requires (if you can't statically compile it). You don't need an OS in there! Also there'd be way more servers running Debian compared to Ubuntu. permalink fedilink source parent hideshow 6 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) You often (if not most of the time) need some infrastructure in OCI containers (while we're at it, let's get rid of the misnomer Docker image). And that's going to be some subset of a distribution hand-crafted for that purpose. Most of the time, that should be Alpine, because they provide the slimmest base image. permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 2 points 2 years ago* (1 child) Most of the time, that should be Alpine, because they provide the slimmest base image. Distroless containers (e.g. https://github.com/GoogleContainerTools/distroless, Chiselled Ubuntu, etc) are often smaller than Alpine ones. Google's smallest Debian-based one is around 2MB. I have a Dockerized C# app... I'm going to try .NET Native AOT (which was improved a lot in .NET 8, released today) to compile it into a self-contained binary, and see how well it works with a distroless base container. permalink fedilink source parent hideshow 2 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) I'm curious to hear how that works out. I'm a big fan of C#; not so much the Microsoft ecosystem. I'd say for maximum scalability you'd want languages which compile to small binaries. So, Go, Rust, C++, C, and theoretically some others. The approach with Java and C# to bundle the framework, JIT, etc, and then try to shave off as much as you can get away with feels kind of backwards. And I get the excitement of the Java folks when they manage to create a self-contained binary with GraalVM and co of 12mb. Like, that's impressive, but had you developed the same thing with Go it would be .5mb. Curious to see how .NET fares in that comparison to Java. permalink fedilink source parent hideshow 2 child comments replies: [β] Serdan@lemm.ee 1 point 2 years ago* In the dotnet 8 announcement the brag is that a minimal web service will be 8.5 megs https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-8.0?view=aspnetcore-8.0#native-aot permalink fedilink source parent [+] aniki@lemm.ee 1 point 2 years ago (1 child) [deleted] permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 1 point 2 years ago Google's distroless base images are based on Debian and are smaller than Alpine images. permalink fedilink source parent [β] FlexibleToast@lemmy.world -3 points 2 years ago Debian isn't really an option if you want paid support. You really only have Red Hat, SUSE, and Canonical. Of course, there are a lot of Ubuntu servers out there. permalink fedilink source parent
[β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) You often (if not most of the time) need some infrastructure in OCI containers (while we're at it, let's get rid of the misnomer Docker image). And that's going to be some subset of a distribution hand-crafted for that purpose. Most of the time, that should be Alpine, because they provide the slimmest base image. permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 2 points 2 years ago* (1 child) Most of the time, that should be Alpine, because they provide the slimmest base image. Distroless containers (e.g. https://github.com/GoogleContainerTools/distroless, Chiselled Ubuntu, etc) are often smaller than Alpine ones. Google's smallest Debian-based one is around 2MB. I have a Dockerized C# app... I'm going to try .NET Native AOT (which was improved a lot in .NET 8, released today) to compile it into a self-contained binary, and see how well it works with a distroless base container. permalink fedilink source parent hideshow 2 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) I'm curious to hear how that works out. I'm a big fan of C#; not so much the Microsoft ecosystem. I'd say for maximum scalability you'd want languages which compile to small binaries. So, Go, Rust, C++, C, and theoretically some others. The approach with Java and C# to bundle the framework, JIT, etc, and then try to shave off as much as you can get away with feels kind of backwards. And I get the excitement of the Java folks when they manage to create a self-contained binary with GraalVM and co of 12mb. Like, that's impressive, but had you developed the same thing with Go it would be .5mb. Curious to see how .NET fares in that comparison to Java. permalink fedilink source parent hideshow 2 child comments replies: [β] Serdan@lemm.ee 1 point 2 years ago* In the dotnet 8 announcement the brag is that a minimal web service will be 8.5 megs https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-8.0?view=aspnetcore-8.0#native-aot permalink fedilink source parent
[β] dan@upvote.au 2 points 2 years ago* (1 child) Most of the time, that should be Alpine, because they provide the slimmest base image. Distroless containers (e.g. https://github.com/GoogleContainerTools/distroless, Chiselled Ubuntu, etc) are often smaller than Alpine ones. Google's smallest Debian-based one is around 2MB. I have a Dockerized C# app... I'm going to try .NET Native AOT (which was improved a lot in .NET 8, released today) to compile it into a self-contained binary, and see how well it works with a distroless base container. permalink fedilink source parent hideshow 2 child comments replies: [β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) I'm curious to hear how that works out. I'm a big fan of C#; not so much the Microsoft ecosystem. I'd say for maximum scalability you'd want languages which compile to small binaries. So, Go, Rust, C++, C, and theoretically some others. The approach with Java and C# to bundle the framework, JIT, etc, and then try to shave off as much as you can get away with feels kind of backwards. And I get the excitement of the Java folks when they manage to create a self-contained binary with GraalVM and co of 12mb. Like, that's impressive, but had you developed the same thing with Go it would be .5mb. Curious to see how .NET fares in that comparison to Java. permalink fedilink source parent hideshow 2 child comments replies: [β] Serdan@lemm.ee 1 point 2 years ago* In the dotnet 8 announcement the brag is that a minimal web service will be 8.5 megs https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-8.0?view=aspnetcore-8.0#native-aot permalink fedilink source parent
[β] _cnt0@sh.itjust.works [S] 3 points 2 years ago (1 child) I'm curious to hear how that works out. I'm a big fan of C#; not so much the Microsoft ecosystem. I'd say for maximum scalability you'd want languages which compile to small binaries. So, Go, Rust, C++, C, and theoretically some others. The approach with Java and C# to bundle the framework, JIT, etc, and then try to shave off as much as you can get away with feels kind of backwards. And I get the excitement of the Java folks when they manage to create a self-contained binary with GraalVM and co of 12mb. Like, that's impressive, but had you developed the same thing with Go it would be .5mb. Curious to see how .NET fares in that comparison to Java. permalink fedilink source parent hideshow 2 child comments replies: [β] Serdan@lemm.ee 1 point 2 years ago* In the dotnet 8 announcement the brag is that a minimal web service will be 8.5 megs https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-8.0?view=aspnetcore-8.0#native-aot permalink fedilink source parent
[β] Serdan@lemm.ee 1 point 2 years ago* In the dotnet 8 announcement the brag is that a minimal web service will be 8.5 megs https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-8.0?view=aspnetcore-8.0#native-aot permalink fedilink source parent
[+] aniki@lemm.ee 1 point 2 years ago (1 child) [deleted] permalink fedilink source parent hideshow 2 child comments replies: [β] dan@upvote.au 1 point 2 years ago Google's distroless base images are based on Debian and are smaller than Alpine images. permalink fedilink source parent
[β] dan@upvote.au 1 point 2 years ago Google's distroless base images are based on Debian and are smaller than Alpine images. permalink fedilink source parent
[β] FlexibleToast@lemmy.world -3 points 2 years ago Debian isn't really an option if you want paid support. You really only have Red Hat, SUSE, and Canonical. Of course, there are a lot of Ubuntu servers out there. permalink fedilink source parent
[β] SpaceNoodle@lemmy.world 5 points 2 years ago (1 child) It's because of laziness. permalink fedilink source parent hideshow 2 child comments replies: [β] GBU_28@lemm.ee 1 point 2 years ago (1 child) There's a difference between lazy and focused on other things. permalink fedilink source parent hideshow 2 child comments replies: [β] SpaceNoodle@lemmy.world -1 points 2 years ago Potato, tomato. permalink fedilink source parent
[β] GBU_28@lemm.ee 1 point 2 years ago (1 child) There's a difference between lazy and focused on other things. permalink fedilink source parent hideshow 2 child comments replies: [β] SpaceNoodle@lemmy.world -1 points 2 years ago Potato, tomato. permalink fedilink source parent