3 ms·
Then you can use a language and runtime like C# or Java. Or you can use patterns like Go promotes. There are lots of options if you want.
by tracker1 2y ago
Then you can use a language and runtime like C# or Java. Or you can use patterns like Go promotes.
There are lots of options if you want.
- lmm 2y ago> Then you can use a language and runtime like C# or Java. Or you can use patterns like Go promotes. But in that case you're stuck paying the overhead 100% of the time, even though 90% of the lifetimes are simple. (Perhaps a little less so with escape analysis etc., but doing it at compile time in a way that's understandable in the source feels a lot more reliable)
- neonsunset 2y agoJava and C# are languages of different class. C# is perfectly capable of systems programming and manual memory management that is at least more convenient than C (but not C++ with move semantics and operator overloading abuse, otoh C#'s type system and build process are saner which at least partially pays for this).