SlideShare a Scribd company logo
1 of 16
Name: Kameshwaran S
RegNo: 10BIT0233
What is SunStudio?
The Oracle Solaris Studio, formerly named Sun
Studio,
Sun
Workshop,
Forte
Developer,
and
SunPro
Compilers,
is
a compiler suite which is Oracle Corporation's flagship
software development product for the operating
systems Solaris and Linux.
Compilers


The Oracle Solaris Studio software delivers
optimizing
compilers
for
C,
C++,
and
Fortran, libraries, and performance analysis.
 Debugging tools for Solaris on SPARC, and both
Solaris and Linux on x86/x64 platforms, including
multi-core systems.
Free of Cost
 The Oracle Studio compiler and development tools

software suite is downloadable at no charge from an
Oracle Website.
 For download:

http://www.oracle.com/technetwork/serverstorage/solarisstudio/downloads/index.html
How many different licenses does Oracle Solaris
Studio have and what are the main differences?
There is only 1 license, which is a perpetual, no-cost
license.. The license allows for production use and the
development of commercial applications. In
addition, the license allows the redistribution of
runtime libraries, object files, and
executables, specified in the release Distribution
README , with your application. Additional legal
information, such as Third Party Software License, is
available at
“http://www.oracle.com/pls/topic/lookup?ctx=E24457&i
d=OSSNL”
In the Oracle Solaris Studio license, it grants rights for use of
Studio for "internal business operations". Can I develop my
application for free or resell distribution?
 Yes, you can develop an application for distribution for

free or for sale. The "internal business operations"
statement restricts the ability to redistribute Oracle
Solaris Studio or make it available as a service, without
prior approval
Components
The Oracle Studio software is a suite of software
products that includes:
 C, C++, and Fortran compilers and support libraries
 dbx and frontends
 lint
 IDE based on NetBeans
 Performance analyzer
 Thread analyzer
 Sun performance library
DBX debugger
 DBX is a source-level debugger found primarily

on Solaris, UNIX, Linux and BSD operating systems. It
provides symbolic debugging for programs written
in C, C++, Pascal, FORTRAN and Java.
 DBX was originally developed at University of
California, Berkeley, by Mark Linton and subsequently
made its way to various vendors who had licensed BSD.
LINT
 lint verifies a program or program segments against

standard libraries, checks the code for common
portability errors, and tests the programming against
some tried and true guidelines. linting your code is a
necessary (though not sufficient) step in writing
clean, portable, effective programs
Performance Analyzer
 The Performance Analyzer is a graphical data-analysis

tool that analyzes performance data collected by the
Collector. The Collector can be started from a
Performance Analyzer menu option, or by using
the collect command, or the collector commands
in dbx. The Collector gathers performance information
to create an experiment during the execution of a
process. The Performance Analyzer reads in such
experiments, analyzes the data, and displays the data
in tabular and graphical displays.
Thread Analyzer
 The Thread Analyzer is a tool that you can use to

analyze the execution of a multi-threaded program. It
can detect multi-threaded programming errors such as
data races or deadlocks in code that is written using
the POSIX thread API, the Solaris Operating
System(R) thread API, OpenMP directives, Sun
parallel directives, Cray(R) parallel directives, or a mix
of these.
Compiler optimizations
Major optimizations include:
 Copy propagation
 Constant folding and constant propagation
 Dead code elimination
 Interprocedural optimization analysis
 Loop optimizations
Copy propagation
 copy propagation is the process of replacing the

occurrences of targets of direct assignments with their
values.
 Consider the following code:
y=x
z=3+y
 Copy propagation would yield:
z=3+x
Constant folding
 Constant folding is the process of

simplifying constant expressions at compile time

Constant propagation
 Constant propagation is the process of substituting

the values of known constants in expressions at
compile time
Advantages
 Accelerates Application Performance

Generate SPARC- and x86-based applications, including
SPARC T4, up to 3x faster with Oracle Solaris Studio C, C++
and Fortran compilers and libraries.
 Improves Application Observability
Gain extreme observability into your applications with
advanced performance, memory, and thread analysis tools.
The new Code Analyzer identifies common coding
errors, such as memory leaks, on covered code while
highlighting productive steps to increase code coverage.
 Enhances Developer Productivity

Remote development features enable
edit, compile, debug, and analyze functionality of
server-applications from any Oracle
Solaris, Linux, Microsoft Windows or Mac OS
operating system. New tooling streamlines C and C++
database application development for the Oracle
Database. Oracle Solaris Studio also reduces
compilation time up to 20 percent.

More Related Content

