473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Typical size of Javascript interpreter

me
The subject line says it all really.

Any figures for the size of a typical JS interpreter?
Feb 5 '06 #1
8 2140
VK

me wrote:
The subject line says it all really.

Any figures for the size of a typical JS interpreter?


600Kb - 800Kb (rough figure between Microsoft JScript 5.6 and Mozilla
JavaScript 1.6)

May I ask why?

Feb 5 '06 #2
me:
The subject line says it all really.
Any figures for the size of a typical JS interpreter?


20K should be enough.
But if you include JIT, DOM, Liveconnect and other libs, you probably go
over 100K.
Check Rhino.

--
http://www.milliondollarscreenshot.com/
Feb 5 '06 #3
On Sun, 05 Feb 2006 11:02:29 -0800, VK wrote:

me wrote:
The subject line says it all really.

Any figures for the size of a typical JS interpreter?


600Kb - 800Kb (rough figure between Microsoft JScript 5.6 and Mozilla
JavaScript 1.6)

May I ask why?


You may :)

I'm in an ongoing discussion as to the relative strengths and weaknesses
of JS/C# as development languages. It's quite difficult for some people to
follow the discussion concerning the *language* only, without becoming
distracted by the size and scope of libraries (or the available framework)
for each.

It's not a simple matter to compare like for like directly; both need
some kind of context in which to execute before they are of any use
whatsoever. All the same, I think JS punches *well* above its weight.
Feb 5 '06 #4
me wrote:
The subject line says it all really.

Any figures for the size of a typical JS interpreter?

5 ft 9 ins, 170 lbs.
Mick
Feb 5 '06 #5
On Sun, 05 Feb 2006 20:39:12 +0000, mick white wrote:
me wrote:
The subject line says it all really.

Any figures for the size of a typical JS interpreter?

5 ft 9 ins, 170 lbs.
Mick


LOL, a suitable answer to a (my) preposterously vague question.

Feb 5 '06 #6
Sean Inglis wrote:
On Sun, 05 Feb 2006 11:02:29 -0800, VK wrote:

me wrote:
The subject line says it all really.

Any figures for the size of a typical JS interpreter?


600Kb - 800Kb (rough figure between Microsoft JScript 5.6 and Mozilla
JavaScript 1.6)

May I ask why?

You may :)

I'm in an ongoing discussion as to the relative strengths and weaknesses
of JS/C# as development languages. It's quite difficult for some people to
follow the discussion concerning the *language* only, without becoming
distracted by the size and scope of libraries (or the available framework)
for each.

It's not a simple matter to compare like for like directly; both need
some kind of context in which to execute before they are of any use
whatsoever.


Yes. The extent to which a JS interpreter can leverage off the OS may
be interesting but likely has zero relevance to the size, speed or
capability of the interpreter.

There is also the DOM to consider, which is the useful part of
JavaScript from a web client perspective. DOM implementations differ
widely and have a significant impact on the perceived speed of scripting.

In various tests I've discovered that Firefox can do some things
significantly faster than IE but for other things the boot is on the
other foot. You can't generalise about JavaScript performance since it
runs on so many different platforms and there are so many different
implementations and variables in the mix (DOM is just one).
[...]
--
Rob
Feb 6 '06 #7
JRS: In article <pa****************************@mememe.com>, dated Sun,
5 Feb 2006 17:21:56 remote, seen in news:comp.lang.javascript, me
<me@mememe.com> posted :
The subject line says it all really.


Read the newsgroup FAQ, in particular section 2, in particular
subsection 3, in particular sentence 2.

It's naive to assume that all newsreaders behave like the ones that you
know about.

--
© John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.
Feb 6 '06 #8
On Mon, 06 Feb 2006 15:29:34 +0000, Dr John Stockton wrote:
JRS: In article <pa****************************@mememe.com>, dated Sun,
5 Feb 2006 17:21:56 remote, seen in news:comp.lang.javascript, me
<me@mememe.com> posted :
The subject line says it all really.


Read the newsgroup FAQ, in particular section 2, in particular
subsection 3, in particular sentence 2.

It's naive to assume that all newsreaders behave like the ones that you
know about.


Fair comment, my bad.

Feb 6 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: quikquic | last post by:
Suppose I download a html file with javascript in it, for example, <html> <body> <script language="JavaScript"> document.write("Hello"); </script> </body> </html>
55
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large...
9
by: MStepansky | last post by:
Whats the difference between Javascript and Java3D? I mean can Javascript do like Java3D can? Or is Java3D on top of Javascript (the core, if thats what it is)? Then I should learn Javascript...
22
by: VK | last post by:
A while ago I proposed to update info in the group FAQ section, but I dropped the discussion using the approach "No matter what color the cat is as long as it still hounts the mice". Over the last...
24
by: gizoto316 | last post by:
I was wondering if it was possible to have php code in a javascript file. I have a java file with a bunch of functions on it and I wanted to add one where the action has php code in it. When i...
1
by: Gvdc | last post by:
GromJS server-side JavaScript interpreter ------------------------------------------------------------------------ GromJS is server-side JavaScript implementation of Mozilla SpiderMonkey...
10
by: Jon Harrop | last post by:
What is the shortest and simplest Javascript implementation and where can I find a BNF for this language? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?u
5
by: Erik Hahn | last post by:
I'm looking for a standalone Javascript interpreter like the ones of Perl and Python. Does such a thing exist for Linux? Thanks in advance. -Erik --...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.