Gan:

Is there some special stuff I gotta do extra with structs? Do they need manually allocated and released?

Most of your usages of tiny structs should be by value. So just keep in mind they are values. Even when you iterate with a foreach on a mutable array of them :-)


On a second question, do I ever need to manually release objects I create with new?

Usually not. How much advanced do you want to be? :-)

Bye,
bearophile

Reply via email to