Live data from Hacker News

Viewing profile — schveiguy

schveiguy

HN member
Joined
Fri, May 26, 2017, 9:53 PM UTC
HN karma
143
Public activity
33 items

About schveiguy

No profile information was provided.

Recent public activity

  1. comment
    Comment #46994637

    To be fair, the release cadence has been in a bit of a mess lately. But I expect that to be fixed soon. We don't want 6 months between releases.

  2. comment
    Comment #46994591

    gdc is 100% Iain Buclaw. But he and Walter collaborate on needs for gcc compatibility, as long as Iain is around, gdc will be around. It is true we have a small team. But we are a …

  3. comment
    Comment #46994547

    No, templates are only needed to introduce new symbols. And D templates are vastly superior to C++. D's superpowers are CTFE, static if, and static foreach. auto is used as a retur…

  4. comment
    Comment #46994462

    ooooold drama. Like 2008. FOSS: DMD was always open source, but the backend license was not compatible with FOSS until about 2017. D is now officially part of GCC (as of v6 I think…

  5. comment
    Comment #46994200

    That's the public stuff. An example of Weka talking about how they use D (there are more examples at this and other dconf presentations): https://www.youtube.com/live/Ou4KUBjr_78?s…

  6. comment
    Comment #45701053

    Wow, this was introduced in 2012! https://github.com/dlang/druntime/pull/88

  7. comment
    Comment #45696124

    Thank you for this post. I can tell you that we do appreciate comments like this, and the deficiencies you cite are many of the reasons we are rewriting phobos and druntime. The ti…

  8. comment
    Comment #45690029

    D has been fully unproprietary since 2017. https://forum.dlang.org/post/oc8acc$1ei9$1@digitalmars.com But that's only the reference compiler, DMD. The other two compilers were full…

  9. comment
    Comment #44455645

    > Why "a" `a` is a parameter in the lambda function `a => a.idup`. > Why "map!" This is definitely something that can trip up new users or casual users. D does not use for template…

  10. comment
    Comment #32989255

    import C is not perfect. There are pieces of C that don't map directly to D. Such as #define constants and macros. That being said, it will make writing bindings a LOT easier, even…

  11. comment
    Comment #31752982

    dlangui and dlangide has been adopted by GrimMaple (who is on the D discord as well), and is actively being developed.

  12. comment
    Comment #31752950

    I learned how to use raylib from this youtube series, and used it to teach some homeschool kids D programming. Very nice series!

  13. comment
    Comment #31625389

    The rationale is that in a correctly written program, an Error should never be thrown. It's similar to UB in C. The compiler can assume Errors are never thrown, and so it can not w…

  14. comment
    Comment #31622266

    Oof, seems I got the camelcase wrong. It's `@mustuse` Working on updating that. I think the reason the documentation is cryptic is because it's a library-supplied User Data Attribu…

  15. comment
    Comment #29905816

    The only way you can be saying this is if you haven't experienced metaprogramming in D. C++ does not compare at all. Generics do not compare at all. You can take D metaprogramming …

  16. comment
    Comment #29905771

    You can use arrays as if they were individual operands, and it will expand out the loop and apply the expression to all the values (and can use optimization/vector tricks if posssi…

  17. comment
    Comment #29905669

    the "Split stdlib" thing is about 15 years out of date (and only applied to D1, whose final release was in 2012). I wish that criticism would go away.

  18. comment
    Comment #29905588

    What language are you used to that doesn't do this? I think I would go nuts if I had to always use the fully qualified name for all symbols.

  19. comment
    Comment #27355989

    There are "bad" uses of UFCS, and good ones (sometimes depending on preference). For example, I hate code like `1.writeln`. The major feature that it provides is pipelining (as sho…

  20. comment
    Comment #23010290

    Agreed. I've never felt the need to use betterC. The biggest use case I think is writing modules/libraries for other languages to use.

  21. comment
    Comment #23009946

    No this one: "Returns: A range with each fun applied to all the elements. If there is more than one fun, the element type will be Tuple containing one element for each fun."

  22. comment
    Comment #23009551

    the betterC form of D does not use the GC (and the compiler will let you know).

  23. comment
    Comment #23009446

    Yes, it supports interfaces and unions. One thing not being stated enough in this thread also is that the docs are not just a regurgitated version of the prototypes -- there's actu…

  24. comment
    Comment #23009238

    What am I looking at there? Are those all traits on Vec that I then have to parse mentally so I can understand what I can do with it? Are all those pages basically to say "Vec work…

  25. comment
    Comment #23009062

    Yes, this is the problem for returns, but it's going to be difficult for the compiler to put something useful. The best it can do is point you at the code that returns, and let you…