Re: Javascript bytecode

2012-12-21 Thread Rainer Schuetze
On 21.12.2012 08:02, Walter Bright wrote: On 12/20/2012 10:05 PM, deadalnix wrote: No you explained that java's bytecode doesn't solve that problem. Which is quite different. I did, but obviously you did not find that satisfactory. Let me put it this way: Design a bytecode format, and

Re: Javascript bytecode

2012-12-21 Thread Timon Gehr
On 12/21/2012 09:37 AM, Rainer Schuetze wrote: On 21.12.2012 08:02, Walter Bright wrote: On 12/20/2012 10:05 PM, deadalnix wrote: No you explained that java's bytecode doesn't solve that problem. Which is quite different. I did, but obviously you did not find that satisfactory. Let me put

Re: Javascript bytecode

2012-12-21 Thread Max Samukha
On Thursday, 20 December 2012 at 21:30:44 UTC, deadalnix wrote: On Thursday, 20 December 2012 at 01:41:38 UTC, Walter Bright wrote: Not exactly, I argue that having a bytecode standard is useless. How a compiler works internally is fairly irrelevant. Note that in the first place, bytecode

Re: Javascript bytecode

2012-12-21 Thread Walter Bright
On 12/21/2012 12:37 AM, Rainer Schuetze wrote: On 21.12.2012 08:02, Walter Bright wrote: On 12/20/2012 10:05 PM, deadalnix wrote: No you explained that java's bytecode doesn't solve that problem. Which is quite different. I did, but obviously you did not find that satisfactory. Let me put

Re: Javascript bytecode

2012-12-21 Thread Walter Bright
On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely pointless. I'll bite. What is its advantage over source code?

Re: Javascript bytecode

2012-12-21 Thread Araq
On Friday, 21 December 2012 at 10:30:21 UTC, Walter Bright wrote: On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely pointless. I'll bite. What is its advantage over source code? Interpreting the AST directly: Requires recursion. Interpreting a

Re: Javascript bytecode

2012-12-21 Thread Walter Bright
On 12/21/2012 2:37 AM, Araq wrote: On Friday, 21 December 2012 at 10:30:21 UTC, Walter Bright wrote: On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely pointless. I'll bite. What is its advantage over source code? Interpreting the AST

Re: Javascript bytecode

2012-12-21 Thread Mafi
On Friday, 21 December 2012 at 10:37:05 UTC, Araq wrote: On Friday, 21 December 2012 at 10:30:21 UTC, Walter Bright wrote: On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely pointless. I'll bite. What is its advantage over source code?

Re: Javascript bytecode

2012-12-21 Thread Max Samukha
On Friday, 21 December 2012 at 10:30:21 UTC, Walter Bright wrote: On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely pointless. I'll bite. What is its advantage over source code? It is not about bytecode vs source code. It is about a common

Re: Javascript bytecode

2012-12-21 Thread Max Samukha
On Friday, 21 December 2012 at 11:00:01 UTC, Max Samukha wrote: On Friday, 21 December 2012 at 10:30:21 UTC, Walter Bright wrote: On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely pointless. I'll bite. What is its advantage over source code?

Re: Javascript bytecode

2012-12-21 Thread Rainer Schuetze
On 21.12.2012 10:20, Timon Gehr wrote: On 12/21/2012 09:37 AM, Rainer Schuetze wrote: On 21.12.2012 08:02, Walter Bright wrote: On 12/20/2012 10:05 PM, deadalnix wrote: No you explained that java's bytecode doesn't solve that problem. Which is quite different. I did, but obviously you

Re: Javascript bytecode

2012-12-21 Thread Rainer Schuetze
On 21.12.2012 11:28, Walter Bright wrote: On 12/21/2012 12:37 AM, Rainer Schuetze wrote: On 21.12.2012 08:02, Walter Bright wrote: On 12/20/2012 10:05 PM, deadalnix wrote: No you explained that java's bytecode doesn't solve that problem. Which is quite different. I did, but obviously

Re: Javascript bytecode

2012-12-21 Thread Simen Kjaeraas
On 2012-00-21 12:12, Max Samukha maxsamu...@gmail.com wrote: On Friday, 21 December 2012 at 10:30:21 UTC, Walter Bright wrote: On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely pointless. I'll bite. What is its advantage over source code? It

