Hacker News new | ask | show | jobs
by d3nj4l 1366 days ago
You want C# with dotnet AOT.
1 comments

You beat me to it. Exactly this - use C#.
Last I checked C# didn't have an algebraic type system...
But F# is sitting in the corner with an eyebrow cocked suggestively.
C# does not have "type" keyword and really lacks behind with enums. You can theoretically replace algebraic type system with inheritance, however that's a lot of times ugly and you propablly shouldn't do it.