Thundergnat

Joined 24 August 2022
→‎Language Stats:: Update stats
m (→‎Language Stats:: is there an echo in here?)
(→‎Language Stats:: Update stats)
Line 52:
 
{|class="wikitable sortable"
|+ As of 2022-02-1320
!Language!!Task<br>Count!!Avg. #<br>Lines / Entry!!Avg. #<br>Characters!!Avg. %<br>White space!!Avg. %<br>Alphanumerics!!Avg. %Non<br>Alphanumerics!!Avg. %<br>Non-ASCII!!Syntax<br>highlighting
|-
||Phix||15071512||53||16951705||32.6974 %||78.3537 %||21.6563 %||0.03 %||Phix html5 csharp cphix r phix javascript csharp c
|-
||Wren||14991505||55||15781577||31.5658 %||75.73 %||24.27 %||0.1 %||ecmascript c go javascript C foo bar xmlpython bash pythonbar baz xml
|-
||Julia||14791483||33||976975||27.82 %||77.1 %||22.9 %||0.27 %||julia Julia python ruby html5 lua htmlruby cpp html xml lua
|-
||Raku||14611466||30||885883||28.8786 %||69.31 %||30.69 %||0.57 %||perl6 c C cXML shell xmlbash html XML bashxml
|-
||Go||14551459||77||18211818||34.4243 %||75.27 %||24.73 %||0.11 %||go Go html bashxml c xmlbash thrift proto html5
|-
||Perl||14281433||34||920918||27.0403 %||68.18 %||31.82 %||0.1 %||perl Perl bash Shell html5 latex c latex
|-
||Nim||1398||48||1326||24.65 %||75.52 %||24.48 %||1.12 %||Nim nim python Python ruby c C Nimrodc $1 Nimrod xml
|-
||Python||13431348||71||19961992||30.72 %||75.4746 %||24.5354 %||0.04 %||python Python html5 bash html5c cmd cebnf python3Shell xml ebnfpythong Shellpython3
|-
||C||11931197||78||18411837||28.6465 %||72.5655 %||27.4445 %||0.01 %||c C cpp bash XML go Shell perlsh d html5 shgo Assembly make dperl
|-
||REXX||1144||55||3358||40.33 %||68.44 %||31.56 %||8.48 %||rexx REXX Rexx cobol sh
|-
||Kotlin||1131||47||1363||33.21 %||77.62 %||22.38 %||0.04 %||scala kotlin Kotlin C c javascheme xml HTML5 html5java Groovy groovy scheme xmlhtml5
|-
||Java||1124||66||2062||33.41 %||78.56 %||21.44 %||0.01 %||java java5 Java Java5 c xml bash xml html5 foo make cmd Java8 bar shell java 12 shellJava8 cmd
|-
||HaskellJ||11101120||4427||1347747||2826.3479 %||7669.9256 %||2330.0844 %||06.0837 %||haskellj HaskellJ bash textsh foo %s c bnf html5 shbaz SNUSP xml make bar C
|-
||JHaskell||11091112||2644||7451346||2628.8233 %||6976.4991 %||3023.5109 %||60.4508 %||jhaskell JHaskell bash sh c foo %s xml html5 makesh bnftext C bar SNUSP bazc
|-
||Mathematica||1106||11||409||17.52 %||70.72 %||29.28 %||0.04 %||Mathematica mathematica foo bazbarf "~~ x~~" bar barfbaz sh bar
|-
||Racket||1090||33||1117||26.47 %||75.05 %||24.95 %||0.29 %||racket Racket scheme bashC xmlcmd bash html5 C cmdxml
|-
||Ruby||1087||32||824||26.23 %||76.49 %||23.51 %||0.06 %||ruby Ruby bash html5 c foo baz tclrust bar rusttcl
|-
||C++||10701073||73||19901986||29.23 %||72.68 %||27.32 %||0.02 %||cpp Cpp C++ c CPP c++ sh html5 makeC d asm cmake textmake bash dcmake Ctext
|-
||zkl||1011||19||688||17.98 %||69.69 %||30.31 %||0.03 %||zkl c bash r csharp html5
|-
||FreeBASIC||1003||46||1204||30.62 %||82.33 %||17.67 %||0.03 %||freebasic FreeBASIC FreeBasic qbasic basic Freebasic c zxbasic
|}
 
 
<div style="padding:1em;background:#eeeeff;"><h3>Older commentary</h3>
Second pass through after a lot of minor patches to the site and custom syntax highlighting filtering added. Should be a lot <strike>more accurate</strike> less inaccurate now. Numbers probably still don't ''mean'' anything, but they aren't quite as large outright whoppers. J numbers are still way overstated due to the very common decision to just include the output inside the language tags rather than in a separate output section. Not really sure what to do about it (if anything.) I '''''really''''' don't want to take on trying to untangle that mess. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 21:29, 13 February 2022 (UTC)
 
 
<div style="padding:1em;background:#eeeeff;"><h3>Older commentary</h3>
Some observations: Phix numbers are completely bogus due to the custom syntax highlighting code polluting every entry. Eventually I'll look into filtering. This is a very preliminary first whack at it.
I expected Raku to have a higher percent of non-ASCII characters and was very surprised by J and REXX having so much. On closer investigation, J and REXX entries make heavy use of box line drawing characters... which aren't ASCII. Syntax highlighting directives are all over the place. Case doesn't matter but spelling nominally does. Though, to be fair, most of the syntax highlighting are very minor variations, so getting it wrong probably doesn't change much. There are a whole bunch of obvious typos in there too though. Sigh. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]), 08 February
10,327

edits