Re:Show HN: Strife, a 2D game library for Go
by kjeetgill on Saturday September 29, 2018 @12:55PM
(#18101399)
Unfamiliar with any game codebases or much C++, but I know in C we'd do zero-allocation or controlled arena allocation for "embedded" uses. I'd imagine Allocation tuning is always present. Was it much harder in C#?
[ Parent
| on HN ]
Re:Show HN: Strife, a 2D game library for Go
by pjmlp on Saturday September 29, 2018 @02:25PM
(#18101926)
.NET has support for stack allocation and manual management of native memory.
Many forget that MSIL is rich enough to support C++, initially via Managed C++, later replaced by C++/CLI.
The major features in C# 7.3 are related to slices, improved stack allocation and reducing copies of value types.