Hacker News new | ask | show | jobs
by nojito 1602 days ago
> I think Rust has the best WASM tooling, and the 2020’s may end up being the WASM/Rust decade.

Still pales in comparison to .NET

1 comments

Look to the future, not to the past.
I mean, Microsoft seems to be making it clear that the replacement for old-school ASP.NET formsy apps to be Blazor, which is C# you write that runs in the browser via WASM. Makes making SPAs easier if that’s your stack.

https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blaz...

I'm rewriting an MVC 5 app in Blazor as we speak. I'm "full-stack" but my JS skills are pretty low compared to C#, which I am extremely comfortable with. It is actually extremely fun to work with. Havin ability to inject a service directly into a page is amazing.

I'm hoping Blazor gets more popular. However, I will see how this project goes and if I hit any major road blocks, so my opinion my shift. So far it seems like a great option.

What I would really love is to see XAML-like layout in the browser. CSS is a mess I can never wrap my mind around even with the flex model. Whereas the XAML model is much simpler (a measure pass to size components, an arrange pass to lay them).
I think css is mostly a sane low level layout system (which allow you to produce whatever pixel you want, like opengl or whatever) instead of a predefined component system. It will never have those nicely designed components buildin (because it is not its goal). And the complexity price comes from the flexibility it demands.
XAML's layout components are much easier than HTML/CSS but styling XAML components is way over-complicated compared to CSS.
Thankfully there are tools like Blend.
Look to what’s being used in prod, not HN hype.