3 ms·
D is a nice language. It has a wide range of features, but one can get started with it without learning all of them. Here are a handful of D programs that use
by vram22 8y ago
D is a nice language. It has a wide range of features, but one can get started with it without learning all of them.
Here are a handful of D programs that use various features of the language and some of its libraries, on my blog. Most of them are simple command-line utilities to do various things. Readers may find them of use to get a flavor of the language and to know some of the kinds of things it can be used for.
I used the DMD compiler to compile and run them on Windows.
A few of the posts are about interviews too.
Don't miss the interview where the creators or key people from the C++, Rust, D and Go languages talk to each other on a panel about some of the pros and cons of their respective languages - and incident near the end of the video, involving Bjarne Stroustrup (the LangNext video below).
Porting the text pager from Python to D (DLang):
https://jugad2.blogspot.com/2017/04/porting-text-pager-from-python-to-d.html https://jugad2.blogspot.com/2017/04/porting-text-pager-from-...
Simple parallel processing in D with std.parallelism:
https://jugad2.blogspot.com/2016/12/simple-parallel-processing-in-d-with.html https://jugad2.blogspot.com/2016/12/simple-parallel-processi...
Video: Interview: GoingNative 6: Walter Bright and Andrei Alexandrescu - D Programming Language:
https://jugad2.blogspot.com/2016/11/video-interview-goingnative-6-walter.html https://jugad2.blogspot.com/2016/11/video-interview-goingnat...
Using std.datetime.StopWatch to time sections of D code:
https://jugad2.blogspot.com/2016/11/using-stddatetimestopwatch-to-time.html https://jugad2.blogspot.com/2016/11/using-stddatetimestopwat...
Read from CSV with D, write to PDF with Python:
https://jugad2.blogspot.com/2016/10/read-from-csv-with-d-write-to-pdf-with.html https://jugad2.blogspot.com/2016/10/read-from-csv-with-d-wri...
Command line D utility - find files matching a pattern under a directory:
https://jugad2.blogspot.com/2016/10/command-line-d-utility-find-files.html https://jugad2.blogspot.com/2016/10/command-line-d-utility-f...
min_fgrep: minimal fgrep command in D:
https://jugad2.blogspot.com/2016/10/minfgrep-minimal-fgrep-command-in-d.html https://jugad2.blogspot.com/2016/10/minfgrep-minimal-fgrep-c...
num_cores: find number of cores in your PC's processor:
https://jugad2.blogspot.com/2016/09/numcores-find-number-of-cores-in-your.html https://jugad2.blogspot.com/2016/09/numcores-find-number-of-...
Calling a simple C function from D - strcmp:
https://jugad2.blogspot.com/2016/09/calling-simple-c-function-from-d-strcmp.html https://jugad2.blogspot.com/2016/09/calling-simple-c-functio...
Component programming in D - DDJ article by Walter Bright:
https://jugad2.blogspot.com/2016/09/component-programming-in-d-ddj-article.html https://jugad2.blogspot.com/2016/09/component-programming-in...
Func-y D + Python pipeline to generate PDF:
https://jugad2.blogspot.com/2016/09/func-y-d-python-pipeline-to-generate-pdf.html https://jugad2.blogspot.com/2016/09/func-y-d-python-pipeline...
Interview: Ruminations on D: Walter Bright, DLang creator:
https://jugad2.blogspot.com/2016/08/interview-ruminations-on-d-walter.html https://jugad2.blogspot.com/2016/08/interview-ruminations-on...
file_sizes utility in D: print sizes of all files under a directory tree:
https://jugad2.blogspot.com/2016/08/filesizes-utility-print-sizes-of-all.html https://jugad2.blogspot.com/2016/08/filesizes-utility-print-...
Video: C++, Rust, D and Go: Panel at LangNext '14:
https://jugad2.blogspot.com/2016/08/video-c-rust-d-and-go-panel-at-langnext.html https://jugad2.blogspot.com/2016/08/video-c-rust-d-and-go-pa...
deltildefiles: D language utility to recursively delete vim backup files:
https://jugad2.blogspot.com/2016/07/deltildefiles-d-language-utility-to.html https://jugad2.blogspot.com/2016/07/deltildefiles-d-language...
[DLang]: A simple file download utility in D:
https://jugad2.blogspot.com/2016/05/dlang-simple-file-download-utility-in-d.html https://jugad2.blogspot.com/2016/05/dlang-simple-file-downlo...
Getting CPU info with D (the D language):
https://jugad2.blogspot.com/2016/05/getting-cpu-info-with-d-d-language.html https://jugad2.blogspot.com/2016/05/getting-cpu-info-with-d-...