Rosetta Code/Rank languages by number of users: Difference between revisions

Content added Content deleted
m (→‎{{header|Perl 6}}: Update output)
Line 171: Line 171:
drop s
drop s
gsort -users lang
gsort -users lang
list if users>=100
list in f/50
compress
save rc_users, replace</lang>
save rc_users, replace</lang>


'''Output'''
'''Output'''


<pre>
<pre> +---------------------+
+----------------------------+
| lang users |
| lang users |
|---------------------|
|----------------------------|
1. | C 373 |
2. | C++ 261 |
1. | C 379 |
3. | Java 257 |
2. | Java 268 |
4. | Python 243 |
3. | C++ 266 |
5. | JavaScript 228 |
4. | Python 251 |
5. | JavaScript 233 |
|---------------------|
|----------------------------|
6. | PHP 163 |
7. | Perl 162 |
6. | Perl 166 |
8. | SQL 131 |
7. | PHP 165 |
9. | UNIX Shell 120 |
8. | SQL 133 |
10. | BASIC 118 |
9. | UNIX Shell 124 |
10. | BASIC 118 |
|---------------------|
|----------------------------|
11. | C sharp 113 |
12. | Pascal 109 |
11. | C sharp 116 |
12. | Pascal 112 |
+---------------------+</pre>
13. | Haskell 99 |

14. | Ruby 93 |
15. | Fortran 74 |
|----------------------------|
16. | Visual Basic 67 |
17. | Prolog 62 |
18. | Scheme 61 |
19. | Common Lisp 58 |
20. | Lua 55 |
|----------------------------|
21. | AWK 53 |
22. | HTML 52 |
23. | Assembly 46 |
24. | Batch File 44 |
25. | Bash 42 |
|----------------------------|
26. | X86 Assembly 42 |
27. | Erlang 40 |
28. | Forth 38 |
29. | MATLAB 37 |
30. | Lisp 36 |
|----------------------------|
31. | J 35 |
32. | Visual Basic .NET 35 |
33. | Delphi 34 |
34. | APL 33 |
35. | Ada 33 |
|----------------------------|
36. | Brainf*** 33 |
37. | Objective-C 33 |
38. | Smalltalk 33 |
39. | Tcl 33 |
40. | R 32 |
|----------------------------|
41. | COBOL 31 |
42. | Go 30 |
43. | Perl 6 29 |
44. | Clojure 27 |
45. | Mathematica 27 |
|----------------------------|
46. | AutoHotkey 25 |
47. | REXX 24 |
48. | LaTeX 23 |
49. | CSS 22 |
50. | Emacs Lisp 22 |
+----------------------------+
</pre>


=={{header|zkl}}==
=={{header|zkl}}==