JavaScript - Mageia Linux vs Windows

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

JavaScript - Mageia Linux vs Windows

Postby wilcal » Jun 16th, '12, 22:33

Are there still issues between Linux and Windows
when a website is using JavaScript? I have found
one website where launching a JavaScript routine is
definitely resulting in a difference when launched
on Mageia Linux then on Windows.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: JavaScript - Mageia Linux vs Windows

Postby madeye » Jun 17th, '12, 00:40

I would say that should more be a question about which browser is used. However it's not something I have ever had problems with. Then again I am using firefox in both systems...

Could you give an example of a website where there are issues? What browsers have you used?
- Madeye

When I supply commands in an answer, please make sure you understand them before you run them! Use google or man to check!
User avatar
madeye
 
Posts: 110
Joined: Jul 23rd, '11, 12:36
Location: Aabenraa, Denmark

Re: JavaScript - Mageia Linux vs Windows

Postby sgunhouse » Jun 18th, '12, 09:18

Presuming you're using the same browser on both platforms, there should be no difference - for the parts the browser renders. External programs/libraries like plugins are another matter, though if you have the same actual plugins those should be the same as well. Having said that, most browsers do include the platform as part of the user agent, so it is possible for websites to send you different code based on your platform ... if it's an issue with only one or two sites it could be that.

(I work on the user forums for a browser, so I have some experience with these things ...)
sgunhouse
 
Posts: 27
Joined: Jun 6th, '11, 10:06

Re: JavaScript - Mageia Linux vs Windows

Postby doktor5000 » Jun 19th, '12, 23:57

Actually each browser has its own Javascript engine, so which browser are you using, which version, Mageia packages or not, and which website?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: JavaScript - Mageia Linux vs Windows

Postby wilcal » Jun 20th, '12, 00:59

doktor5000 wrote:Actually each browser has its own Javascript engine, so which browser are you using, which version, Mageia packages or not, and which website?

Many thanks to all for the feedback. I've got a lot
of cross platform testing on this before I make any
kind of assessment.

From what I am finding 98% of all java script works
everywhere. It's that 2% I'm trying to isolate. I don't
have either a WinBlows box nor Apple. Neither
OS have Live-CD's like linux.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: JavaScript - Mageia Linux vs Windows

Postby doktor5000 » Jun 20th, '12, 20:26

You still haven't mentioned which browser and which version you're using, and which site causes problems. Also are you aware of the many automated Javascript testing and performance-measuring frameworks which are run on most browsers by their developers these days, which compares it to other common browsers?

FWIW, there are numerous livecd's for Windows.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: JavaScript - Mageia Linux vs Windows

Postby andreano » Jul 1st, '12, 03:36

sgunhouse wrote:Presuming you're using the same browser on both platforms, there should be no difference.


... as long as the same compiler & optimizations are used on those platforms.

Software on Windows is usually compiled once, by the makers themselves → Lots of effort is put into optimization. Possibilities include:
* Link time optimization, if you have lots of RAM (It was recently impossible to link Firefox on 32-bit windows due to the address space limitation.)
* Profile guided optimization, if you have the manpower and an expensive toolchain, I presume.
andreano
 
Posts: 13
Joined: May 18th, '12, 23:04

Re: JavaScript - Mageia Linux vs Windows

Postby doktor5000 » Jul 1st, '12, 15:57

FWIW, at least Mozilla does both by default on linux and windows platform, with the former being done as consequence from the results of the latter.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: JavaScript - Mageia Linux vs Windows

Postby sgunhouse » Jul 10th, '12, 08:47

Opera does PGO I know ... but in that sense, optimizations to the program shouldn't really effect what any program does - only how quickly. Unless a program leaves out fallback code and therefore some features are not available on certain systems - other than that (and UI guidelines) programs really should operate the same on Linux, Windows, OSX or whatever. Okay, and presuming the same version on all systems.
sgunhouse
 
Posts: 27
Joined: Jun 6th, '11, 10:06

Re: JavaScript - Mageia Linux vs Windows

Postby doktor5000 » Jul 10th, '12, 19:27

Well, you're absolutely right, at least in theory :P
First big difference is already widely used compilers, mostly Intel/Microsoft ones on Wintel, and gcc on Linux.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: JavaScript - Mageia Linux vs Windows

Postby wilcal » Jul 10th, '12, 20:16

sgunhouse wrote:programs ( JavaScript ) really should operate the same on Linux, Windows, OSX or whatever. Okay, and presuming the same version on all systems.

Well taken but I'd like to make the point that there is great competition
between website creators to use the very latest and greatest GeeWiz
stuff. Therefore a lot of websites using the latest and greatest ( JavaScript )
will work differently WinBlows -> OSX -> Linux. Many times
not working at all.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: JavaScript - Mageia Linux vs Windows

Postby doktor5000 » Jul 10th, '12, 23:42

wilcal wrote:Therefore a lot of websites using the latest and greatest ( JavaScript )
will work differently WinBlows -> OSX -> Linux. Many times
not working at all.

Many times not working at all? What browsers are you using there? I've yet to see a website which doesn't work AT ALL in relatively current browsers ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: JavaScript - Mageia Linux vs Windows

Postby wilcal » Jul 11th, '12, 00:45

doktor5000 wrote:
wilcal wrote:Therefore a lot of websites using the latest and greatest ( JavaScript )
will work differently WinBlows -> OSX -> Linux. Many times
not working at all.

Many times not working at all? What browsers are you using there? I've yet to see a website which doesn't work AT ALL in relatively current browsers ...

Windows XP + IE I saw just the other day did poorly.
I suspect because it had not been updated in awhile.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest