phobos-next

Various generic reusable D code. (by nordlow)

Phobos-next Alternatives

Similar projects and alternatives to phobos-next based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better phobos-next alternative or higher similarity.

phobos-next reviews and mentions

Posts with mentions or reviews of phobos-next. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-11.
  • A new programming language for high-performance computers
    7 projects | news.ycombinator.com | 11 Feb 2022
    The only language I know for sure to do it for you (as in you don't have to write the type) was Jai a while back (I'm told Blow removed that feature).

    The only language I've actually done it in, is D. It's probably doable in many other nu-C languages these days, but D at very least can make it basically seamless as long as you do some try-and-break-shit testing to make sure nothing is relying on saving pointers when they shouldn't. This obviously constrains the definition of automatic ;)

    I don't have my implementation to hand because it grew out of patch that failed due to aforementioned pointer-saving in code that I'm not paid enough to refactor (), but here's one someone else made https://github.com/nordlow/phobos-next/blob/master/src/nxt/s... there's another one in that repository too. I've never used those particular implementations but they're both by people I know so hopefully they're not too bad.

    A more subtle thing, which I haven't used in anger, but would like to try at some point is to use programmer annotations (probably in the form of user defined attributes) to try and group things so things are stored such that temporal locality <=> spacial locality, but I've never bothered to actually do it.

    There are some arrays of structs in an old bit of the D compiler that are roughly the size of a cacheline, and aren't accessed particularly uniformly. I profiled this and found that something like 75% of all LLC misses (hitting DRAM) were due to 2 particularly miserable lines... inside an O(n^2) algorithm.

Stats

Basic phobos-next repo stats
1
0
2.6
about 1 month ago

nordlow/phobos-next is an open source project licensed under Boost Software License 1.0 which is an OSI approved license.

The primary programming language of phobos-next is D.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com