4 ms·
How different is the UPC language from C?
by pmoriarty 9y ago
How different is the UPC language from C?
- smegel 9y agoSomething about "pointers-to-shared" from reading the feature list. What that is who knows.
- convolvatron 9y agoits a shared memory programming paradigm that can be implemented on distributed memory machines. UPC programs dont have strong any consistency guarantees. it does have a formal memory model so you know what semantics you can depend on. its kind of a cultural successor to the SHMEM programming model which I think was developed in the 90s for the Cray t3e. at least until recently it was used quite by the NSA, but LBNL has been investing in it for general scientific use (multigrids has been a focus) the previous environment was open source, so I'm not sure what moving to a gnu project changes. the old compiler was getting long it the tooth, so its probably just a refresh of the compiler base.
- rurban 9y agoThere are a couple of compiler backends. The traditional Berkeley UPC to C translator is based on the Open64 compiler, then there are also integrated translators into GCC (this one), clang, and many others. The generated C code can be further compiled with the system compiler, but with the integrated systems this is not needed.
- yablak 9y agoSome context would have been nice. UPC is made for massively parallel systems (supercomputers, etc): http://upc.lbl.gov/ http://upc.lbl.gov/
- perturbation 9y agoI would like more info on this as well, it kind of looks like C + built-in MPI.
- pletnes 9y agoThat about sums it up. Coarray fortran is a «competitor» that seems a lot easier to use.
- greglindahl 9y agoCoarray Fortran is part of the Fortran 2008 standard, so support for it is very widespread.