metaltyphoon
Joined 759 karma
- metaltyphoonWhat was the rationale to not use cargo? By the way, I really enjoy when you are a guest on the fallthrough podcast.
- Unless someone is vetting code, nothing.
- > and similar package ecosystems altogether
Realistically, this is impossible.
- I truly despise the damage those books did to the SWE as a whole.
- It’s this simple in .NET
ArrayPool<T> - > many devs keep ignoring
And thats why Zig don’t offer much. Devs will just ignore it.
- What are you trying to imply?
- I don't consider C# a very large language. Most of what has been added removed boilerplate code. Swift, a much younger language, is way more complicated IMO
- > Those two aren’t natively compiled
Idk how up to date ou are in .NET but so you can have an idea how trivial it is in C#:
That’s it. By default C# is natively compiling.echo ‘Console.WriteLine(“hello world”);’ >> app.cs dotnet publish app.cs - > Minecraft
Typo?
- Out of all those only Java and Kotlin captured significant market like OP mentioned
- ‘static
- > I am almost certain that the zig project will somehow manage to survive anyway without you following them.
It took longer than expected for this comment to show up.
- C#?
- >zero actual dependencies
on Linux only with CGO_ENABLED=0 and good luck using some non web related 3rd party module which can be used with CGO disabled.
- This is exactly the problem, thread safety. The function being supplied with std.Io needs to understand what implementation is being used to take precautions with thread safety, in case a std.Io.Threaded is used. What if this function was designed with synchrony in mind, how do you prevent it taking a penalty guarding against a threaded version of IO?
- Why? Asynchrony has nothing to do with multiple threads. In fact you can have async with only a single thread!
- Except that now your library code lost context on how it runs. If you meant it to be sync and the caller gives you an multi threaded IO your code can fail in unexpected ways.
- In C# that Task is ALWAYS hot, aka scheduled to run.