As title , anyone know webassembly support openmp or not?
If support, how to use it?
Thanks.
No, WebAssembly does not support OpenMP - WebAssembly is an assembly language for the web. If you have the sourcecode for OpenMP, and it is in C or C++, you might be able to compile it to WebAssembly using Emscripten.
Related
I am a student but this is a more general question and not related to any HW
I am using CLION with MinGW 3.2 and CMake 3.2.2 Is this ideal for C++11? Or better phrased is this at minimum compatible and will not crash for most C++11 features?
A lot of my classmates are having issues compiling or getting crashes, my instructor suggested due to many of them not using the class recommended IDE (Visual Studio) and default compiler that it may be because their compiler is not C++11 compatible.
We have not used many C++11 features-in fact the only one we have used so far is auto. (I did some searching before and found that this was a C++11 new feature, is this correct?). Should I be worried about any compatibility issues with my given environment (MinGW 3.2 - CLION uses GCC 32 only last I checked) and CMake (ver 3.2.2)?
Also is CLION a good IDE in general? I have access to VS2013 for a year though I use a WebStorm and PyCharm for other classes and personal projects so I thought I'd stick in the JetBrains family and use CLION.
I am beginning Tizen application developer.
I would like to know what is current support for C++11 features on Tizen?
When will the C++11 standard be fully supported? Maybe some platform developers could shed a light on that topic.
The Tizen 2.3 SDK comes with clang++ version 3.4 and gcc 4.8.
gcc 4.8 is known to not adhere to the C++11 and C++14 standards, clang++ 3.4 is really close to complete for C++11.
However, there's more to C++11 compliance than just the compiler. You also need to have enough support in the C++ library. GCC and Clang have different C++ library projects.
As far as I can quickly tell, Tizen 2.3 ships version 2.13 - which is from 2011.
So don't get your hopes up: things like move semantics, std::mutex, std::async will work, but smaller details like thread local storage will not.
I'm currently studying a book regarding C++, which is quite new. Therefore it also discusses C++11 in some parts. Having Windows Vista, I can't download the latest version of Visual Express, so I'll have to do with the 2010 version. This doesn't support C++11, so I'm currently wondering whether there exists a free alternative which does support C++11.
p.s. - Would you say it's essential/important for a beginner in programming to learn C++11 as well (instead of just the core basics)?
You could consider using virtual machine with a Linux flavor. I had the same problem as you, I installed VirtualBox, then Ubuntu having the latest g++ compiler
You could compile and use Clang on Windows Vista and integrate it to Visual Studio. They have an almost complete support for C++11 now (as of version 3.3).
I'm taking a class in which I'm required to write some C++ apps for Linux. I really, really dislike the dev tools available under Linux, but I love VS2010.
Is there any sort of compiler switch which will enforce ANSI or gcc compatibility in VC++? Or can I swap the compiler out for gcc and still use the VS environment?
You can disable Microsoft extensions to the ANSI C and ANSI C++ standards by specifying the /Za flag, which will make the compiler emit errors if you use non-standard C and C++ features.
http://msdn.microsoft.com/en-us/library/0k0w269d(v=VS.100).aspx
However, this doesn't preclude you from using platform specific headers.
This blog post seems to discuss something similar to what you're after.
I can't seem to find better info than this MSDN document regarding VS2010 ANSI compatibility.
Some alternatives to VS2010 include MonoDevelop - which supports C#, VB.Net, C/C++.
There's also Eclipse IDE for C/C++ Dev.
This stackoverflow question may also be of use.
I was wondering what tools there are out there to generate single-EXE Windows apps, ie. with all the libraries compiled into a single EXE, without any dependencies whatsoever.
I know these:
Delphi
PowerBasic and other non-OO compilers like FirstBasic, etc.
RealBasic
C/C++
Do you of other tools?
Thank you.
It's quite easy to roll various .NET files into a single file, if you're thusly inclined.
http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx
Visual C++ 6. Windows ships with MFC or you can just write to the Win32 API.
You can use modern Visual C++ to do this as well, if you choose the correct options for statically linking.
Another option is to provide all the side-by-side assemblies the in the same directory as your executable, using the correct scheme. But then your assemblies won't be updated by Windows Update.
I believe a Perl compiler still exists which compiles to a native binary (handles multiple target platforms).
Fortran. It's called static linking.
Well for modern versions of Windows that have the .NET framework preinstalled, any of the .NET langs are an obvious choice... VB.NET and C# have those nice GUI builders too :)
This is the M$ answer i suppose as they would say that .NET is not a dependency since its a core part of windows now. Not true for those running windows 2000 at least.