Skip to content

Haxe build code size comparison is unfair ^^ #10

@nadako

Description

@nadako

I was wondering how come Haxe output is that bigger than TS and I see it includes the typed array polyfills:

var js_html_compat_ArrayBuffer = function(a) {
which is quite some code and it brings runtime type checking code with itself, which is also not super small. Would be nice to compile without it and I think if you just use Haxe 4 RC 3 it will be gone.

Also, a lot of generated code comes from the method inlining which is not the case for TS/Dart, so I'm not sure if it even makes sense to have a code size metric here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions