luke5542 / languagecomparison Goto Github PK
View Code? Open in Web Editor NEWA comparison of various programming languages for similar problems to demonstrate the syntactic and run-time differences.
A comparison of various programming languages for similar problems to demonstrate the syntactic and run-time differences.
It would be useful to add in several other popular languages to the benchmarks (not limited to):
Possibly missing shebang.
This makes it easier for examples like Rust, Go, and D where they can benefit from using build tools such as cargo
.
Will also make it cleaner for adding examples of different algorithms in the future.
Requiring everyone to download 50 separate runtimes in order to run the tests is a bit funky. Using Docker, you could download a standard execution environment for each language, and execute the benchmark within, with no performance overhead.
Only some of the languages, like Python, have this correctly working. It needs to be fixed for all of the other languages as well.
Should probably make sure that the examples validate all the inputs (more useful with timing now done inside the examples).
Change each example to measure time taken from within the code to minimise the impact of overheads, especially for setup in scripting examples.
Right now it's pretty difficult to distinguish between the results over multiple runs of the benchmarks. All the languages at sub-one-second get mashed together and it's not really possible to compare them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.