Hacker News new | ask | show | jobs
by oaiey 1284 days ago
C# tries to be a system language (for writing servers, runtimes, and even operating systems) AND an application language (for writing your favourite apps). So you have now a huge feature set which is focused on efficient memory handling and then you have another feature set on writing nicely applications (think pattern matching etc).
2 comments

It's actually crazy what you can do with C# as far as systems programming nowadays.

I recently wrote a database buffer pool with it, allocating raw aligned memory and directly casting bytes from DB files into in-memory struct pointers.

It's very nearly a systems language in terms of capabilities.

While WinDev keeps ignoring such improvements and rather doubles down on the C++ / COM combo, including forcing everyone else to deal with writing .NET bindings to those APIs.

CsWinRT and win32metadata are still quite far from a great usability experience.