Hacker News new | ask | show | jobs
by petterroea 52 days ago
I think Powershell and .net coming to linux is very welcome because I can keep hosting stuff with what I believe is a saner platform, and Windows developers can still keep using the platform they prefer. It's a win-win.

IMO .net is much better than Java, at least it was 10 years ago. So it's not like I don't understand them.

3 comments

C# better than Java the language, yes.

CLR is better on the polyglot approach, although Microsoft nowadays behaves as if C means C# and not Common, and ironically JVM seems to have a more vivid guest languages ecosystem nowadays. Any of Scala, Clojure, Kotlin, Groovy, seem to enjoy more activity than F#, VB or C++/CLI.

There are plus on the JVM side that Microsoft will probably never care for.

- A single vendor implementation, Microsoft no longer cares about ECMA

- Following from being a single vendor, there aren't multiple GC, JIT and AOT approaches to chose from

- Some of those implementations explore having most of the stack bootstraped instead of still being based on C and C++.

- One of them being a compiler development framework, whereas Microsoft killed theirs (Project Phoenix)

- Others offer real time GC, and embedded deployments in high critical computing environments, although less than 20 years ago, there are still three main vendors in this area

- A mobile OS, after Microsoft botched theirs when it was around 10% market share in Europe already, and now they don't have a platform for younger generations

Note that Java, .NET and C++ are my main toolbox tools, thus it isn't hating one over the other.

I just don't like the verbosity of Powershell myself... For that matter, I've trended towards using TypeScript (via Deno) for my user scripts that need more than basic shell interactions. I can reference any repository modules directly, use a shebang in the top of the script with self/executable, and no install step.

For that matter, deno in a shebang for an extensionless file now detects as a TypeScript file properly in VS Code. win-win-win. While being portable with a relatively small executable surface (deon executable only).

> I think Powershell and .net coming to linux is very welcome

It was!

I specifically talk here about a subset of people who was very ignorant but became very angry because... well, they are probably still write it as M$ so there is no point continue.