What's hot (9)

ELF
ELFELF
ELF
 
High Performance Erlang
High Performance ErlangHigh Performance Erlang
High Performance Erlang
 
The compilation process
The compilation processThe compilation process
The compilation process
 
Compilation
CompilationCompilation
Compilation
 
Open arkcompiler
Open arkcompilerOpen arkcompiler
Open arkcompiler
 
RTI-CODES+ISSS-2012-Submission-1
RTI-CODES+ISSS-2012-Submission-1RTI-CODES+ISSS-2012-Submission-1
RTI-CODES+ISSS-2012-Submission-1
 
loaders and linkers
 loaders and linkers loaders and linkers
loaders and linkers
 
4.129 tybsc it
4.129 tybsc it4.129 tybsc it
4.129 tybsc it
 
.Net assembly
.Net assembly.Net assembly
.Net assembly
 

Similar to Oracle sun studio

Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02
Wei Sun
 
Processor Verification Using Open Source Tools and the GCC Regression Test Suite
Processor Verification Using Open Source Tools and the GCC Regression Test SuiteProcessor Verification Using Open Source Tools and the GCC Regression Test Suite
Processor Verification Using Open Source Tools and the GCC Regression Test Suite
DVClub
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
Wei Sun
 
Programar En Fortran
Programar En FortranProgramar En Fortran
Programar En Fortran
Saul Bernal
 
Oracle day co_opensource_final
Oracle day co_opensource_finalOracle day co_opensource_final
Oracle day co_opensource_final
Manuel Contreras
 

Similar to Oracle sun studio (20)

(Costless) Software Abstractions for Parallel Architectures
(Costless) Software Abstractions for Parallel Architectures(Costless) Software Abstractions for Parallel Architectures
(Costless) Software Abstractions for Parallel Architectures
 
Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02Dotnetintroduce 100324201546-phpapp02
Dotnetintroduce 100324201546-phpapp02
 
Software used in Electronics and Communication
Software used in Electronics and CommunicationSoftware used in Electronics and Communication
Software used in Electronics and Communication
 
IDAPRO
IDAPROIDAPRO
IDAPRO
 
Mainframe Technology Overview
Mainframe Technology OverviewMainframe Technology Overview
Mainframe Technology Overview
 
Processor Verification Using Open Source Tools and the GCC Regression Test Suite
Processor Verification Using Open Source Tools and the GCC Regression Test SuiteProcessor Verification Using Open Source Tools and the GCC Regression Test Suite
Processor Verification Using Open Source Tools and the GCC Regression Test Suite
 
01 sun c++ programming guide
01 sun c++ programming guide01 sun c++ programming guide
01 sun c++ programming guide
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
 
Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)
Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)
Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)
 
Sonar
SonarSonar
Sonar
 
2. introduction to compiler
2. introduction to compiler2. introduction to compiler
2. introduction to compiler
 
ARM AAE - Developing Code for ARM
ARM AAE - Developing Code for ARMARM AAE - Developing Code for ARM
ARM AAE - Developing Code for ARM
 
Learn more about the tremendous value Open Data Plane brings to NFV
Learn more about the tremendous value Open Data Plane brings to NFVLearn more about the tremendous value Open Data Plane brings to NFV
Learn more about the tremendous value Open Data Plane brings to NFV
 
Programar En Fortran
Programar En FortranProgramar En Fortran
Programar En Fortran
 
Securing Open Source Code in Enterprise
Securing Open Source Code in EnterpriseSecuring Open Source Code in Enterprise
Securing Open Source Code in Enterprise
 
Resume_Shanthi
Resume_ShanthiResume_Shanthi
Resume_Shanthi
 
Open Source Software – Open Day Oracle 2013
Open Source Software  – Open Day Oracle 2013Open Source Software  – Open Day Oracle 2013
Open Source Software – Open Day Oracle 2013
 
Oracle day co_opensource_final
Oracle day co_opensource_finalOracle day co_opensource_final
Oracle day co_opensource_final
 
C_P2.pptx
C_P2.pptxC_P2.pptx
C_P2.pptx
 
Intr fortran90
Intr fortran90Intr fortran90
Intr fortran90
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
cupulin
 

Recently uploaded (20)

When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 

