Live data from Hacker News

.NET Orleans

dotnet.github.io

141–150 of 287 posts

Re: .NET Orleans

#141

Earlier quoted context omitted.

Microsoft? Do something to meaningfully and significantly improve F# instead of leaving it in the corner and occasionally tossing it things? You must be joking. I'm mostly convinced F# is there so MS can say "you can do functional things, yeah!" without needing to make a meaningful effort.

There are developers using Orleans with F#, so it does work. It is not as nice of an experience as it ought to be, though. For example, it requires a dummy C# project to hold the generated RPC/serialization code. PRs to improve the experience for F# developers are greatly appreciated.

[deleted]

Re: .NET Orleans

#142

Earlier quoted context omitted.

None of the Microsoft frameworks are like that, especially compared to the enterprise mess of Java or constant spaghetti of JS/Go.

> constant spaghetti of JS/Go. I've written a lot of Go and there are plenty of faults but I'm curious why you consider it 'constant spaghetti' apparently in the same class as JS.

Lack of higher-level language features requiring code duplication/generation, a lean standard library usually necessitating 3rd-party packages, and an utterly terrible module system and fragile tooling setup.

Go is still far better than JS, but both are behind in modules, packaging and overall structure as compared to .NET. gofmt is nice though, more languages should have that.

Re: .NET Orleans

#143

Earlier quoted context omitted.

I spent 10 years doing C# on a big system and love it. However it never got the momentum Java did so I've switched. I prefer C# over Java, I hate a lot of Spring attribute/factory/builder craziness, but Java has so much more wider support I would always choose it first now.

Same here. The Java ecosystem has almost everything you could ever imagine needing so it’s a safer bet. Maybe it’s not as shiny but it works. I don’t understand why MS doesn’t provide the ability to call Java code from .NET. It would open up a lot of libraries to the platform. Right now there are a lot of libraries that are first class in Java but have either no or only half baked .NET ports.

Which libraries? Could you give some examples?

Re: .NET Orleans

#144

Earlier quoted context omitted.

Yea I'm in that thread. It's no longer maintained by Microsoft but the code still exists and runs just fine, and there's not much to maintain other than keeping up with the Node releases and API changes. The closest community project is https://github.com/JeringTech/Javascript.NodeJS and should be a drop-in replacement for `INodeServices` If you just want V8/JS scripting then there's https://github.com/microsoft/Clea…

Have you used it by chance with .NET Core 3 or .NET 5? I was considering using it for some tooling during the build process without using Node.

.NET Core 3 can still use the existing NodeServices package, it'll just show `obsolete` warnings. Haven't tried with .NET 5 yet but will probably switch to that first linked package.

Re: .NET Orleans

#145

Earlier quoted context omitted.

I spent 10 years doing C# on a big system and love it. However it never got the momentum Java did so I've switched. I prefer C# over Java, I hate a lot of Spring attribute/factory/builder craziness, but Java has so much more wider support I would always choose it first now.

Same here. The Java ecosystem has almost everything you could ever imagine needing so it’s a safer bet. Maybe it’s not as shiny but it works. I don’t understand why MS doesn’t provide the ability to call Java code from .NET. It would open up a lot of libraries to the platform. Right now there are a lot of libraries that are first class in Java but have either no or only half baked .NET ports.

Quite possibly the Sun-Microsoft lawsuit from 20 years ago, and the ongoing Oracle/Google drama.

[1] https://www.cnet.com/news/sun-microsoft-settle-java-suit/ [2] https://en.m.wikipedia.org/wiki/Oracle_America,_Inc._v._Goog....

Re: .NET Orleans

#146
post #87
post #81

I spent some time learning dotnet core this year and with the slow-grind progress Microsoft has made it really does look like the technology stack might start to replace Java, Go, Rails, NodeJS, over the next decade. You can really feel Microsoft's experience in language development and enterprise software development coming together to provide better ecosystem ergonomics than other frameworks and toolchains. Specifi…

I'm pretty sure net core will remain for a long time in the enterprise world before making anything in the more open source / general public. It's 2020 I can't name a single server side known application built in net core.

Sonarr/Radarr/Lidarr/Emby/Ombi/Jackett/Jellyfin are all very popular media servers and download managers built in .NET

Bitwarden is a self-hosted lastpass/1password competitor in .NET

You've probably used oauth somewhere powered by IdentityServer, played a game built in Unity, and used a mobile app built with Xamarin.

Re: .NET Orleans

#147
post #132
post #87

Earlier quoted context omitted.

I'm pretty sure net core will remain for a long time in the enterprise world before making anything in the more open source / general public. It's 2020 I can't name a single server side known application built in net core.

I'm incredibly interested in this. A daydream of mine is to create OSS infrastructure/SRE systems in .Net. F# if it makes sense. <3 F#.

Some links to help: 1. https://github.com/quozd/awesome-dotnet 2. https://github.com/thangchung/awesome-dotnet-core 3. https://dapr.io/ 4. https://www.pulumi.com/blog/dotnet-preview/

Re: .NET Orleans

#148
post #66

Earlier quoted context omitted.

I wonder, what would it be worth to the world if there were an actor framework for multiple languages that offered interopability between languages? IIRC Akka.net and Akka aren't compatible with each other.

Dapr is designed to offer this afaik ( https://github.com/dapr/docs/blob/master/concepts/actors/REA... ). It uses GRPC and HTTP to allow clients and services of the virtual actors in various languages (C#, Java etc.) to communicate.

Also ProtoActor which uses GRPC to be cross-platform between C#, Go and Kotlin:

https://proto.actor/

Re: .NET Orleans

#149
post #81

I spent some time learning dotnet core this year and with the slow-grind progress Microsoft has made it really does look like the technology stack might start to replace Java, Go, Rails, NodeJS, over the next decade. You can really feel Microsoft's experience in language development and enterprise software development coming together to provide better ecosystem ergonomics than other frameworks and toolchains. Specifi…

Is it as good as rails? When I run a rails new command, I can setup my postgres connection, nodejs and webpack libraries, rails core library in one command. Rails has database migrations with conventions i like - the timestamp and a file name that represents the action to be performed against the database (e.g. AddNameToBlogs) which that can also be rolled back. I also really like the Rails restful router which is st…

I had about a month of experience with Rails many years back (hobbyist), and have used ASP.Net Core extensively (professionally).

The default web template is far more spartan than what Rails provides out of the box. The workflow you're talking about can be done by installing packages and configuration (5-10min maximum for experienced .Net developers), and I'd wager good money on such a workflow being available as a "dotnet new" template.

Re: .NET Orleans

#150
post #81

I spent some time learning dotnet core this year and with the slow-grind progress Microsoft has made it really does look like the technology stack might start to replace Java, Go, Rails, NodeJS, over the next decade. You can really feel Microsoft's experience in language development and enterprise software development coming together to provide better ecosystem ergonomics than other frameworks and toolchains. Specifi…

Is it as good as rails? When I run a rails new command, I can setup my postgres connection, nodejs and webpack libraries, rails core library in one command. Rails has database migrations with conventions i like - the timestamp and a file name that represents the action to be performed against the database (e.g. AddNameToBlogs) which that can also be rolled back. I also really like the Rails restful router which is st…

I wouldn't rely on "setup everything in 1 command" as indicative of platform quality but .NET does come with the CLI and the unmatched Visual Studio, both of which have plenty of templates and tooling to get you started quickly.

Everything you mentioned can be done with some packages and a few lines of code, and the entire framework does have some opinionated conventions but with much more freedom than Rails. The fact that you can have MVC, Razor Pages, raw controllers, and Blazor all in the same app shows just how much freedom you have.

Post reply on HN