Is it possible to high performance computing by Golang and CUDA? [closed] - go

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've googled for a while and the only useful infos are:
github.com/barnex/cuda5
mumax.github.io/
Unfortunately, the latest Arch Linux only provides CUDA 7.5 package, so the barnex's project may be not supported.
Arne Vansteenkiste recommends concurrency rather than pure Golang or Golang plus CUDA. What's more, there's someone says the same idea that "Wouldn't it be cool to start a goroutine on a GPU and communicate with it via channels?". I think both of these ideas are wonderful since I would like to change the existing code as little as possible instead of refactoring the whole program. Is the idea possible, or is there some documents introducing this topic in details?
Update
It seems that there's two bindings to HPC in Golang:
CUDA (< 6.0): github.com/barnex/cuda5
OpenCL: github.com/rainliu/gocl
Both of them are less documented, currently what I got is only Macro13's answer, very helpful, but it's more about java . So please help me some detailed materials in Golang. Thanks!

Related

What are simple but efficient parallel loops in Microsoft visual studio 2019? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am writing a numerical program using C++, I need to run some lines of my code in parallel. Also, I need to lock some parameters during calculation to keep them safe from unwanted changes.
I do not have a strong background in Concurrency and parallelism.
I need to know what is the simplest parallelization method in Microsoft VS 2019 considering these requirements?
I am looking forward MS solutions and of course I am not mean Open MPI.
It helps more if you provide some examples.
Thank you very much.
You might want to look into use of /Qpar flag for compiler and #pragma loop. There is online documentation on that.

Good suggestion on programming language for finance? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
My goal is 1) to obtain financial data from yahoo api or same kind 2) apply data into my model.
I know some R-programming and very basic shell scripting on linux(I am working on ubuntu).
Since I am not expert on any of those and now I have purpose of learning a language, I want to know what type or kind of language would be good for my goal.
I researched a little and Java, C++, SQL are popular but I don't know why they are.
I like shell scripting style.
Any suggestion?
I would use Python. It works very well cross platform and I have seen some great financial data apps made with it. Also if you are using Ubuntu already Python will help you do more with it. That is the reason I decided to learn Python. I use Python 2.7 but 3.3 should work just as well.

Best way to get feedback on open sourced project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What is the best way to open source a project I would like help on? I'm aware of source forge, but is there some way to advertise "I'm a newbie looking to improve my coding skills, so here is a working project I'm uploading in hopes of learning how to code better?" I currently have a Cocoa program I wrote that works fine, but I'm certain there are inefficiencies and leaks in my code that I will never know about unless someone with more experience points them out.
Judging from my experience, if your project is considered to be useful, people will start submitting bug reports and patches by themselves. If that happens, get in touch with your submitters, offer them write access to the code base, distribute responsibility.
That way, you'll learn a lot about coding and, more importantly, team management.
That having said, why don't you participate in existing projects in order to improve your coding skills? Reading other people's code will boost your capabilities far more than just writing your own stuff.

Projects handler program [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
In our company we need a project handler so we decided to write our own.
We use CMake and bazaar and we still don't know if to store the informations of the
projects in XML format or in a database.
We are locked at this point: we would like to use as less languages/tools as possible
but we cannot find a way to interface CMake with XML files or databases.
An idea could be Python but it would be really annoying to use a new language just for an interface. We've seen that there's a Python framework (Waf) but we have already used CMake for all our projects and it would take a lot of time to convert all.
We work with Ubuntu and Windows.
Suggestions ?
thanks in advance
Rather than make your own tool, use an off-the-shelf product like something from the Jira suite, or BuildMaster. Many of these have great integration with most build software and don't require you to write and maintain your own stack just to manage projects.
Focus your developer time on solving your business problems, not on reinventing the wheel. Their time is MUCH more valuable than the cost of using a ready-made solution.

Is there a performance hit when running obfuscated code? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
All,
I am proposing the addition of code obfuscation to the standard build process at my organization. One of the questions being asked is whether there is a performance hit to running obfuscated code vs. running unobfuscated code.
What is your experience? Have you seen a reduction in performance at runtime because you obfuscated your Java or C# code?
Thanks,
VI
It depends on how you are obfuscating it. If you use one of the tools that replaces all the names of objets and functions, then there should be no change at all. The compilers don't care what you call anything, whether it's useful to a developer (fetchProjects()) or just (funcA()).
You may wish to read about my over-obfuscation experiments: Impact of Flow Obfuscation on Performance.

Resources