Re: Javascript bytecode

2012-12-21 Thread Max Samukha
On Friday, 21 December 2012 at 17:08:28 UTC, Simen Kjaeraas wrote: On 2012-00-21 12:12, Max Samukha maxsamu...@gmail.com wrote: On Friday, 21 December 2012 at 10:30:21 UTC, Walter Bright wrote: On 12/21/2012 2:13 AM, Max Samukha wrote: What Walter is wrong about is that bytecode is entirely

Re: Javascript bytecode

2012-12-21 Thread deadalnix
On Friday, 21 December 2012 at 07:03:13 UTC, Walter Bright wrote: On 12/20/2012 10:05 PM, deadalnix wrote: No you explained that java's bytecode doesn't solve that problem. Which is quite different. I did, but obviously you did not find that satisfactory. Let me put it this way: Design a

Re: Javascript bytecode

2012-12-21 Thread jerro
Optimized LLVM bytecode look like a good candidate for the job. Note that I'm not suggesting this as a spec, but as an example of possible solution. It's true that it couldn't be automatically decompiled to something equivalent to the original D source, but it does contain type information.

Re: Javascript bytecode

2012-12-21 Thread Walter Bright
On 12/21/2012 12:07 PM, jerro wrote: Optimized LLVM bytecode look like a good candidate for the job. Note that I'm not suggesting this as a spec, but as an example of possible solution. It's true that it couldn't be automatically decompiled to something equivalent to the original D source, but

Re: Javascript bytecode

2012-12-21 Thread deadalnix
On Friday, 21 December 2012 at 20:08:00 UTC, jerro wrote: Optimized LLVM bytecode look like a good candidate for the job. Note that I'm not suggesting this as a spec, but as an example of possible solution. It's true that it couldn't be automatically decompiled to something equivalent to the

Re: Javascript bytecode

2012-12-20 Thread eles
The shuttle concept was so expensive that it severely stunted what we could do in space, and finally sank the whole manned space program. Thank you to all of you that expressed viewpoints on this issue. I found the discussion valuable and reasonable arguments were made (both sides). Anyway, it

Re: Javascript bytecode

2012-12-20 Thread Joakim
On Thursday, 20 December 2012 at 01:41:38 UTC, Walter Bright wrote: On 12/19/2012 4:54 PM, Rob T wrote: One question I have for you, is what percentage performance gain can you expect to get by using a well chosen bytecode-like language verses interpreting directly from source code? I know

Re: Javascript bytecode

2012-12-20 Thread deadalnix
On Thursday, 20 December 2012 at 01:41:38 UTC, Walter Bright wrote: Not exactly, I argue that having a bytecode standard is useless. How a compiler works internally is fairly irrelevant. Note that in the first place, bytecode discussion has started with the need of provide a CTFEable module

Re: Javascript bytecode

2012-12-20 Thread Walter Bright
On 12/20/2012 1:30 PM, deadalnix wrote: Note that in the first place, bytecode discussion has started with the need of provide a CTFEable module that do not contains more information that what is in a DI file, as it is a concern for some companies. Bytecode can solve that problem nicely IMO.

Re: Javascript bytecode

2012-12-20 Thread deadalnix
On Friday, 21 December 2012 at 05:43:18 UTC, Walter Bright wrote: On 12/20/2012 1:30 PM, deadalnix wrote: Note that in the first place, bytecode discussion has started with the need of provide a CTFEable module that do not contains more information that what is in a DI file, as it is a

Re: Javascript bytecode

2012-12-20 Thread Walter Bright
On 12/20/2012 10:05 PM, deadalnix wrote: On Friday, 21 December 2012 at 05:43:18 UTC, Walter Bright wrote: On 12/20/2012 1:30 PM, deadalnix wrote: Note that in the first place, bytecode discussion has started with the need of provide a CTFEable module that do not contains more information that

Re: Javascript bytecode

2012-12-20 Thread Walter Bright
On 12/20/2012 10:05 PM, deadalnix wrote: No you explained that java's bytecode doesn't solve that problem. Which is quite different. I did, but obviously you did not find that satisfactory. Let me put it this way: Design a bytecode format, and present it here, that is CTFEable and is not able

