Announcement

Collapse
No announcement yet.

Wine Is Approaching Six Million Lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • xinorom
    replied
    Originally posted by dacha View Post
    I am pretty sure the varying LOC figures, particularly the 3.0-3.4 MLOC, come from ignoring non-C files while Wine has a lot .h and .idl, and/or from ignoring blank lines and comments:
    The article does just say "lines" instead of "lines of code", so I guess it's kind of accurate. Although it doesn't seem like a particularly useful metric vs. LOC.

    Originally posted by dacha View Post
    github.com/AlDanial/cloc v 1.82 T=322.01 s (22.5 files/s, 22216.9 lines/s)
    322 seconds?! Are you running cloc on a toaster...?

    Leave a comment:


  • dacha
    replied
    I am pretty sure the varying LOC figures, particularly the 3.0-3.4 MLOC, come from ignoring non-C files while Wine has a lot .h and .idl, and/or from ignoring blank lines and comments:
    Code:
    $ cloc .
       11056 text files.
       10759 unique files.                                          
        3818 files ignored.
    
    github.com/AlDanial/cloc v 1.82  T=322.01 s (22.5 files/s, 22216.9 lines/s)
    ---------------------------------------------------------------------------------------
    Language                             files          blank        comment           code
    ---------------------------------------------------------------------------------------
    C                                     3474         622854         338285        3472435
    C/C++ Header                          1313         141562          71052         853685
    PO File                                 48         182352         192366         442593
    make                                  1230           6973           2487         405819
    IDL                                    420          23689              4         134872
    SVG                                    108            204             81          88369
    Windows Module Definition              177            954            176          26206
    Bourne Shell                            10           2291           2221          25197
    Perl                                    44           3417           2304          19139
    yacc                                    15           2000            996          16357
    Windows Resource File                  330           2103           6652          11161
    JavaScript                              19           1526            367           9118
    Objective C                              8           1432           1112           6815
    Windows Message File                     3              7             15           4534
    lex                                      9            628           1104           4414
    m4                                       2            274            226           3992
    Visual Basic                             5            606             99           3410
    DOS Batch                                2            217            297           3128
    Python                                   1            600            529           1905
    Expect                                   2             56              0           1768
    C++                                      2            225             48           1168
    HTML                                     7            188              7            834
    Java                                     1            111             31            749
    XML                                      4             15             17            485
    XSD                                      1            188             15            388
    Forth                                    1             55              0            135
    Verilog-SystemVerilog                    1             59              0            116
    awk                                      1              7              4             69
    XSLT                                     1              3              0             23
    C#                                       1              4             20             17
    ---------------------------------------------------------------------------------------
    SUM:                                  7240         994600         620515        5538901
    ---------------------------------------------------------------------------------------

    Leave a comment:


  • xinorom
    replied
    Originally posted by starshipeleven View Post
    Is it maybe looking at the code in dev branches and other stuff like that?
    Maybe, but counting that wouldn't make much sense.

    I think a more likely case is that Michael is too lazy to measure properly, so just made a low-effort article out of the first (wrong) figure he came across.

    Leave a comment:


  • lowflyer
    replied
    interestingly, the openhub lines of code count is significantly different from the GitStats with only 3.4 MLoC.

    Leave a comment:


  • Xaero_Vincent
    replied
    The only thing I want from Wine are games working well.

    Productivity software is covered quite nicely for my needs with Linux native alternatives. GIMP w/ Plugins and LibreOffice are overkill for my needs even. Tax preparation software was my main issue before (since I wont trust Wine to run something critical like TaxAct or Turbotax) but now I just use Credit Karma online tax preparation.

    Leave a comment:


  • Michael_S
    replied
    Originally posted by starshipeleven View Post
    I personally hope we will not need to run windows software at all (nevermind so ancient one) by then.
    In a better world.

    Leave a comment:


  • starshipeleven
    replied
    Originally posted by Michael_S View Post
    In twenty years, Wine will be a better way to run software for Windows 2000, XP, Vista, 7, 8, 8.1, and 10 than the originals ever were.
    I personally hope we will not need to run windows software at all (nevermind so ancient one) by then.

    Leave a comment:


  • Michael_S
    replied
    In twenty years, Wine will be a better way to run software for Windows 2000, XP, Vista, 7, 8, 8.1, and 10 than the originals ever were.

    Leave a comment:


  • Mario Junior
    replied
    Bloat

    Leave a comment:


  • starshipeleven
    replied
    Originally posted by xinorom View Post
    What's up with all these wildly inaccurate SLOC counts being posted recently? I just ran several counters on the wine repo and it's just slightly over 3,000,000 lines. The systemd one a few days back was completely wrong too.
    Is it maybe looking at the code in dev branches and other stuff like that?

    Leave a comment:

Working...
X