https://code.dlang.org/packages/tardy
https://github.com/atilaneves/tardy
Tardy lets users have their cake and eat it too by not making
them have to use classes for runtime polymorphism. No inheritance
anywhere to be found, which means structs, ints, and arrays can
be used with dynamic dispatc
On Saturday, 13 June 2020 at 15:11:49 UTC, Atila Neves wrote:
https://code.dlang.org/packages/tardy
https://github.com/atilaneves/tardy
[snip]
This is pretty cool. Thanks for sharing.
I have a few questions/comments:
1) It might make a good blog post at some point to discuss this
and the pe
On Saturday, 13 June 2020 at 15:11:49 UTC, Atila Neves wrote:
Tardy lets users have their cake and eat it too by not making
them have to use classes for runtime polymorphism.
This is one of those things that is so obvious in hindsight.
Genius.
On Saturday, 13 June 2020 at 15:11:49 UTC, Atila Neves wrote:
https://code.dlang.org/packages/tardy
https://github.com/atilaneves/tardy
Cool stuff!
What's the reasoning behind implementing your own vtables instead
of using D's built-in object system? Don't want to be stuck
inheriting from O
On Thursday, 4 June 2020 at 18:01:55 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.092.1 point release,
♥ to the 8 contributors.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.092.1.html
As usual please report any bugs at
https://issues.dlang.org
-Ma
https://github.com/ZigaSajovic/optimizing-the-memory-layout-of-std-tuple
Would be interesting to adapt it for std.tuple.
On 6/13/20 2:39 PM, Paul Backus wrote:
On Saturday, 13 June 2020 at 15:11:49 UTC, Atila Neves wrote:
https://code.dlang.org/packages/tardy
https://github.com/atilaneves/tardy
Cool stuff!
What's the reasoning behind implementing your own vtables instead of
using D's built-in object system? D
On Saturday, 13 June 2020 at 19:11:33 UTC, Andrei Alexandrescu
wrote:
https://github.com/ZigaSajovic/optimizing-the-memory-layout-of-std-tuple
Would be interesting to adapt it for std.tuple.
Look possible. At first glance, staticSort on the template
variadic argument based on a predicate temp
On 13.06.20 21:11, Andrei Alexandrescu wrote:
https://github.com/ZigaSajovic/optimizing-the-memory-layout-of-std-tuple
Would be interesting to adapt it for std.tuple.
That's likely to run into the following arbitrary language limitation:
---
alias Seq(T...)=T;
struct T{
int a,b;
alia
On Friday, 12 June 2020 at 19:10:06 UTC, jmh530 wrote:
Why do you use a class for YahooMinerD (also the name
YahooFinanceD might get more people to use)? It doesn't look
like you are using any inheritance. I don't see any reason not
to change to a struct and avoid new.
Thanks! I liked the ne
On Friday, 12 June 2020 at 20:29:57 UTC, Jan Hönig wrote:
This could be a really cool tool to play with. For the writing
out part, maybe the class should accept a function or a
delegate, or some template hook, to write out the data, so the
user can define it itself. Your WriteToJson could then
On 6/13/20 7:30 PM, Timon Gehr wrote:
Another question is if automatic packing is worth making the layout
harder to predict.
I think so. Size does matter.
On Sunday, 14 June 2020 at 03:08:48 UTC, Andrei Alexandrescu
wrote:
On 6/13/20 7:30 PM, Timon Gehr wrote:
Another question is if automatic packing is worth making the
layout harder to predict.
I think so. Size does matter.
If you are talking about implementing a tuple type into the
language
On 6/13/20 11:55 PM, Avrina wrote:
On Sunday, 14 June 2020 at 03:08:48 UTC, Andrei Alexandrescu wrote:
On 6/13/20 7:30 PM, Timon Gehr wrote:
Another question is if automatic packing is worth making the layout
harder to predict.
I think so. Size does matter.
If you are talking about implemen
14 matches
Mail list logo