Rosetta Code mic drop

new topic     » topic index » view thread      » older message » newer message

Many have tried, many have failed, many that is bar one.

Rosetta Code is a wiki-based programming website with implementations of common algorithms and solutions to various programming problems in many different programming languages. Created in 2007, it has since grown (as of 16/01/2022) to a total of 1,492 tasks, some of which are trivial, and some fiendishly difficult. At last, one programming language now has submissions for all 100% of them, and it is one you have probably never heard of: Phix

Phix is a zero-dependency 31.5MB download (though Linux users will almost certainly want/need to install IUP), with extensive help files and over 1000 bundled demos (~100 of which are win32-only), which can recompile itself (naturally the full source code is included) in under 20 seconds. The only real downside is that most of the runtime is written using inline x86 assembly, so it won't run on (eg) arm devices.

While Phix is primarily a desktop programming language, with versions for Windows and Linux, it comes bundled with p2js which can transpile most programs to JavaScript so they can be run in a web browser. Naturally certain activities such as reading and writing disk files are not permitted in a web browser due to security considerations, however of those 1,492 tasks, 734 or 49% have been marked as js compatible, with just 82 or 6% marked as incompatible, and obviously the remaining 45% are as yet unclassified.

PS: I suspect a young whippersnapper by the name of Wren is hot on my heels, maybe only two or three months away...

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu