Live data from Hacker News

G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

davidobando.github.io

21–30 of 107 posts

Re: G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

#21
Yuck. I like both Go and C# a lot, and use them both professionally.

In my experience the strengths of Go are mostly - Deployability via single-file static binaries - Simple syntax that anyone can learn (no exceptions, no classes or inheritance) - Wicked fast compile times

And the strengths of C# are - Powerful language with null-safety and lots of syntax sugar - Runtime-level coroutines so you don't need `async/await` everywhere

G# seems like it has the _worst_ of both worlds, not the best. It's fun to write compilers, and good on them for doing it, but no thank you for real use

Re: G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

#22

Here I am wanting the opposite. I want C# compiled into a static binary like with the GoLang toolchain! Maybe .NET AOT will get there one day..

I used it recently to write a useful utility related to OpenTelemetry file processing. .NET AOT produced a single-file static binary which is similar in size to what Go would produce, and can be dropped into any target system and run without dependencies, just like Go does.

It was nice. Feel free to take a look

https://github.com/OctopusDeploy/OtelImporter

Re: G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

#24
post #16

Here I am wanting the opposite. I want C# compiled into a static binary like with the GoLang toolchain! Maybe .NET AOT will get there one day..

What's missing in .NET AOT?

That’s a dishonest question, take any code base >10000 slices, it will not work with aot ootb.

Read the docs of what’s missing, if you are honestly interested in what’s missing.

https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...

Reflection, is one thing. Of course some runtime stuff are missing, but the problem is that no one is using source generators before trying out aot, so as soon you try aot you just meet a wall of compilation errors. Most people just want to be able parse a json file without jumping through hoops. Bad DX

Re: G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

#25
I'm less familiar with Swift but from a design point of view Go and Kotlin have really different ergonomics. Kotlin leans in really hard to creating DSLs etc. whereas Go avoids all that stuff like the plague. To me this makes the tag line a little confusing, like what does this imply for the design of this language?

Re: G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

#29

I wish README is clear whether they are using AI or not, and if so what the guidelines are. Not that anything wrong with using it, but given anyone with $$$ for tokens can do it, its nice to know what their process is etc etc. Gives me more confidence that its worth checking out.

It’s slop

Re: G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

#30
post #3

dupe: https://news.ycombinator.com/item?id=48876506

You've been tricked by the SCP, this is the dupe - check the IDs (it's older than the one you linked to.. although there's also the one 31 days ago /w 9 points/2 comments from the OP)
Post reply on HN