{"id":15047329,"url":"https://github.com/pachadotdev/cpp11blaze","last_synced_at":"2025-04-10T01:24:05.154Z","repository":{"id":255514188,"uuid":"851971634","full_name":"pachadotdev/cpp11blaze","owner":"pachadotdev","description":"VERY EARLY DEVELOPMENT!!! The idea is to pass matrices/vectors from R to C++, write pure C++/Blaze code for the computation, and then export the result back to R with the proper data structures. ","archived":false,"fork":false,"pushed_at":"2024-09-10T03:39:24.000Z","size":7798,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T08:13:38.610Z","etag":null,"topics":["blaze","cpp","cpp11","hacktoberfest","linear-algebra","rstats"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pachadotdev.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-04T02:07:17.000Z","updated_at":"2024-09-10T03:39:27.000Z","dependencies_parsed_at":"2024-09-10T06:27:44.015Z","dependency_job_id":null,"html_url":"https://github.com/pachadotdev/cpp11blaze","commit_stats":null,"previous_names":["pachadotdev/cpp11blaze"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp11blaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp11blaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp11blaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp11blaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pachadotdev","download_url":"https://codeload.github.com/pachadotdev/cpp11blaze/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138811,"owners_count":21053960,"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":["blaze","cpp","cpp11","hacktoberfest","linear-algebra","rstats"],"created_at":"2024-09-24T20:56:41.495Z","updated_at":"2025-04-10T01:24:05.127Z","avatar_url":"https://github.com/pachadotdev.png","language":"C++","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n   collapse = TRUE,\n   comment = \"#\u003e\",\n   fig.path = \"man/figures/README-\",\n   out.width = \"100%\"\n)\n```\n\n# cpp11blaze \u003cimg src=\"man/figures/logo.svg\" align=\"right\" height=\"139\" alt=\"\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/pachadotdev/cpp11blaze/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/pachadotdev/cpp11blaze/actions/workflows/R-CMD-check.yaml)\n[![codecov](https://codecov.io/gh/pachadotdev/cpp11blaze/graph/badge.svg?token=F2AaMydPfu)](https://app.codecov.io/gh/pachadotdev/cpp11blaze)\n[![BuyMeACoffee](https://raw.githubusercontent.com/pachadotdev/buymeacoffee-badges/main/bmc-donate-white.svg)](https://buymeacoffee.com/pacha)\n[![CRAN status](https://www.r-pkg.org/badges/version/cpp11blaze)](https://CRAN.R-project.org/package=cpp11blaze)\n\u003c!-- badges: end --\u003e\n\nVERY EARLY STAGE PACKAGE!!!\n\nThe goal of cpp11blaze is to provide a novel approach to use the [Blaze\nC++ library](https://bitbucket.org/blaze-lib/blaze/src/master/) by using the\nheader-only cpp11 R package and to simplify things for the end-user.\n\nThe idea is to pass matrices/vectors from R to C++, write pure C++/Blaze\ncode for the computation, and then export the result back to R with the proper\ndata structures.\n\nThis follows from the same goals as cpp11:\n\n* Enforcing copy-on-write semantics.\n* Improving the safety of using the R API from C++ code.\n* Using UTF-8 strings everywhere.\n* Applying newer C++11 features.\n* Having a more straightforward, simpler implementation.\n* Faster compilation time with lower memory requirements.\n* Growing vectors more efficiently.\n\nIf this software is useful to you, please consider donating on\n[Buy Me A Coffee](https://buymeacoffee.com/pacha). All donations will\nbe used to continue improving `cpp11blaze`.\n\n## Installation\n\nYou can install the development version of cpp11blaze from GitHub:\n\n``` r\nremotes::install_github(\"pachadotdev/cpp11blaze\")\n```\n\n## Examples\n\nI have provided a package template for RStudio that also works with VS Code.\n\nThe idea of this package is to be naive and simple (like me).\n\nFrom RStudio/VSCode create a new project and run:\n\n```r\ncpp11blaze::pkg_template()\n```\n\nThen follow the instructions from the README.\n\nThe vignettes contains detailed examples that I use to test `cpp11blaze`,\nthese include Ordinary Least Squares.\n\n# Linear Algebra Libraries\n\nBlaze supports OpenBLAS, Intel MKL, and the Accelerate framework (Mac). You\ncan install OpenBLAS on Debian-based systems with:\n\n```sh\nsudo apt-get install libopenblas-dev\n```\n\nYou can also use other commands for your specific operating system.\n\nTo verify that R is using OpenBLAS, you can run `sessionInfo()` after restarting\nR to check the BLAS/LAPACK libraries in use:\n\n```r\nMatrix products: default\nBLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 \nLAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0\n```\n","funding_links":["https://buymeacoffee.com/pacha"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fcpp11blaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpachadotdev%2Fcpp11blaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fcpp11blaze/lists"}