News for hackers. Stuff that matters.
Re:Why isn’t dotnet core popular among startups? by CharlieDigital on Wednesday September 13, 2023 @11:58AM (#37498443)
There are some tradeoffs, but some really key benefits which make it worth it.

Tradeoffs:

    - You'll have to use Rider if you want a full IDE
    - Or get used to VS Code and know its gaps
    - Some workloads aren't as well supported in VSC (e.g. MAUI, desktop apps); as long as you don't need these, VSC is fine
    - I know at least the CosmosDB emulator straight up does not work in ARM, even with the x64 emulation on the Docker image.  Has been that way since M1 released.
    - Occasionally, you'll run into issues where there are dependencies on x64 binaries like with Google OR-Tools which has a .NET wrapper around a C++ library.
    - Have to get used to configuring cross-platform builds for .NET and Docker (not hard) since you'll often still be running in x64 environments in upstream cloud deploy targets.
    - Terrible multi-monitor support; you'll need a $250+ DisplayLink capable dock for more than 2 screens.
    - And the text doesn't render quite as crisp as Windows; might be that it would if I were using Apple monitors, but the same monitors are notably more crisp with Windows 11.
Benefits:

    - PHENOMENAL battery life; for this alone, it was worth the switch.  It's insane how good the battery life is for the performance.  I've previously used top-of-the-line Dell Precision mobile workstations and the performance for the battery life on ARM64 is just unmatched.  I can run Postgres (in Docker), a handful of Docker images, VS Code, and code on a cross-country flight
    - The form factor is phenomenal.  The same size as a Microsoft Surface 13.5" laptop but has 3 USB-C ports and an HDMI port.  Of course, the phenomenal performance and battery life listed above
    - The laptop is absolutely silent; never hear the fan kick on.  I can be compiling away, running a Node-powered front-end dev runtime, a .NET web API, Docker containers -- never hear a damn thing.  Coding in complete silence is kind of crazy.
    - Stays relatively cool and never reaches the same temps as a Windows Intel laptop
Some lessons learned:

    - It takes a while to remap your brain for KB shortcuts; get Karabiner to save your sanity
    - Download iTerm; it's like Windows Terminal
    - If you switch to VSC, you need to commit to it and get used to the CLI

There are no comments on this comment yet.