digitalmars.D.learn - Phobos docs in pdf?
- SeanC4s (2/2) Aug 16 2018 I never program with a computer connected on-line. I need the
- Jonathan M Davis (12/14) Aug 16 2018 Personally, I'd just look at the source code then, but the dlang.org bui...
- SeanC4S (14/14) Aug 17 2018 I used CUPS to print as pdf individual pages from the standard
- Jonathan M Davis (7/21) Aug 17 2018 If really want good optimization, then use ldc. dmd does a decent job, b...
- Steven Schveighoffer (6/8) Aug 17 2018 The downloaded tarball comes with the full html documentation. Just open...
I never program with a computer connected on-line. I need the standard library docs in some off-line format.
Aug 16 2018
On Thursday, August 16, 2018 10:36:34 PM MDT SeanC4s via Digitalmars-d-learn wrote:I never program with a computer connected on-line. I need the standard library docs in some off-line format.Personally, I'd just look at the source code then, but the dlang.org build does seem to have a pdf target that it says "Generates the D specification as a PDF." So, presumably, it's possible to create a pdf of at least the language spec, though I don't know if it includes the Phobos docs like the html build does. I've never used it, so I don't know exactly what it does, and I don't know if the result is built and provided anywhere. However, if you download the release as a zip file (or xz or whatever), it includes an html directory that has all of the documentation. So, you should be able read that in your browser. - Jonathan M Davis
Aug 16 2018
I used CUPS to print as pdf individual pages from the standard library. I want to get all the basic information I need easily at hand. I used unpredictableSeed in my code. It seems to be a property of something somewhere. I hope it is thread safe. Who knows? I guess I'll look at the source code like you say to try to understand. The plan is to use D as a low level programming language as much as possible. In particular to maintain the ability to translate the code to other languages as easily as possible. I wonder if there is an integer bit rotate instruction in D somewhere? I see the dmd complier doesn't convert say s3=(s3 << 45) | (s3 >>> 19); into a rotate instruction like gcc would. Maybe I need to find some optimizer settings for dmd.
Aug 17 2018
On Friday, August 17, 2018 5:19:11 AM MDT SeanC4S via Digitalmars-d-learn wrote:I used CUPS to print as pdf individual pages from the standard library. I want to get all the basic information I need easily at hand. I used unpredictableSeed in my code. It seems to be a property of something somewhere. I hope it is thread safe. Who knows? I guess I'll look at the source code like you say to try to understand. The plan is to use D as a low level programming language as much as possible. In particular to maintain the ability to translate the code to other languages as easily as possible. I wonder if there is an integer bit rotate instruction in D somewhere? I see the dmd complier doesn't convert say s3=(s3 << 45) | (s3 >>> 19); into a rotate instruction like gcc would. Maybe I need to find some optimizer settings for dmd.If really want good optimization, then use ldc. dmd does a decent job, but ldc is much better. dmd compiles very quickly, so it's likely to be better for development, but if you want every ounce of performance, it's a poor choice. - Jonathan M Davis
Aug 17 2018
On 8/17/18 12:36 AM, SeanC4s wrote:I never program with a computer connected on-line. I need the standard library docs in some off-line format.The downloaded tarball comes with the full html documentation. Just open it from the file. That's what I've done (I generally am online to program, but sometimes, like when I'm on a plane, I want to have offline doc access). -Steve
Aug 17 2018