Why firefox is written in C and javascript UI

0 votes
So, I'm studying Java now, and I'm wondering if it will result in a visible performance boost.

And if many developers utilize a similar technique for windows development (C++ back end and Java UI) or if other languages such as Python are used?

*instead of writing the entire software in another language, use C++ for the back end and other languages for the UI.
Nov 7, 2022 in Java by Nicholas
• 7,760 points
828 views

1 answer to this question.

0 votes
First off, Java and JavaScript are entirely separate and dissimilar languages. Firefox doesn't utilize Java at all; it only uses

JavaScript.

Second, this wasn't done to improve speed; rather, it was done to make it easier to create extensions and add-ons for usage with Firefox across all platforms. Code written in C++ must be compiled; once compiled, it can only be used on the

the platform for which it was created.

Since JavaScript is an interpreted language that runs in a browser interpreter, the same extensions may often be used with MacOS, Linux, or Windows (or anything else that Firefox runs on).

And indeed, some applications employ scripting languages for this kind of function (to allow easy customization and extension). For instance, Civilization IV's UI and game logic are totally written in Python and XML due to this, but the graphics code, which is performance-intensive, is still in C++.
answered Nov 8, 2022 by Damonlang
• 700 points

Related Questions In Java

0 votes
0 answers

What is TypeScript and why would I use it in place of JavaScript?

Could you kindly explain the TypeScript language? What ...READ MORE

Nov 16, 2022 in Java by Nicholas
• 7,760 points
393 views
0 votes
1 answer

Why there is the need of getters and setters in java

In Java getters and setters are completely ...READ MORE

answered Jun 26, 2018 in Java by scarlett
• 1,290 points
1,984 views
0 votes
0 answers

What is the difference between ' and " in JavaScript?

When creating strings in JavaScript, the character'or ...READ MORE

Sep 28, 2022 in Java by Nicholas
• 7,760 points
377 views
0 votes
0 answers

Const in JavaScript: when to use it and is it necessary?

In JavaScript, I recently came across the ...READ MORE

Dec 8, 2022 in Java by Nicholas
• 7,760 points
471 views
0 votes
1 answer

Selenium IDE (2.9.1.1-signed) not working with latest Version of Firefox

Unfortunately, Selenium IDE will be deprecated soon. ...READ MORE

answered Mar 30, 2018 in Selenium by nsv999
• 5,500 points

edited Apr 4, 2018 by nsv999 7,462 views
0 votes
1 answer

Do we have Selenium IDE for Chrome (like Firefox does)?

Actually, very recently Chrome has come up ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,500 points
933 views
0 votes
1 answer

How do we use Gecko driver.exe with Selenium?

Recently Selenium launched v3 and if you ...READ MORE

answered Apr 7, 2018 in Selenium by nsv999
• 5,500 points
815 views
0 votes
1 answer
0 votes
1 answer

Base64 encoding and decoding in client-side Javascript

Some browsers, including Firefox, Chrome, Safari, Opera, ...READ MORE

answered Nov 4, 2022 in Java by Damonlang
• 700 points
869 views
0 votes
1 answer

How to get current formatted date dd/mm/yyyy in Javascript and append it to an input

The stringent equality operator (===) works exactly like the abstract equality operator (==), with the exception that no type conversion is performed, and the types must be the same to be regarded equal. Javascript Tutorial on Comparison Operators After performing any required type transformations, the == operator will check for equality.  Because the === operator does not perform the conversion, it will simply return false if two values are not of the same type.  Both are equally fast. "abc" == new String("abc") ...READ MORE

answered Nov 4, 2022 in Java by Damonlang
• 700 points
1,481 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP