4 ms·
I haven't programmed against .net in almost 15 years so it was cool to see where the ecosystem is today: * latest version is 8.0, released Nov 2023 * cross-pl
by andsoitis 3y ago
I haven't programmed against .net in almost 15 years so it was cool to see where the ecosystem is today:
* latest version is 8.0, released Nov 2023
* cross-platform: Windows, macOS (incl. ARM64), and Linux
* can not only target desktop (Windows & macOS) and server, but also WASM, Android, iOS
* used in game development (Unity, Godot, MonoGame, Stride, FlatRedBall, Everyone, CryEngine, Unigine)
* can target embedded development ("IoT")
* developer tools (Visual Studio) that works across Windows, macOS, and Linux
(source: https://dotnet.microsoft.com/en-us/ https://dotnet.microsoft.com/en-us/)
- Zambyte 3y ago> developer tools (Visual Studio) that works across Windows, macOS, and Linux Dang I was really excited when I saw this because I thought I missed something, but still only support for Windows :(
- andyjohnson0 3y agoVisual Studio for Mac is a thing and I find it pretty good. It doesn't feel as feature complete as the Windows version, but I've never found anything I couldn't work around. Unfortunately it's being retired at the end of August next year. Thanks a bunch Microsoft.
- hu3 3y agohttps://www.jetbrains.com/rider/ https://www.jetbrains.com/rider/ is amazing and cross-platform. From the same authors of ReSharper plugin for Visual Studio.
- cptskippy 3y agoRider and VS Code are slowly killing Visual Studio for .NET development. Unless you're using .NET Framework (legacy framework with confusing name), you're likely better served using anything else.
- calamari4065 3y agoFor a long time, the only reason I ever needed to open VS was for WinForms and WPF visual editing. Earlier this year, Rider implemented a WYSIWYG editor for those frameworks. I think based on Avalonia. Now I have no reason to use VS at all, and my life is better for it
- andyjohnson0 3y ago> Rider and VS Code are slowly killing Visual Studio for .NET development. You're probably right, but I never understand the dislike for VS on HN. For me it's s a reliable, capable tool.
- cptskippy 3y agoMy only complaint with VS is that it's optimal resource requirements always seem to be just beyond the limits of my work issued machine. Functionally I have no issues with it and it's worlds better than a lot of other IDEs that I've used.
- subtra3t 3y agoCould you share the specs of your mschine? Visual Studio seems to run decently on my 4 GB laptop with an 8th generation i3 CPU. It does have an SSD though. It does not run perfectly though. There is definitely a difference in input lag between VS and Sublime text.
- cptskippy 3y agoI have an i9-9880H with 16GB of RAM, I'm in the queue for an upgrade. VS 2022 Enterprise takes a solid 78 seconds to load to the "Open recent" splash page and idles there at 5%. Opening a 16 project solution takes another 34 seconds and the CPU hovers around 48-67% CPU for a minute after opening the solution before dropping down to around 6%. Any coding causes CPU spikes with each keystroke up to 67%. Loading a 150 line class is pretty instantaneous but it takes another 15-20 seconds for the references, last changes, collapsible UI, and inherit/override dialogs to appear. It always feels like I'm waiting, even if it's just 5 or 10 seconds, for what I need.
- all2 3y agoI'll second Rider. Well worth the money, in my experience. I use Rider products exclusively on Linux, and they tend to work well.
- deleted 3y ago[deleted]
- babypuncher 3y agoOthers have mentioned Rider, which is excellent. If you're looking for a free alternative, VS Code with the most recent .NET/C# extensions is a very good experience. Good enough that I suspect it is the reason MS felt it no longer worth maintaining Visual Studio for Mac.
- deleted 3y ago[deleted]
- znite 3y agoThere's also Jetbrains Rider for .net on mac & Linux (google it)
- Mountain_Skies 3y agoThey might have meant Visual Studio Code, which due to Microsoft's continued commitment to naming things poorly, causes a good deal of confusion. VS Code doesn't have all the features of Visual Studio but it's turning into its own impressive ecosystem that even diehard Microsoft haters love.
- bad_user 3y agoWASM, Android, and iOS targeting is subpar, though. For multi-platform client-side targeting, Kotlin is actually more interesting. .NET was always built for showmanship, with somewhat disappointing results when actually tried.
- jayd16 3y agoWhat makes kotlin more interesting besides the first class Android support?
- bad_user 3y agoThe latest Kotlin can target WasmGC. WasmGC became enabled by default, quite recently, in both Chrome and Firefox: https://developer.chrome.com/blog/wasmgc/ https://developer.chrome.com/blog/wasmgc/ Kotlin's support is in Alpha right now, but works well, and it's one of the first language implementations that can target WasmGC: https://blog.jetbrains.com/kotlin/2023/12/kotlin-for-webassembly-goes-alpha/ https://blog.jetbrains.com/kotlin/2023/12/kotlin-for-webasse... By comparison, .NET's Blazor targets LLVM, and they either AOT or JIT, however the client has to download a heavier runtime that has at least a garbage collector (nevermind the JIT), and is less than ideal. Basically, the original Wasm was designed for languages with linear memory and still makes a great target for C++ or Rust, but not for managed languages like Kotlin/Java. dotNET's WASM is there only to support Blazor, which is a web framework, a sort of successor to Web Forms and whose future is uncertain. Speaking of which, you're better off with MVC + HTMX, but I digress. So for more interesting use cases, Kotlin is actually ahead in their Wasm support. For multi-platform support, the company behind it has a vested interest in targeting multiple platforms, and Kotlin Multi-platform support also has Google backing. So, for one, you can share business logic on iOS, as you can integrate Kotlin libraries into Swift applications: https://kotlinlang.org/docs/multiplatform.html https://kotlinlang.org/docs/multiplatform.html And they have been porting Jetpack Compose to the desktop and to iOS (and can be used with Wasm in the browser, too): https://github.com/JetBrains/compose-multiplatform https://github.com/JetBrains/compose-multiplatform Also, see this year's keynote at KotlinConf: https://www.youtube.com/watch?v=c4f4SCEYA5Q&t=2903s https://www.youtube.com/watch?v=c4f4SCEYA5Q&t=2903s Over on dotNET side, the blessed solution by Microsoft, for targeting iOS, Android, or the desktop, is right now .NET MAUI. So, where's Xamarin? Where's Silverlight for that matter? That's right, Microsoft changes multi-platform solutions like they change socks, and I don't understand how anyone could trust them for a multi-platform solution.
- deleted 3y ago[deleted]
- qingcharles 3y agoI find ASP.Net Core to be a fantastic dev platform. I'm running it on a $3/mo Hetzner ARM server. ASP ships with its own highly optimized web server out of the box and Microsoft also has their own Nginx competitor now too. Plus, in some scenarios you can compile down to native and run a very slim system.