{"id":131,"date":"2014-10-06T01:46:19","date_gmt":"2014-10-06T08:46:19","guid":{"rendered":"https:\/\/www.falatic.com\/?p=131"},"modified":"2014-10-06T01:46:19","modified_gmt":"2014-10-06T08:46:19","slug":"golang-explorations-prime-number-identification","status":"publish","type":"post","link":"https:\/\/www.falatic.com\/index.php\/131\/golang-explorations-prime-number-identification","title":{"rendered":"Golang Explorations &#8211; Prime Number Identification"},"content":{"rendered":"<p>As I learn about <a title=\"Golang.org\" href=\"http:\/\/golang.org\/\" target=\"_blank\">the Go programming language<\/a>\u00a0I thought I&#8217;d share some of what I&#8217;ve learned as an occasional series.<\/p>\n<p>My current Go exploration is prime number identification and the use of Go to\u00a0efficiently (and easily!) spread the workload across multiple CPUs, using language features such as goroutines and channels. You can find it (warts and all)\u00a0via this <a title=\"My repo on Github\" href=\"https:\/\/github.com\/MartyMacGyver\/golang_explorations\" target=\"_blank\">link to my GitHub<\/a>! The takeaway from this is that channels are cheap but not free &#8211; for that matter neither are goroutines &#8211; and that a good mix of the two results in\u00a0some very powerful code.<\/p>\n<!-- wpsso rrssb get buttons: buttons on archive option not enabled -->\n","protected":false},"excerpt":{"rendered":"<p>As I learn about the Go programming language\u00a0I thought I&#8217;d share some of what I&#8217;ve learned as an occasional series. My current Go exploration is prime number identification and the <a href=\"https:\/\/www.falatic.com\/index.php\/131\/golang-explorations-prime-number-identification\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[86],"tags":[111],"class_list":["entry","author-marty","post-131","post","type-post","status-publish","format-standard","category-software-and-hardware-development","tag-go-golang-primes-channels-goroutines"],"_links":{"self":[{"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":0,"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.falatic.com\/index.php\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}