Oracle sun studio

  • 2. What is SunStudio? The Oracle Solaris Studio, formerly named Sun Studio, Sun Workshop, Forte Developer, and SunPro Compilers, is a compiler suite which is Oracle Corporation's flagship software development product for the operating systems Solaris and Linux.
  • 3. Compilers  The Oracle Solaris Studio software delivers optimizing compilers for C, C++, and Fortran, libraries, and performance analysis.  Debugging tools for Solaris on SPARC, and both Solaris and Linux on x86/x64 platforms, including multi-core systems.
  • 4. Free of Cost  The Oracle Studio compiler and development tools software suite is downloadable at no charge from an Oracle Website.  For download: http://www.oracle.com/technetwork/serverstorage/solarisstudio/downloads/index.html
  • 5. How many different licenses does Oracle Solaris Studio have and what are the main differences? There is only 1 license, which is a perpetual, no-cost license.. The license allows for production use and the development of commercial applications. In addition, the license allows the redistribution of runtime libraries, object files, and executables, specified in the release Distribution README , with your application. Additional legal information, such as Third Party Software License, is available at “http://www.oracle.com/pls/topic/lookup?ctx=E24457&i d=OSSNL”
  • 6. In the Oracle Solaris Studio license, it grants rights for use of Studio for "internal business operations". Can I develop my application for free or resell distribution?  Yes, you can develop an application for distribution for free or for sale. The "internal business operations" statement restricts the ability to redistribute Oracle Solaris Studio or make it available as a service, without prior approval
  • 7. Components The Oracle Studio software is a suite of software products that includes:  C, C++, and Fortran compilers and support libraries  dbx and frontends  lint  IDE based on NetBeans  Performance analyzer  Thread analyzer  Sun performance library
  • 8. DBX debugger  DBX is a source-level debugger found primarily on Solaris, UNIX, Linux and BSD operating systems. It provides symbolic debugging for programs written in C, C++, Pascal, FORTRAN and Java.  DBX was originally developed at University of California, Berkeley, by Mark Linton and subsequently made its way to various vendors who had licensed BSD.
  • 9. LINT  lint verifies a program or program segments against standard libraries, checks the code for common portability errors, and tests the programming against some tried and true guidelines. linting your code is a necessary (though not sufficient) step in writing clean, portable, effective programs
  • 10. Performance Analyzer  The Performance Analyzer is a graphical data-analysis tool that analyzes performance data collected by the Collector. The Collector can be started from a Performance Analyzer menu option, or by using the collect command, or the collector commands in dbx. The Collector gathers performance information to create an experiment during the execution of a process. The Performance Analyzer reads in such experiments, analyzes the data, and displays the data in tabular and graphical displays.
  • 11. Thread Analyzer  The Thread Analyzer is a tool that you can use to analyze the execution of a multi-threaded program. It can detect multi-threaded programming errors such as data races or deadlocks in code that is written using the POSIX thread API, the Solaris Operating System(R) thread API, OpenMP directives, Sun parallel directives, Cray(R) parallel directives, or a mix of these.
  • 12. Compiler optimizations Major optimizations include:  Copy propagation  Constant folding and constant propagation  Dead code elimination  Interprocedural optimization analysis  Loop optimizations
  • 13. Copy propagation  copy propagation is the process of replacing the occurrences of targets of direct assignments with their values.  Consider the following code: y=x z=3+y  Copy propagation would yield: z=3+x
  • 14. Constant folding  Constant folding is the process of simplifying constant expressions at compile time Constant propagation  Constant propagation is the process of substituting the values of known constants in expressions at compile time
  • 15. Advantages  Accelerates Application Performance Generate SPARC- and x86-based applications, including SPARC T4, up to 3x faster with Oracle Solaris Studio C, C++ and Fortran compilers and libraries.  Improves Application Observability Gain extreme observability into your applications with advanced performance, memory, and thread analysis tools. The new Code Analyzer identifies common coding errors, such as memory leaks, on covered code while highlighting productive steps to increase code coverage.
  • 16.  Enhances Developer Productivity Remote development features enable edit, compile, debug, and analyze functionality of server-applications from any Oracle Solaris, Linux, Microsoft Windows or Mac OS operating system. New tooling streamlines C and C++ database application development for the Oracle Database. Oracle Solaris Studio also reduces compilation time up to 20 percent.

Editor's Notes

  1. SPARC-scalable processor Architecture(RISC instruction set Architecture)Multicore Systems-one computr component but multiple cpus
  2. DBX is a source-level debugger found primarily on Solaris, AIX, IRIX, Tru64 UNIX, Linux and BSD operating systems. It provides symbolic debugging for programs written in C, C++, Pascal, FORTRAN and Java.The lint program checker has proven time and again to be one of the best tools for finding portability problems and certain types of coding errors in C programs. This book introduces you to lint, guides you through running it on your programs, and helps you to interpret lint'soutput.lint verifies a program or program segments...