Hacker Newsnew | past | comments | ask | show | jobs | submit | zteppenwolf's commentslogin

Why would anyone want .NET on Linux?

C# is cross platform, I'd bet money that most .Net services run on Linux these days (Azure runs more Linux VMs than Windows VMs after all) This just fills the client side gap so you can unify the full stack under one language a la node etc

Hundreds of thousands of .NET applications run inside Linux Docker containers.

Orgs that have their LOB software written in .NET and want to migrate to Linux without rewriting it. Avalonia's commercial offering is designed to do exactly that.

Because .net is a good set of libraries, C# is a really nice language to program in, and because having cross platform software under the same code base is a good thing.

My guess would be so that they could make use of a single code base.

At work we have over ten major products written in .NET and running as Linux containers in the Cloud.

No. Code will contain bugs, won't be self-contained (will depend on 3rd party libraries and frameworks), and often will not be complete as TODO features can't possibly be a spec

It's working fine for me.

I'm lucky enough to have upper management not pressuring to use it this or that way, and I'm using mostly to assist with programming languages/frameworks I'm not familiar with. Also, test cases (these sometimes comes wrong and I need to review thoroughly), updating documentation, my rubber duck, and some other repetitive/time consuming tasks.

Sometimes, if I have a simple, self-contained bug scenario where extensive debug won't be required, I ask it to find the reason. I have a high rate of success here.

However, it will not help you with avoiding anti-patterns. If you introduce one, it will indulge instead of pointing the problem out.

I did give it a shot on full vibe-coding a library into production code, and the experience was successful; I'm using the library - https://youtu.be/wRpRFM6dpuc


Rust's widely used serde library presents a large serialization overhead due to its visitor pattern, that is inefficient when compared to serialization implementations that simply follows the static declarations.


This post is so 2001


Every year is the year of linux desktop.


I guess people who continue to use Windows in 2024 arguably deserve this, particularly those utilizing it in a production environment.


It's truly horrifying how many critical systems run Windows.


It was Windows in this case but nothing is stopping it from happening with any other widely used system that gets online updates. CrowdStrike has root on Linux/MacOS as well after all.

The problem is relying on networked computers for critical infrastructure with no contingency plan. This sort of thing will happen whether because of a bug or because of ransomware. The software and hardware industries are incapable of producing reliable and safe products in our economic system.

Important services such as hospitals, groceries, water treatment plants, and electric grids should be able to operate in offline mode when this sort of thing inevitably happens.


what about all the people that use services provided by people that use windows? should there be some sort of pushback here?


No news there. NSA is not to be trusted. It's been a decade since serious cryptographers stopped using primitives researched @ NSA.


I'm personally not a big fan of CLion. Too heavy, not as near customizable as (Neo)Vim, this damned `.idea` folder, constant re-caching. I tried to use it a couple of times, but always ended up going back to Vim.


This is very cool! I created this small convenience script without the intent to customize `Termdebug` itself, leaving any preferences to the users. But I can see many nice things you added there that can combine very well with the two!


Oh no, this is just a wrapper for `RR`. Any visualization customization must be done via `~/.rr_gdbinit` and `~/.gdbinit`


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: