Skip to content

What is a "large" TypeScript implementation? #1757

Closed

Description

How big (in terms of unminified JavaScript output) is a "large" typescript application you know of?

Activity

  1. RyanCavanaugh commented on Jan 21, 2015

    @RyanCavanaugh
    Member
  2. jasonscharf commented on Jan 21, 2015

    @jasonscharf

    I work on a project that spits out about ~80k raw LOC unminified JS. Our unminified output (including JSDoc-style comments) is about 7.2MB of JavaScript.

    A quick count of semicolons across *.ts files yields about 42k results. This includes a few definition files, however, so it's a really rough count.

    We were early adopters of TypeScript, starting with 0.8.2, and while there have been some bumps along with the way with tooling, it's been incredibly successful for us so far. Today we're moving from 1.3 to 1.4 and everybody on the team just loves working with TS.

  3. sophiajt commented on Jan 21, 2015

    @sophiajt
    Contributor

    We announced a little while back that Microsoft Azure's portal is made with TypeScript. It's currently over a million lines of code (actually, last I heard, it's close to 1.2 million or so): http://blogs.msdn.com/b/typescript/archive/2014/10/22/typescript-and-the-road-to-2-0.aspx

  4. basarat commented on Jan 22, 2015

    @basarat
    Contributor

    We have around 40K lines of code in an angular app. 3.2 meg download minified.

  5. DanielRosenwasser commented on Jan 22, 2015

    @DanielRosenwasser
    Member

    Monaco is >200K of TypeScript - here you can see Johannes Rieken (@jrieken) discuss the team's experience in using the language.

    We also have a decently sized compiler in TypeScript, which, as the title of this issue calls for, is a TypeScript implementation. 😉

  6. paulmarshall commented on Feb 13, 2015

    @paulmarshall
    Author

    Looks like I'm working on the second largest TypeScript project on the planet !

  7. DanielRosenwasser commented on Feb 13, 2015

    @DanielRosenwasser
    Member

    Woah, great to hear you're getting some good use out of TypeScript! Would you care to shed some light on your project Paul Marshall (@paulmarshall)?

  8. Griffork commented on Mar 13, 2015

    @Griffork

    How do I find out how many LoC my visual studio web project has?

  9. basarat commented on Mar 13, 2015

    @basarat
    Contributor

    Griffork put it on github ;) https://github.com/github/linguist

    Update: Sorry, github doesn't give you lines

  10. Griffork commented on Mar 13, 2015

    @Griffork

    Also it's 'closed source' so I can't.

  11. NoelAbrahams commented on Mar 13, 2015

    @NoelAbrahams

    For an approximate count:

    • Find in all files
    • Enable regex
    • Add filter *.ts
    • Search for \n

    Should print Matching lines: xxx Matching files: xxx Total files searched: xxx

  12. paulmarshall commented on Sep 1, 2016

    @paulmarshall
    Author

    Sorry for the delay.

    Noel Abrahams (@NoelAbrahams) For an approximate count, "Matching lines: 278463 Matching files: 1271 Total files searched: 1273"

    Daniel Rosenwasser (@DanielRosenwasser) I'm part of a team developing a Lifetime Savings (Pensions to you and me) Administration application for use in the UK.

    So, looks like we're the second biggest TypeScript application on the planet (# 1 being Azure's portal)?

  13. RyanCavanaugh commented on Sep 1, 2016

    @RyanCavanaugh
    Member

    VS Code has about 300,000 lines. The race is on!

  14. alexzhaosheng commented on Sep 10, 2018

    @alexzhaosheng

    The unminified output of my project is about 5 MB, not very big. But I'm starting experience frequent Visual Studio crash problem.
    My Visual Studio (VS 2015) works fine when I'm working on the server side part (asp.net mvc), but when I work on the typescript part, it just crashes every 1~2 hours due to insufficient memory. I believe there are memory leaks somewhere.
    Anyone get the similar problem?

    Thanks in advanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionIssues which may not have code impact

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions