Weltspear
Weltspear
Okay, maybe I'll try to play around with that, but I'm not really an assembly programmer or something so idk.
Would it make sense to push struct fields to the stack instead of passing a struct on the register?
A bit offtopic question but can I share ideas/suggestions in issue tracker?
Struct copying for var to var cannot be done too?
> Struct copying for var to var cannot be done too? I've just noticed that you can do something like that: ```rust import "std/memory.cup" struct A{ i: i32; } initialize...
> > Would it make sense to push struct fields to the stack instead of passing a struct on the register? > > Yep. let's assume the following example: >...
So we allocate more space during parsing of the function?
From what I see it is already done in function parsing.
Instead of doing nested blocks we can do something like this: ```rust with let a = ..., let b = ... { ... } ```