{"id":17169479,"url":"https://github.com/johnmurray/cpp-vs","last_synced_at":"2025-04-10T22:18:48.132Z","repository":{"id":32373124,"uuid":"132382497","full_name":"JohnMurray/cpp-vs","owner":"JohnMurray","description":"An educational site for learning C++","archived":false,"fork":false,"pushed_at":"2023-03-28T15:37:54.000Z","size":5117,"stargazers_count":10,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T22:18:42.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.cpp-vs.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnMurray.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-06T22:59:43.000Z","updated_at":"2023-03-28T15:36:50.000Z","dependencies_parsed_at":"2025-01-29T23:41:31.782Z","dependency_job_id":"33e45e1a-4a71-4245-b25d-bed15c86f221","html_url":"https://github.com/JohnMurray/cpp-vs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnMurray%2Fcpp-vs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnMurray%2Fcpp-vs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnMurray%2Fcpp-vs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnMurray%2Fcpp-vs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnMurray","download_url":"https://codeload.github.com/JohnMurray/cpp-vs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248305897,"owners_count":21081581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:26:21.774Z","updated_at":"2025-04-10T22:18:48.102Z","avatar_url":"https://github.com/JohnMurray.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg \n      src=\"https://raw.githubusercontent.com/JohnMurray/cpp-vs/master/logo/logo.png\" \n      width=\"300px\"\n      alt=\"cpp-vs\"\u003e\n\u003c/p\u003e\n\nThis is an experiment/idea I had to see if people would find it useful, in their\nendeavour to learn C++, to compare similar examples to a language they may already\nknow. This does mean that this site is targeted toward those that are _not_ learning\nC++ as their first language.\n\nThis project generates the site/code for [cpp-vs](http://www.cpp-vs.com).All code samples are\nlicensed under the Apache V2 license, as is this site (see __Copyright \u0026 Licensing__ section\nbelow for full/exact details). If you whish to contribute\nadditional examples, fixes, etc. then please read the __Goals__ section below to\nmake sure we're all on the same page, then continue reading the __Contributing__\nsection for the juicy details.\n\n## Goals\n\nThis project has specific goals which should be kept in mind while adding/editing\ncode examples. These goals are achieved by comparing C++ to other, popular,\nprogramming languages and are simply:\n\n  + Showcase the comparative ease in which tasks can be accomplished when compared\n    with language X.\n  + Introduce non-C++ programmers to modern C++ code/techniques, comparing a language\n    they may know.\n  + Introduce novice programmers to C++ by comparing it to more popular (better known)\n    languages.\n\nThe theme/spirit of these goals is to both introduce more people to C++ while also\nshowcasing the good/better parts of the language/ecosystem.\n\nWhat this project goes __not__ aim to do:\n\n  + Show the _superiority_ of C++\n  + Bash other languages\n  + Be a showcase for clever hacks or terse solutions\n  + Scare people away from the language with hard to read/understand code examples\n\n\n## Contributing\n\nPlease read the __Goals__ section of this page before continuing on.\n\nIf you would like to contribute or have an idea you would like to see, please open an\nissue so we can discuss. Please use the following template for your issues\n```\nTITLE: C++ VS LANGUAGE - PROBLEM or CODE-EXAMPLE\n\nPlease write a few sentences describing what you'd like added.\n\nWhy is this a good problem/example for the site? How does it meet the goals?\n\nAre you willing to provide code, or is this a request?\n```\n\nIf you see an issue you'd like implemented, please using the voting features \n(thumbs up/down emojis) on the issues and avoid the `+1` comments please.\n\n## Building the Site\n\nYou can build changes and view them via a docker-based build. This does mean\nthat you need docker installed. I've only tested this with the latest version\nof docker (version `18.0.6-ce` at time of writing), but I'm not doing much fancy,\nso older versions will likely work as well. To build and run locally, run:\n\n```bash\nmake docker-serve\n\n# or just simply\n\nmake\n```\n\nIf you make changes and would like to see them reflected, simply re-run this command.\nAfter running, you should be able to navigate to `http://localhost:1234/` to see the\nsite.\n\nTo stop all running instances, you can run:\n\n```bash\nmake docker-stop\n```\n\n\n## Building Without Docker\n\nIn order to build the site without Docker, you will need to have the following\ndependencies installed and likely be running on a Linux environment (at least that\nis the only environment I've tested with).\n\n+ [Less Compiler](http://lesscss.org/)\n+ [CTemplate](https://github.com/rockdreamer/ctemplate)\n+ [Boost Filesystem][b_fs] support (and thus [Boost System][b_sy] as a transitive dep)\n+ [yaml-cpp](https://github.com/jbeder/yaml-cpp) (tested with v0.5)\n+ Compiler with C++ 17 support (mostly cause I haven't tested with anything else)\n\nYou can generate the site by running `make compile \u0026\u0026 make generate`.\n\n\n## Copyright \u0026 Licensing\n\nAll rights are reserved for the image/logo assets associated with cpp-vs, including all files\nlocated within the `logos` and `__released_site/assets` folders (relative to project root).\n\nAll other files in this repository are licensed under the Apache V2 license. Full license\ndetails located within the __LICENSE__ file.\n\n\n  [b_fs]: https://www.boost.org/doc/libs/1_67_0/libs/filesystem/doc/index.htm\n  [b_sy]: https://www.boost.org/doc/libs/1_67_0/libs/system/doc/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmurray%2Fcpp-vs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnmurray%2Fcpp-vs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmurray%2Fcpp-vs/lists"}