Hi Peter,

On Wed, 16 Aug 2017 07:32:33 -0700 (PDT)
raxim <[email protected]> wrote:

> I thought the manual debugging and -g options makes some sort of readable 
> code.
> 

They don't as far as I know. It is still non-idiomatic JS code but with some
instructions to make debugging the original C++ code easier.

> As my aim was not not create and code codecs in javascript, just fix source 
> code in javascript which can be tracked back to the original c++ code and 
> c++ source code can be automatically modified according to that, human 
> readability might be issue in restricted way.
>

It is going to be an issue.
 
> I don't want to replace any c++, but if the development can be speed up 
> with a fancy layer it would be a big deal, as you might be 90% confident 
> what you change in javascript can work under c++. The big benefit here 
> would be to be able track issues with chrome profiler and debugger, and fix.
> 

That is not really possible with emscripten.

> There are plenty of project where the development can be improved 
> dramatically with this technic.
> 

Possibly, but it's not really possible with the current tools.

> That's a certain need i think, even the c++ statically typed language or 
> not. Some set of rules needs to be implemented, reading about asm.js,
> but it can be improved in a certain way to reach the goal. (I'm not saying 
> that it needs to be achieved as it is, it can be achieved with tricks, 
> workable solutions in a present ecosystem also) Let's think about it.:)

You can try implementing something like that yourself - I personally am not
going to think about it a lot because it doesn't seem a feasible or promising
avenue for the near future.

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://www.shlomifish.org/humour/Summerschool-at-the-NSA/

Aesop originally wanted to write his fable as “The Hare and Windows Update”
instead of “The Hare and the Tortoise” but could not figure out how the hare
will ever lose to Windows Update, even despite him not taking the race
seriously.
    — http://www.shlomifish.org/humour/bits/facts/Windows-Update/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to