Hacker GitHub

← All repos

dlang/phobos

View on GitHub ↗ ★ 1,265 D

The standard library of the D programming language

13 mentions on Hacker News by 12 people: 0 stories, 13 comments · first 2012-08-30 · latest 2024-10-18

Mentions per year 13 mentions · busiest year 2014 (3)
20082026
  1. …or Zig (and many others). In D it's... oh... it's int128. https://dlang.org/phobos/std_int128.html https://github.com/dlang/phobos/blob/master/std/int128.d
  2. …are actually unit tests [1]. [0]: https://dlang.org/phobos/std_algorithm_searching.html#.all [1]: https://github.com/dlang/phobos/blob/master/std/algorithm/se...
    comment by sixthDot · 2024-10-18 · in Unit tests as documentation
  3. …the docs: < https://dlang.org/phobos/std_functional.html#quickindex.curr... >; the code: < https://github.com/dlang/phobos/blob/42b8c65ccfd35c863f7cedf... >
    comment by Just_Harry · 2024-02-13 · in Non-code contributions to open source
  4. …areas like this where the language falls short, and i can see people instead choosing alternatives https://github.com/dlang/phobos/blob/master/std/sumtype.d a mess of templates and imports to std.traits using this will make your compile…
    comment by Shadonototra · 2022-06-28 · in Adding Modules to C in 10 Lines of Code [pdf]
  5. …[2] https://github.com/dlang/druntime/blob/master/src/core/atomi... [3] https://github.com/dlang/phobos/blob/master/std/concurrency.... [4] https://github.com/dlang/phobos/blob/master/std/parallelism....
  6. …treatment from the compiler. It seems to use D's compile-time features to perform the check. https://github.com/dlang/phobos/blob/v2.093.0/std/stdio.d#L4...
    comment by MaxBarraclough · 2020-08-14 · in Implementing a Type-safe printf in Rust
  7. $ git init Initialized empty Git repository in /tmp/phobos/.git/ $ git remote add origin https://github.com/dlang/phobos.git $ git fetch --depth=1 origin 6e5cdacfa6ac018c6ef42aa9679893676f293f21 error: no such remote ref…
    comment by Ace17 · 2017-06-13 · in Inkscape Moves to GitLab
  8. …language library. Just look at all the code to deal with it in D (written by Jonathan Davis): https://github.com/dlang/phobos/blob/master/std/datetime.d
  9. Check out https://github.com/D-Programming-Language/phobos/blob/master... at line 33 and on. You'll see: version (Windows) { ... } etc. For the specification on how this works: http://dlang.org/version.html The salient point is that…
    comment by WalterBright · 2015-04-27 · in How does D improve on C++17?
  10. …b.com/JuliaLang/julia/blob/master/LICENSE.md [2] https://github.com/golang/go/blob/master/LICENSE [3] https://github.com/D-Programming-Language/phobos/blob/master...
    comment by kibwen · 2014-12-08 · in Golang on GitHub
  11. …Check out the D template system, it is quite impressive what you can express with it. 1: https://github.com/D-Programming-Language/phobos/blob/master...
  12. The standard library (Phobos) is open source. You can find the implementation of memoize at https://github.com/D-Programming-Language/phobos/blob/6cd2e4... memoize is a template ( http://dlang.org/template.html ). In this case, a template…
    comment by jnetterf · 2014-08-28 · in Hidden treasure in the D standard library
  13. …is not the only thing you can do with mixins, but they are surly the first to come to mind.. [1] https://github.com/D-Programming-Language/phobos/blob/master...
    comment by raleks · 2012-08-30 · in D-style Mixins in C#