Re: Javascript bytecode

2012-12-19 Thread Max Samukha
On Wednesday, 19 December 2012 at 07:22:45 UTC, Walter Bright wrote: On 12/18/2012 11:04 PM, Rob T wrote: I'm not claiming to be an expert in this area either, however it seems obvious that there are significant theoretical and practical advantages with using the bytecode concept. Evidently

Re: Javascript bytecode

2012-12-19 Thread Walter Bright
On 12/19/2012 12:19 AM, Max Samukha wrote: Evidently you've dismissed all of my posts in this thread on that topic :-) As you dismissed all points in favor of bytecode. And I gave detailed reasons why. Such as it being a standardized AST representation for multiple languages. CLI is all

Re: Javascript bytecode

2012-12-19 Thread Rob T
On Wednesday, 19 December 2012 at 07:22:45 UTC, Walter Bright wrote: On 12/18/2012 11:04 PM, Rob T wrote: I'm not claiming to be an expert in this area either, however it seems obvious that there are significant theoretical and practical advantages with using the bytecode concept. Evidently

Re: Javascript bytecode

2012-12-19 Thread Walter Bright
On 12/19/2012 1:10 AM, Rob T wrote: Using the JS code as an example, you are stating that the JS source code itself could just as well be viewed as the bytecode, and therefore given what I previously wrote concerning the advantages, I could replace bytecode with JS source code and achieve the

Re: Javascript bytecode

2012-12-19 Thread eles
Consider the US space shuttle design. It's probably the most wrong-headed engineering design ever, and it persisted because too many billions of dollars and careers were invested into it. Nobody could admit that it was an extremely inefficient and rather crazy design. Hey, this is really OT,

Re: Javascript bytecode

2012-12-19 Thread Max Samukha
On Wednesday, 19 December 2012 at 08:45:20 UTC, Walter Bright wrote: On 12/19/2012 12:19 AM, Max Samukha wrote: Evidently you've dismissed all of my posts in this thread on that topic :-) As you dismissed all points in favor of bytecode. And I gave detailed reasons why. Such as it being a

Re: Javascript bytecode

2012-12-19 Thread foobar
On Wednesday, 19 December 2012 at 08:45:20 UTC, Walter Bright wrote: On 12/19/2012 12:19 AM, Max Samukha wrote: Evidently you've dismissed all of my posts in this thread on that topic :-) As you dismissed all points in favor of bytecode. And I gave detailed reasons why. Such as it being a

Re: Javascript bytecode

2012-12-19 Thread David Nadlinger
On Wednesday, 19 December 2012 at 07:14:30 UTC, Rob T wrote: On Wednesday, 19 December 2012 at 01:58:54 UTC, Jonathan M Davis wrote: Such operations should be @system but are currently considered @safe. Who knows how many others we've missed beyond what's currently in bugzilla. - Jonathan M

Re: Javascript bytecode

2012-12-19 Thread Andrei Alexandrescu
On 12/19/12 4:10 AM, Rob T wrote: Do you have a theory or insight that can explain why a situation like the Java bytecode VM came to be and why it persists despite your suggestion that it is not required or of enough advantage to justify using it (may as well use Java source directly)? I think

Re: Javascript bytecode

2012-12-19 Thread Andrei Alexandrescu
On 12/19/12 4:25 AM, Walter Bright wrote: On 12/19/2012 1:10 AM, Rob T wrote: Using the JS code as an example, you are stating that the JS source code itself could just as well be viewed as the bytecode, and therefore given what I previously wrote concerning the advantages, I could replace

Re: Javascript bytecode

2012-12-19 Thread Andrei Alexandrescu
On 12/19/12 8:13 AM, David Nadlinger wrote: On Wednesday, 19 December 2012 at 07:14:30 UTC, Rob T wrote: On Wednesday, 19 December 2012 at 01:58:54 UTC, Jonathan M Davis wrote: Such operations should be @system but are currently considered @safe. Who knows how many others we've missed beyond

Re: Javascript bytecode

