C/C++ Create Your Perfect Browser: Customize Firefox for You

  • Thread starter Thread starter Rhine720
  • Start date Start date
  • Tags Tags
    Firefox
AI Thread Summary
The discussion centers around the desire to create a personalized web browser, with a specific focus on Firefox. Participants highlight that while many browsers, including Internet Explorer, are primarily written in C or C++, the choice of programming language can influence functionality and performance. There is a debate about the extent to which C# is used in Internet Explorer, with some arguing that it is not suitable for operating system components. The suggestion is made that instead of creating a new browser from scratch, one could modify Firefox, given its open-source nature, or develop plugins using JavaScript to address specific preferences. This approach is considered more feasible than learning C++ for browser development.
Rhine720
Messages
88
Reaction score
0
Create my own browser? I like firefox and all, but I can't get it to be PERFECT for me..
 
Technology news on Phys.org
As a general principle you can write any program in any general purpose programming language. Some languages are better at some things than others. Internet Explorer is written in C++ so that is a fairly good indicator...

Most of the software you use will have been written in C or C++.
 
silverfrost said:
As a general principle you can write any program in any general purpose programming language. Some languages are better at some things than others. Internet Explorer is written in C++ so that is a fairly good indicator...

Most of the software you use will have been written in C or C++.
I don't know this for a fact, but I would venture to guess that a major fraction of IE is written in C#.
 
Mark44 said:
I don't know this for a fact, but I would venture to guess that a major fraction of IE is written in C#.

I am not an expert, but isn't C# some kind of an extension of C, just like C++?
 
C# is not an extension of C or C++. It is a modified Java. Java's syntax was heavily influenced by C and so C# looks like C/C++. C# definitely has some good point over Java, I think they have done a nice job with it.

http://en.wikipedia.org/wiki/C_Sharp_(programming_language)

I doubt much (if any) of IE or any OS components are written in C#. .NET is not well suited to writing OS extensions.
 
silverfrost said:
I doubt much (if any) of IE or any OS components are written in C#. .NET is not well suited to writing OS extensions.
Large programs, such as IE, can be written using multiple programming languages, with parts such as user interfaces written in .NET managed code (C#), and other, lower-level parts written in C++.
 
Programs can be written in multiple languages but IE and any part of the Windows OS is probably not going to be. There are reasons why .NET cannot be used in system parts. The CLR can only exist in one version per process and so adding it to any part of the system that can be used as part of another process would restrict that processes choice of CLR (IE can be embedded). Also, there is no real need to write IE in C# -- remember most of IE existed before C# was thought about.
 
silverfrost said:
Internet Explorer is written in C++ so that is a fairly good indicator...

Rhine720 want's a perfect browser, so fact that IE is written in C++ is a fairly BAD indicator.
 
Last edited:
Firefox is open source. Why not just modify it to suit your desires?
 
  • #10
borek said:
rhine720 want's a perfect browser, so fact that ie is written in c++ is a fairly bad indicator.

lol.

I have never used a good browser...
 
  • #11
DavidSnider said:
Firefox is open source. Why not just modify it to suit your desires?

A better idea would be to learn Javascript and write firefox plugins until whatever it is you didn't like about firefox is fixed. This will be much simpler than learning enough C++ to write a web browser.
 
Back
Top