On Friday, 25 March 2016 at 01:07:16 UTC, maik klein wrote:
Link to the blog post: https://maikklein.github.io/post/soa-d/
Link to the reddit discussion:
https://www.reddit.com/r/programming/comments/4buivf/why_and_when_you_should_use_soa/
Neat. I've actually thought about writing exactly
On Friday, 1 April 2016 at 19:03:03 UTC, ag0aep6g wrote:
I dislike that the type depends only on the given name. This
effectively means that the names are in a global namespace.
[snip]
I can't think of a truly nice way to accomplish this, though.
As far as I see, it needs a mixin of some kind.
On Friday, 1 April 2016 at 21:46:35 UTC, ag0aep6g wrote:
On 01.04.2016 22:59, Simen Kjaeraas wrote:
The usual way to fix it would be to include __FILE__ and
__LINE__ in the
template arguments:
Right, no mixin this way. I wouldn't call this "truly nice",
though.
It depends on code
On Saturday, 2 April 2016 at 01:19:45 UTC, Meta wrote:
What is needed is Lisp's gensym construct.
That's basically what I said, no? :p
One problem of lisp's gensym (if we were to use it in D) is that
it's simply a monotonically increasing number with a global
prefix. It's perfect for the
On Monday, 9 May 2016 at 00:44:09 UTC, Peter Häggman wrote:
Their tuples seem to be a complete DIY:
https://msdn.microsoft.com/en-us/library/system.tuple(v=vs.110).aspx
I wouldn't be surpised to see in the implementation an array of
variant or something like that, explaining why it's limited