Hacker News new | past | comments | ask | show | jobs | submit login

The std.parallelism library in D lets you get some basic CPU info:

https://dlang.org/phobos/std_parallelism.html#.totalCPUs

num_cores: find number of cores in your PC's processor

https://jugad2.blogspot.in/2016/09/numcores-find-number-of-c...

You can also use the library for some simple parallel processing, as the name indicates:

Simple parallel processing in D with std.parallelism

https://jugad2.blogspot.in/2016/12/simple-parallel-processin...




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: