Home | Languages | Data Structures/Algorithms | Analysis | About Me |
Languages
If you want to write fast code, you must pick an efficient language. It might be obvious to you that not every language is created equal. What you might not yet know is that while one language may be the best at a particular task, it doesn't mean that it's the best at every task. The language references listed on this page doesn't mean that those languages are the best at everything. However, they are are very good at most things.
Based on the current rankings at The Computer Language Benchmarks Game, we can see that C++, C, Rust, ADA and Fortran are the five fastest languages on average. If you dig a bit deeper, you can see that in certain tasks, other languages parallel those in speed, so it's still your responsibility to pick the language appropriate for the task. Below I've listed the best reference material for C and C++, Rust and Fortran. I've chosen to omit Ada in favor of Fortran because Fortran is generally more suited for scientific, engineering and mathematical applications.
cppreference is a wiki-style reference for the C and C++ languages. It provides documentation for all of the standard revisions of those languages, from C89 to C17 for C and C++98 to C++20 for C++. It is available in English, Arabic, Czech, German, French, Italian, Japanese, Korean, Polish, Portuguese, Russian, Turkish and Mandarin. It covers the concepts and specifications of the C and C++ languages, and their standard libraries. It is particularly excellent for its coverage of the C++ standard template library and algorithms library.
Tips for use:
The Rust website is the official repository of the Rust language's documentation, compiler binaries, and community portal. Like cppreference, it is also available in other languages besides English, including German, Spanish, French, Indonesia, Italian, Japanese, Korean, Polish, Portuguese, Russian, Swedish, Vietnamese and Mandarin.
The primary means of communication with the developers and other users are via irc (internet relay chat) on Mozilla's irc server. There are a broad variety of channels for different topics, and international channels. Additionally, there are discussion forums available, a YouTube channel for presentations and a listing of the worldwide user groups.
The documentation includes guides to learning Rust, references and project policies. The learning guides include the Rust Programming Language book, a collection of Rust examples on various topics that can be run in browsers, a collection of other resources for learning Rust, and an FAQ. The references include the Standard Library API Reference, documentation for rust programs and libraries (called crates) published on Rust's package repository at crates.io, a guide for using Cargo (Rust's package manager), an index of compiler errors, and release notes.
Tips for use:
The Fortran 90 reference links to a summary of the language, the language features, and the standards for FORTRAN 77, Fortran 95, Fortran 2003 and Fotran 2008, and provides resources for best practices, examples demonstrating how to write equivalent Python programs in Fortran, an FAQ, and a list of common mistakes programmers make in Fortran (gotchas).
The best practices includes a style guide which covers:
Tips for use:
Home | Languages | Data Structures/Algorithms | Analysis | About Me |