2012-12-19 Thread Rob T
On Wednesday, 19 December 2012 at 13:13:32 UTC, David Nadlinger wrote: On Wednesday, 19 December 2012 at 07:14:30 UTC, Rob T wrote: On Wednesday, 19 December 2012 at 01:58:54 UTC, Jonathan M Davis wrote: Such operations should be @system but are currently considered @safe. Who knows how many

Re: Javascript bytecode

2012-12-19 Thread deadalnix
On Wednesday, 19 December 2012 at 07:14:30 UTC, Rob T wrote: On Wednesday, 19 December 2012 at 01:58:54 UTC, Jonathan M Davis wrote: Such operations should be @system but are currently considered @safe. Who knows how many others we've missed beyond what's currently in bugzilla. - Jonathan M

Re: Javascript bytecode

2012-12-19 Thread Walter Bright
On 12/19/2012 7:44 AM, Andrei Alexandrescu wrote: I thought the claim was about ASTs vs. bytecode, which slowly segued into source code vs. byte code. Originally, the claim was how modules should be imported in some binary format rather than as source code. Are e in agreement there is a

Re: Javascript bytecode

2012-12-19 Thread Walter Bright
On 12/19/2012 2:05 AM, eles wrote: Consider the US space shuttle design. It's probably the most wrong-headed engineering design ever, and it persisted because too many billions of dollars and careers were invested into it. Nobody could admit that it was an extremely inefficient and rather crazy

Re: Javascript bytecode

2012-12-19 Thread David Gileadi
On 12/19/12 3:05 AM, eles wrote: Consider the US space shuttle design. It's probably the most wrong-headed engineering design ever, and it persisted because too many billions of dollars and careers were invested into it. Nobody could admit that it was an extremely inefficient and rather crazy

Re: Javascript bytecode

2012-12-19 Thread ixid
On Wednesday, 19 December 2012 at 21:00:20 UTC, Walter Bright wrote: On 12/19/2012 2:05 AM, eles wrote: Consider the US space shuttle design. It's probably the most wrong-headed engineering design ever, and it persisted because too many billions of dollars and careers were invested into it.

Re: Javascript bytecode

2012-12-19 Thread Rob T
On Wednesday, 19 December 2012 at 21:24:46 UTC, David Gileadi wrote: I had the same question, and Google found me a 2003 article http://www.spacedaily.com/news/oped-03l.html which in the wake of Columbia is largely about safety but also about efficiency. Interestingly the article claims that

Re: Javascript bytecode

