← Back to team overview

leaningtech-dev team mailing list archive

[Bug 1284811] [NEW] Huge output files

 

Public bug reported:

For your example program dom1 that is compiled with :
clang++ -O3 -target duetto dom1.cpp -o test1.js

I got from 419 bytes of original code 2.03 MB of compiled javascript.
That seems to me a bug.

It looks like that the standard library code is included in the output.
It should be posible to get rid of it by using static analysis and dead
code elemination.

** Affects: duetto
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Duetto.
https://bugs.launchpad.net/bugs/1284811

Title:
  Huge output files

Status in Duetto: C++ for the Web:
  New

Bug description:
  For your example program dom1 that is compiled with :
  clang++ -O3 -target duetto dom1.cpp -o test1.js

  I got from 419 bytes of original code 2.03 MB of compiled javascript.
  That seems to me a bug.

  It looks like that the standard library code is included in the
  output. It should be posible to get rid of it by using static analysis
  and dead code elemination.

To manage notifications about this bug go to:
https://bugs.launchpad.net/duetto/+bug/1284811/+subscriptions


Follow ups

References