(no title)
hvenev | 7 months ago
This post is about memory management and doesn't seem to be concerned much about safety in any way. In C3, does anything prevent me from doing this:
fn int* example(int input)
{
@pool()
{
int* temp_variable = mem::tnew(int);
*temp_variable = input;
return temp_variable;
};
}
cayley_graph|7 months ago
lerno|7 months ago
unscaled|7 months ago