2012-12-19 Thread Walter Bright
On 12/19/2012 4:09 PM, Rob T wrote: As always the answer is never as simple as it seems (just as it is with bytecode if I'm to attempt to stay on topic). One of subgoals of the space shuttle was for it to be able to return not just people back, but also to capture and return back to earth an

Re: Javascript bytecode

2012-12-19 Thread Rob T
On Wednesday, 19 December 2012 at 09:25:54 UTC, Walter Bright wrote: Mostly. If you use bytecode, you have Yet Another Spec that has to be defined and conformed to. This has a lot of costs. But those are mostly one-time costs, and for software that has to run millions of times over, if there

Re: Javascript bytecode

2012-12-19 Thread Peter Sommerfeld
Am 20.12.2012, 01:54 Uhr, schrieb Rob T r...@ucora.com: I'm not a fan of interpreted languages, except for situationswhere you want to transport code in the form of data, or beable to store it for later portable execution. LUA embeddedinto a game engine is an good use case example

Re: Javascript bytecode

2012-12-19 Thread Walter Bright
On 12/19/2012 4:54 PM, Rob T wrote: One question I have for you, is what percentage performance gain can you expect to get by using a well chosen bytecode-like language verses interpreting directly from source code? I know of zero claims that making a bytecode standard for javascript will

Javascript bytecode

2012-12-18 Thread Walter Bright
An interesting datapoint in regards to bytecode is Javascript. Note that Javascript is not distributed in bytecode form. There is no Javascript VM. It is distributed as source code. Sometimes, that source code is compressed and obfuscated, nevertheless it is still source code. How the end

Re: Javascript bytecode

2012-12-18 Thread Adam D. Ruppe
On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: I suspect there are other languages that do so, too. Including (a buggy, incomplete subset of) D! https://github.com/adamdruppe/dmd/tree/dtojs

Re: Javascript bytecode

2012-12-18 Thread Max Samukha
On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: An interesting datapoint in regards to bytecode is Javascript. Note that Javascript is not distributed in bytecode form. There is no Javascript VM. It is distributed as source code. Sometimes, that source code is compressed and

Re: Javascript bytecode

2012-12-18 Thread Peter Alexander
On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: Javascript proves that bytecode is not required for write once, run everywhere, which was one of the pitches for bytecode. What is required for w.o.r.e. is a specification for the source code that precludes undefined and

Re: Javascript bytecode

2012-12-18 Thread Max Samukha
On Tuesday, 18 December 2012 at 18:22:40 UTC, Max Samukha wrote: Actually, they call JavaScript an IL for the next ten years. s/an/the

Re: Javascript bytecode

2012-12-18 Thread Walter Bright
On 12/18/2012 10:29 AM, Peter Alexander wrote: On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: Javascript proves that bytecode is not required for write once, run everywhere, which was one of the pitches for bytecode. What is required for w.o.r.e. is a specification for the

Re: Javascript bytecode

2012-12-18 Thread H. S. Teoh
On Tue, Dec 18, 2012 at 10:11:37AM -0800, Walter Bright wrote: An interesting datapoint in regards to bytecode is Javascript. Note that Javascript is not distributed in bytecode form. There is no Javascript VM. It is distributed as source code. Sometimes, that source code is compressed and

Re: Javascript bytecode

2012-12-18 Thread DypthroposTheImposter
There is Emscripten which compiles LLVM to javascript, so you could probably get D into JS like that also https://github.com/kripken/emscripten

Re: Javascript bytecode

2012-12-18 Thread Jacob Carlborg
On 2012-12-18 19:11, Walter Bright wrote: Note also that Typescript compiles to Javascript. I suspect there are other languages that do so, too. CoffeeScript and Dart to mention two other languages that compile to JavaScript. -- /Jacob Carlborg

Re: Javascript bytecode

2012-12-18 Thread deadalnix
On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: An interesting datapoint in regards to bytecode is Javascript. Note that Javascript is not distributed in bytecode form. There is no Javascript VM. It is distributed as source code. Sometimes, that source code is compressed and

Re: Javascript bytecode

2012-12-18 Thread Walter Bright
On 12/18/2012 11:41 AM, H. S. Teoh wrote: What is required for w.o.r.e. is a specification for the source code that precludes undefined and implementation defined behavior. [...] What would you do with system-specific things like filesystem manipulation, though? That has to be

Re: Javascript bytecode

2012-12-18 Thread Peter Alexander
On Tuesday, 18 December 2012 at 19:25:01 UTC, Walter Bright wrote: On 12/18/2012 10:29 AM, Peter Alexander wrote: On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: Javascript proves that bytecode is not required for write once, run everywhere, which was one of the pitches for

Re: Javascript bytecode

2012-12-18 Thread Walter Bright
On 12/18/2012 12:38 PM, Peter Alexander wrote: On Tuesday, 18 December 2012 at 19:25:01 UTC, Walter Bright wrote: On 12/18/2012 10:29 AM, Peter Alexander wrote: On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: Javascript proves that bytecode is not required for write once,

Re: Javascript bytecode

2012-12-18 Thread deadalnix
On Tuesday, 18 December 2012 at 21:30:04 UTC, Walter Bright wrote: D is open source. There is little implementation cost to doing a compiler for it. It's a solved problem. Let me emit some doubt about that. First, D is difficult to compile because of the compile time features. DMD frontend

Re: Javascript bytecode

2012-12-18 Thread Andrei Alexandrescu
On 12/18/12 3:35 PM, Walter Bright wrote: And no, I don't think D can be a systems language *and* eliminate all undefined and implementation defined behavior. The SafeD subset takes care of that. Andrei

Re: Javascript bytecode

2012-12-18 Thread Walter Bright
On 12/18/2012 1:57 PM, deadalnix wrote: Yes, it is trivial. The only thing that is lost are local variable names and comments. You'll find tools that compact your whole project, loosing in the process all names. I believe you're conflating releasing a whole project with what I'm talking

Re: Javascript bytecode

2012-12-18 Thread H. S. Teoh
On Tue, Dec 18, 2012 at 07:08:04PM -0500, Andrei Alexandrescu wrote: On 12/18/12 3:35 PM, Walter Bright wrote: And no, I don't think D can be a systems language *and* eliminate all undefined and implementation defined behavior. The SafeD subset takes care of that. [...] Which right now

Re: Javascript bytecode

2012-12-18 Thread F i L
Without bytecode, the entire compiler becomes a dependency of a AOT/JIT compiled program.. not only does bytecode allow for faster on-site compilations, it also means half the compiler can be stripped away (so i'm told, i'm not claiming to be an expert here). I'm actually kinda surprised

Re: Javascript bytecode

2012-12-18 Thread Andrei Alexandrescu
On 12/18/12 7:29 PM, H. S. Teoh wrote: On Tue, Dec 18, 2012 at 07:08:04PM -0500, Andrei Alexandrescu wrote: On 12/18/12 3:35 PM, Walter Bright wrote: And no, I don't think D can be a systems language *and* eliminate all undefined and implementation defined behavior. The SafeD subset takes

Re: Javascript bytecode

2012-12-18 Thread Brad Roberts
On Tue, 18 Dec 2012, Andrei Alexandrescu wrote: On 12/18/12 7:29 PM, H. S. Teoh wrote: Which right now suffers from some silly things like writefln not being able to be made @safe, just because some obscure formatting parameter is un@safe. Which is exactly how @safe was designed, of

Re: Javascript bytecode

2012-12-18 Thread Jonathan M Davis
On Tuesday, December 18, 2012 17:57:50 Brad Roberts wrote: On Tue, 18 Dec 2012, Andrei Alexandrescu wrote: On 12/18/12 7:29 PM, H. S. Teoh wrote: Which right now suffers from some silly things like writefln not being able to be made @safe, just because some obscure formatting parameter is

Re: Javascript bytecode

2012-12-18 Thread deadalnix
On Wednesday, 19 December 2012 at 01:58:54 UTC, Jonathan M Davis wrote: Are the remaining issues at the compiler, runtime, or phobos levels (or what combination of the three)? Are the bugs filed? Quite a few are, but it wouldn't surprise me at all if there are quite a few which aren't. For

Re: Javascript bytecode

2012-12-18 Thread Brad Roberts
On 12/18/2012 5:58 PM, Jonathan M Davis wrote: On Tuesday, December 18, 2012 17:57:50 Brad Roberts wrote: On Tue, 18 Dec 2012, Andrei Alexandrescu wrote: On 12/18/12 7:29 PM, H. S. Teoh wrote: Which right now suffers from some silly things like writefln not being able to be made @safe, just

Re: Javascript bytecode

2012-12-18 Thread Rob T
On Wednesday, 19 December 2012 at 01:09:14 UTC, F i L wrote: Without bytecode, the entire compiler becomes a dependency of a AOT/JIT compiled program.. not only does bytecode allow for faster on-site compilations, it also means half the compiler can be stripped away (so i'm told, i'm not

Re: Javascript bytecode

2012-12-18 Thread Rob T
On Wednesday, 19 December 2012 at 01:58:54 UTC, Jonathan M Davis wrote: Such operations should be @system but are currently considered @safe. Who knows how many others we've missed beyond what's currently in bugzilla. - Jonathan M Davis Unfortunately fixing these will break existing code,

Re: Javascript bytecode

2012-12-18 Thread Walter Bright
On 12/18/2012 11:04 PM, Rob T wrote: I'm not claiming to be an expert in this area either, however it seems obvious that there are significant theoretical and practical advantages with using the bytecode concept. Evidently you've dismissed all of my posts in this thread on that topic :-)

Re: Javascript bytecode

2012-12-18 Thread Paulo Pinto
On Tuesday, 18 December 2012 at 18:11:37 UTC, Walter Bright wrote: An interesting datapoint in regards to bytecode is Javascript. Note that Javascript is not distributed in bytecode form. There is no Javascript VM. It is distributed as source code. Sometimes, that source code is compressed and