- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I've been trying to write concurrent code for quite a while but I am not sure if I am making progress. I have this question that might be able to help me with other related ones.
Sample code:
package main
import "fmt"
func main(){
go test()
go test()
var in bool
fmt.Scanln(&in)
}
test(){
fmt.Println("test")
}
// ********************************************************************
In the above code, is that all I need to do to achieve concurrency in Go?
Thanks ^.^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gaurav,
Check the following link that provides information about qualification for free software for students: https://software.intel.com/en-us/qualify-for-free-software/student
Intel® Parallel Studio XE Cluster Edition (includes Fortran and C/C++) includes VTune
Not sure about how things work. I'm just providing you the link and you can perform some research based on the info on this link.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gaurav,
Concurrency is not a child's play. Mastering concurrency is hard. Mastering software development is hard. However, there are many tools such as Intel Parallel Advisor that make it easier to master concurrency. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's been a little hard to find resources / tutorials for concurrent programming. But when I saw that how I don't need to write threads and manage them in Go explicitly, I simply made my functions act like go-routines assuming that I've achieved concurrency. So, does Intel's IDE support Go or should I get something else for that? Or is there any documentation regarding concurrency in go that can help me optimize my programs?
Thanks in advance ^_^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gaurav,
Intel® VTune Amplifier 2017 supports Go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gaurav,
You can check the details about Intel® VTune Amplifier 2017 in the following link: https://software.intel.com/en-us/intel-vtune-amplifier-xe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BTW, the following is a link with the documentation about support for the Go programming language: https://software.intel.com/en-us/node/712253
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Gaston,
Thanks for the resources. But Intel® VTune Amplifier 2017 is a little too expensive for me. Isn't there a student edition. I do believe, I have a student key with me but I am not sure how to use it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gaurav,
First, you can work with the trial version to check whether Intel® VTune Amplifier 2017 provides value to you. You can download a free 30-day trial version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gaurav,
Check the following link that provides information about qualification for free software for students: https://software.intel.com/en-us/qualify-for-free-software/student
Intel® Parallel Studio XE Cluster Edition (includes Fortran and C/C++) includes VTune
Not sure about how things work. I'm just providing you the link and you can perform some research based on the info on this link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I will see to it then. Thanks for your help though. Much appreciated ^_^
My friends told me Intel® VTune Amplifier 2017 really is amazing, lets see if it works for me too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gaurav,
It is great to know the info I've provided you is helpful. Your friend told you the truth. VTune Amplifier rocks.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page