03-06-2016, 06:31 PM
NX Wrote:I think you misunderstood slices, but array copying is dead simplePython has slicing and will reference when you assign an array. But slicing would always do a deep copy, so I thought that's how it'd work too here. But .dup() works well too.
NX Wrote:You're missing the point, static is not reserved for CTFE in anyway ... also be achieved with 'const' keyword.
SomeoneElse Wrote:Because @NightmareX1337 is ... in C++.I see. So I understand things gets implicitly declared for CTFE? I am not sure, this link NX gave is of a forum thread in which the first post links to an issue posted on stack overflow that shows how hideous this can become.
NX Wrote:I don't understand what you mean by that.I mean there are also other factors one should consider when comparing a language to another. I named Vulkan as an example for an API which came available natively on C and not other languages. Other languages one generally need to wait for wrappers and ports or write them on their own. Also, most of the questions/pitholes of C/C++, if not all, have already been asked at least once on the internet for you to find when you're stumbled. That's probably not true for D however, with which you're to expect a less active community supporting it.
![[Image: signature.png]](http://s3.postimg.org/wedqxlk3n/signature.png)
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
A-Engine Dev Blog - Update #8: Timeout

Chat
